15 #ifndef SEMANTIC_COMPONENTS__RANGE_SENSOR_HPP_
16 #define SEMANTIC_COMPONENTS__RANGE_SENSOR_HPP_
21 #include "semantic_components/semantic_component_interface.hpp"
22 #include "sensor_msgs/msg/range.hpp"
24 namespace semantic_components
38 float get_range()
const {
return state_interfaces_[0].get().get_value(); }
Definition: range_sensor.hpp:27
bool get_values_as_message(sensor_msgs::msg::Range &message) const
Return Range message with range in meters.
Definition: range_sensor.hpp:45
float get_range() const
Definition: range_sensor.hpp:38
Definition: semantic_component_interface.hpp:28