Class robot_interfaces::SensorDriver

template<typename ObservationType, typename InfoType = None>
class SensorDriver

Base driver class from which all specific sensor drivers should derive.

Template Parameters:

ObservationType

Public Functions

inline virtual ~SensorDriver()
inline virtual InfoType get_sensor_info()

Return static information about the sensor.

This information is expected to be constructed during initialization and to not change later on.

virtual ObservationType get_observation() = 0

return the observation

Returns:

depends on the observation structure of the sensor being interacted with

inline virtual ~SensorDriver()
inline virtual InfoType get_sensor_info()

Return static information about the sensor.

This information is expected to be constructed during initialization and to not change later on.

virtual ObservationType get_observation() = 0

return the observation

Returns:

depends on the observation structure of the sensor being interacted with