|
hardware_interface::CallbackReturn | on_init (const hardware_interface::HardwareInfo &info) override |
| Initialization of the hardware interface from data parsed from the robot's URDF.
|
|
hardware_interface::CallbackReturn | on_configure (const rclcpp_lifecycle::State &previous_state) override |
|
hardware_interface::CallbackReturn | on_activate (const rclcpp_lifecycle::State &previous_state) override |
|
hardware_interface::CallbackReturn | on_deactivate (const rclcpp_lifecycle::State &previous_state) override |
|
hardware_interface::CallbackReturn | on_shutdown (const rclcpp_lifecycle::State &previous_state) override |
|
hardware_interface::return_type | read (const rclcpp::Time &time, const rclcpp::Duration &period) override |
| Read the current state values from the actuator.
|
|
| SensorInterface (const SensorInterface &other)=delete |
| SensorInterface copy constructor is actively deleted.
|
|
| SensorInterface (SensorInterface &&other)=delete |
|
CallbackReturn | init (const HardwareInfo &hardware_info, rclcpp::Logger logger, rclcpp::node_interfaces::NodeClockInterface::SharedPtr clock_interface) |
|
CallbackReturn | init (const HardwareInfo &hardware_info, rclcpp::Logger logger, rclcpp::Clock::SharedPtr clock) |
|
virtual std::vector< StateInterface > | export_state_interfaces () |
| Exports all state interfaces for this hardware interface.
|
|
virtual std::vector< hardware_interface::InterfaceDescription > | export_unlisted_state_interface_descriptions () |
|
virtual std::vector< StateInterface::ConstSharedPtr > | on_export_state_interfaces () |
|
HardwareComponentCycleStatus | trigger_read (const rclcpp::Time &time, const rclcpp::Duration &period) |
| Triggers the read method synchronously or asynchronously depending on the HardwareInfo.
|
|
const std::string & | get_name () const |
| Get name of the actuator hardware.
|
|
const std::string & | get_group_name () const |
| Get name of the actuator hardware group to which it belongs to.
|
|
const rclcpp_lifecycle::State & | get_lifecycle_state () const |
| Get life-cycle state of the actuator hardware.
|
|
void | set_lifecycle_state (const rclcpp_lifecycle::State &new_state) |
| Set life-cycle state of the actuator hardware.
|
|
template<typename T > |
void | set_state (const std::string &interface_name, const T &value) |
|
template<typename T = double> |
T | get_state (const std::string &interface_name) const |
|
rclcpp::Logger | get_logger () const |
| Get the logger of the SensorInterface.
|
|
rclcpp::Clock::SharedPtr | get_clock () const |
| Get the clock of the SensorInterface.
|
|
const HardwareInfo & | get_hardware_info () const |
| Get the hardware info of the SensorInterface.
|
|
void | enable_introspection (bool enable) |
| Enable or disable introspection of the sensor hardware.
|
|