This class is the parameters parser for class FrameTransformSet_nwc_ros2. More...
Classes | |
struct | parser_version_type |
Public Member Functions | |
FrameTransformSet_nwc_ros2_ParamsParser () | |
~FrameTransformSet_nwc_ros2_ParamsParser () override=default | |
bool | parseParams (const yarp::os::Searchable &config) override |
Parse the DeviceDriver parameters. | |
std::string | getDeviceClassName () const override |
Get the name of the DeviceDriver class. | |
std::string | getDeviceName () const override |
Get the name of the device (i.e. | |
std::string | getDocumentationOfDeviceParams () const override |
Get the documentation of the DeviceDriver's parameters. | |
std::vector< std::string > | getListOfParams () const override |
Return a list of all params used by the device. | |
![]() | |
virtual | ~IDeviceDriverParams () |
Public Attributes | |
const std::string | m_device_classname = {"FrameTransformSet_nwc_ros2"} |
const std::string | m_device_name = {"frameTransformSet_nwc_ros2"} |
bool | m_parser_is_strict = false |
const parser_version_type | m_parser_version = {} |
const std::string | m_GENERAL_refresh_interval_defaultValue = {"0.1"} |
const std::string | m_GENERAL_period_defaultValue = {"0.01"} |
const std::string | m_GENERAL_asynch_pub_defaultValue = {"1"} |
const std::string | m_ROS2_ft_node_defaultValue = {"tfNodeSet"} |
const std::string | m_ROS2_ft_topic_defaultValue = {"/tf"} |
const std::string | m_ROS2_ft_topic_static_defaultValue = {"/tf_static"} |
double | m_GENERAL_refresh_interval = {0.1} |
double | m_GENERAL_period = {0.01} |
int | m_GENERAL_asynch_pub = {1} |
std::string | m_ROS2_ft_node = {"tfNodeSet"} |
std::string | m_ROS2_ft_topic = {"/tf"} |
std::string | m_ROS2_ft_topic_static = {"/tf_static"} |
This class is the parameters parser for class FrameTransformSet_nwc_ros2.
These are the used parameters:
Group name | Parameter name | Type | Units | Default Value | Required | Description | Notes |
---|---|---|---|---|---|---|---|
GENERAL | refresh_interval | double | seconds | 0.1 | 0 | The time interval outside which timed ft will be deleted | - |
GENERAL | period | double | seconds | 0.01 | 0 | The PeriodicThread period in seconds | - |
GENERAL | asynch_pub | int | - | 1 | 0 | If 1, the fts will be published not only every "period" seconds but also when set functions are called | - |
ROS2 | ft_node | string | - | tfNodeSet | 0 | The name of the ROS2 node | - |
ROS2 | ft_topic | string | - | /tf | 0 | The name of the ROS2 topic from which fts will be received | - |
ROS2 | ft_topic_static | string | - | /tf_static | 0 | The name of the ROS2 topic from which static fts will be received | - |
The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):
Definition at line 46 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
FrameTransformSet_nwc_ros2_ParamsParser::FrameTransformSet_nwc_ros2_ParamsParser | ( | ) |
Definition at line 23 of file FrameTransformSet_nwc_ros2_ParamsParser.cpp.
|
overridedefault |
|
inlineoverridevirtual |
Get the name of the DeviceDriver class.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 78 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
|
inlineoverridevirtual |
Get the name of the device (i.e.
the plugin name).
Implements yarp::dev::IDeviceDriverParams.
Definition at line 79 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
|
overridevirtual |
Get the documentation of the DeviceDriver's parameters.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 176 of file FrameTransformSet_nwc_ros2_ParamsParser.cpp.
|
overridevirtual |
Return a list of all params used by the device.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 28 of file FrameTransformSet_nwc_ros2_ParamsParser.cpp.
|
overridevirtual |
Parse the DeviceDriver parameters.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 41 of file FrameTransformSet_nwc_ros2_ParamsParser.cpp.
const std::string FrameTransformSet_nwc_ros2_ParamsParser::m_device_classname = {"FrameTransformSet_nwc_ros2"} |
Definition at line 53 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
const std::string FrameTransformSet_nwc_ros2_ParamsParser::m_device_name = {"frameTransformSet_nwc_ros2"} |
Definition at line 54 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
int FrameTransformSet_nwc_ros2_ParamsParser::m_GENERAL_asynch_pub = {1} |
Definition at line 72 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
const std::string FrameTransformSet_nwc_ros2_ParamsParser::m_GENERAL_asynch_pub_defaultValue = {"1"} |
Definition at line 65 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
double FrameTransformSet_nwc_ros2_ParamsParser::m_GENERAL_period = {0.01} |
Definition at line 71 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
const std::string FrameTransformSet_nwc_ros2_ParamsParser::m_GENERAL_period_defaultValue = {"0.01"} |
Definition at line 64 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
double FrameTransformSet_nwc_ros2_ParamsParser::m_GENERAL_refresh_interval = {0.1} |
Definition at line 70 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
const std::string FrameTransformSet_nwc_ros2_ParamsParser::m_GENERAL_refresh_interval_defaultValue = {"0.1"} |
Definition at line 63 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
bool FrameTransformSet_nwc_ros2_ParamsParser::m_parser_is_strict = false |
Definition at line 55 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
const parser_version_type FrameTransformSet_nwc_ros2_ParamsParser::m_parser_version = {} |
Definition at line 61 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
std::string FrameTransformSet_nwc_ros2_ParamsParser::m_ROS2_ft_node = {"tfNodeSet"} |
Definition at line 73 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
const std::string FrameTransformSet_nwc_ros2_ParamsParser::m_ROS2_ft_node_defaultValue = {"tfNodeSet"} |
Definition at line 66 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
std::string FrameTransformSet_nwc_ros2_ParamsParser::m_ROS2_ft_topic = {"/tf"} |
Definition at line 74 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
const std::string FrameTransformSet_nwc_ros2_ParamsParser::m_ROS2_ft_topic_defaultValue = {"/tf"} |
Definition at line 67 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
std::string FrameTransformSet_nwc_ros2_ParamsParser::m_ROS2_ft_topic_static = {"/tf_static"} |
Definition at line 75 of file FrameTransformSet_nwc_ros2_ParamsParser.h.
const std::string FrameTransformSet_nwc_ros2_ParamsParser::m_ROS2_ft_topic_static_defaultValue = {"/tf_static"} |
Definition at line 68 of file FrameTransformSet_nwc_ros2_ParamsParser.h.