15#ifndef SEMANTIC_COMPONENTS__RANGE_SENSOR_HPP_
16#define SEMANTIC_COMPONENTS__RANGE_SENSOR_HPP_
22#include "semantic_components/semantic_component_interface.hpp"
23#include "sensor_msgs/msg/range.hpp"
25namespace semantic_components
32 interface_names_.emplace_back(name_ +
"/" +
"range");
42 float get_range() {
return state_interfaces_[0].get().get_value(); }
Definition range_sensor.hpp:28
bool get_values_as_message(sensor_msgs::msg::Range &message)
Return Range message with range in meters.
Definition range_sensor.hpp:49
float get_range()
Definition range_sensor.hpp:42
Definition semantic_component_interface.hpp:28