mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Initial config file
Signed-off-by: pipeacosta <pipeacosta@gmail.com> Co-authored-by: al3xa23 <alexandra.bach@eonerc.rwth-aachen.de>
This commit is contained in:
parent
5185c25ba7
commit
5ed6094067
1 changed files with 42 additions and 0 deletions
42
etc/labs/lab19.conf
Normal file
42
etc/labs/lab19.conf
Normal file
|
@ -0,0 +1,42 @@
|
|||
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"
|
||||
}
|
||||
|
||||
)
|
Loading…
Add table
Reference in a new issue