mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00

Co-authored-by: Steffen Vogel <steffen.vogel@opal-rt.com> Signed-off-by: al3xa23 <140614263+al3xa23@users.noreply.github.com>
42 lines
830 B
Text
42 lines
830 B
Text
nodes = {
|
|
udp_node = {
|
|
type = "socket"
|
|
layer = "udp"
|
|
format = "protobuf"
|
|
|
|
in = {
|
|
address = "*:12000"
|
|
|
|
signals = {
|
|
count = 5 # expected incoming sample, send back from python client, repeats samples if values in signal is smaller
|
|
type = "float"
|
|
}
|
|
hooks = (
|
|
{
|
|
type = "print"
|
|
}
|
|
)
|
|
},
|
|
out = {
|
|
address = "127.0.0.1:12001"
|
|
}
|
|
}
|
|
signal = {
|
|
type = "signal"
|
|
|
|
signal = "mixed"
|
|
values = 5 # values per sample
|
|
limit = 3 # emit limited number of samples
|
|
}
|
|
}
|
|
|
|
paths = (
|
|
{
|
|
in = "signal"
|
|
out = "udp_node"
|
|
},
|
|
{
|
|
in = "udp_node"
|
|
}
|
|
|
|
)
|