![]() |
ros2_control - humble
|
#include <hardware_info.hpp>
Public Attributes | |
| std::string | name |
| Name of the component. | |
| std::string | type |
| Type of the component: sensor, joint, or GPIO. | |
| std::vector< InterfaceInfo > | command_interfaces |
| std::vector< InterfaceInfo > | state_interfaces |
| std::unordered_map< std::string, std::string > | parameters |
| (Optional) Key-value pairs of component parameters, e.g. min/max values or serial number. | |
This structure stores information about components defined for a specific hardware in robot's URDF.
| std::vector<InterfaceInfo> hardware_interface::ComponentInfo::command_interfaces |
Name of the command interfaces that can be set, e.g. "position", "velocity", etc. Used by joints and GPIOs.
| std::vector<InterfaceInfo> hardware_interface::ComponentInfo::state_interfaces |
Name of the state interfaces that can be read, e.g. "position", "velocity", etc. Used by joints, sensors and GPIOs.