This block executes a command with the std::system() command if a value from a f32vector with a given identifier (symbol) is in a given range. Each index of a vector refers to a identifier. The execution of a command can be blocked for block_time milliseconds after the last execution.
More...
#include <trigger_command.h>
|
static sptr | make (std::string command, std::vector< std::string > identifiers, std::vector< float > vals_min, std::vector< float > vals_max, int block_time) |
| Return a shared_ptr to a new instance of radar::trigger_command.
|
|
This block executes a command with the std::system() command if a value from a f32vector with a given identifier (symbol) is in a given range. Each index of a vector refers to a identifier. The execution of a command can be blocked for block_time milliseconds after the last execution.
- Parameters
-
command | Command string |
identifiers | Identifiers (symbols) as vector of strings |
vals_min | Minimum values as f32vector |
vals_max | Maximum values as f32vector |
block_time | Block executing commands for block_time milliseconds |
◆ sptr
◆ make()
static sptr gr::radar::trigger_command::make |
( |
std::string |
command, |
|
|
std::vector< std::string > |
identifiers, |
|
|
std::vector< float > |
vals_min, |
|
|
std::vector< float > |
vals_max, |
|
|
int |
block_time |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: