diff --git a/include/core/sensor/sensor_base.h b/include/core/sensor/sensor_base.h index 6333d3a665c140bd680a839012e839fde70aa0f7..1b6cf568cf7e2b8172a62031cda98e4d8af31a32 100644 --- a/include/core/sensor/sensor_base.h +++ b/include/core/sensor/sensor_base.h @@ -200,7 +200,6 @@ class SensorBase : public NodeStateBlocks StateBlockPtr getIntrinsic(); public: - // enable/disable the sensor bool isEnabled() const; void enable(); diff --git a/src/sensor/sensor_base.cpp b/src/sensor/sensor_base.cpp index 8c67c9119e1c788d464f39e78ecc03de0525564b..2f66481de0227ee7a6a85584c00862c4bef2f3b4 100644 --- a/src/sensor/sensor_base.cpp +++ b/src/sensor/sensor_base.cpp @@ -251,7 +251,8 @@ bool SensorBase::process(const CaptureBasePtr capture_ptr) if (not capture_ptr) return false; if (capture_ptr->getSensor() and capture_ptr->getSensor() != shared_from_this_sensor()) { - WOLF_WARN("SensorBase::process: Capture already has a sensor configured different from this. Ignoring capture."); + WOLF_WARN( + "SensorBase::process: Capture already has a sensor configured different from this. Ignoring capture."); return false; } if (not capture_ptr->getTimeStamp().ok())