15 #ifndef HARDWARE_INTERFACE__SENSOR_INTERFACE_HPP_ 16 #define HARDWARE_INTERFACE__SENSOR_INTERFACE_HPP_ 22 #include "hardware_interface/handle.hpp" 23 #include "hardware_interface/hardware_info.hpp" 24 #include "hardware_interface/types/hardware_interface_return_values.hpp" 25 #include "hardware_interface/types/hardware_interface_status_values.hpp" 26 #include "hardware_interface/visibility_control.h" 64 virtual return_type
start() = 0;
70 virtual return_type
stop() = 0;
76 virtual std::string
get_name()
const = 0;
92 virtual return_type
read() = 0;
96 #endif // HARDWARE_INTERFACE__SENSOR_INTERFACE_HPP_ virtual std::string get_name() const =0
Get name of the sensor hardware.
virtual return_type stop()=0
Stop exchange data with the hardware.
virtual return_type configure(const HardwareInfo &sensor_info)=0
Configuration of the sensor from data parsed from the robot's URDF.
Definition: actuator.hpp:28
virtual std::vector< StateInterface > export_state_interfaces()=0
Exports all state interfaces for this sensor.
virtual return_type read()=0
Read the current state values from the sensor.
This structure stores information about hardware defined in a robot's URDF.
Definition: hardware_info.hpp:100
virtual status get_status() const =0
Get current state of the sensor hardware.
virtual return_type start()=0
Start exchange data with the hardware.
Definition: sensor_interface.hpp:34