Skip to content
Snippets Groups Projects
Commit 23d9f3c6 authored by cont-integration's avatar cont-integration
Browse files

[skip ci] applied clang format

parent e548d9d8
No related branches found
No related tags found
1 merge request!448Draft: Resolve "Implementation of new nodes creation"
Pipeline #21086 skipped
...@@ -200,7 +200,6 @@ class SensorBase : public NodeStateBlocks ...@@ -200,7 +200,6 @@ class SensorBase : public NodeStateBlocks
StateBlockPtr getIntrinsic(); StateBlockPtr getIntrinsic();
public: public:
// enable/disable the sensor // enable/disable the sensor
bool isEnabled() const; bool isEnabled() const;
void enable(); void enable();
......
...@@ -251,7 +251,8 @@ bool SensorBase::process(const CaptureBasePtr capture_ptr) ...@@ -251,7 +251,8 @@ bool SensorBase::process(const CaptureBasePtr capture_ptr)
if (not capture_ptr) return false; if (not capture_ptr) return false;
if (capture_ptr->getSensor() and capture_ptr->getSensor() != shared_from_this_sensor()) 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; return false;
} }
if (not capture_ptr->getTimeStamp().ok()) if (not capture_ptr->getTimeStamp().ok())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment