diff --git a/controller_interface/include/semantic_components/range_sensor.hpp b/controller_interface/include/semantic_components/range_sensor.hpp index bbb47649a7..d16b9c2dc9 100644 --- a/controller_interface/include/semantic_components/range_sensor.hpp +++ b/controller_interface/include/semantic_components/range_sensor.hpp @@ -41,7 +41,7 @@ class RangeSensor : public SemanticComponentInterface */ float get_range() { - return state_interfaces_[0].get().get_value();; + return state_interfaces_[0].get().get_value(); } /// Return Range message with range in meters