mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
added short example / description of all available hooks
This commit is contained in:
parent
908f930b63
commit
4cf1b22783
1 changed files with 15 additions and 0 deletions
|
@ -164,5 +164,20 @@ paths = (
|
|||
|
||||
hook = [ "print", "decimate:10" ] # Same is true for hooks.
|
||||
# Multipe hook functions are executed in the order they are specified here.
|
||||
},
|
||||
{
|
||||
in = "socket_node",
|
||||
out = "file_node", # This path includes all available example hooks.
|
||||
|
||||
hook = [
|
||||
"ts", # Replace the timestamp of messages with the time of reception
|
||||
"skip_unchanged:0.1", # Skip messages whose values have not changed more than 0.1 from the previous message.
|
||||
"skip_first:10", # Skip all messages which have been received in the first 10 seconds
|
||||
"print", # Print all messages to stdout
|
||||
"decimate:2", # Only forward every 2nd message
|
||||
"convert:fixed", # Convert all values to fixed precission. Use 'float' to convert to floating point.
|
||||
"fir:0" # Apply finite impulse response filter to first value.
|
||||
# Coefficients are hard-coded in 'include/config.h'.
|
||||
]
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue