Skip to content
Snippets Groups Projects

WIP: Resolve "Processor constructors and creators requiring a sensor pointer?"

4 files
+ 16
8
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -329,7 +329,7 @@ class ProcessorBase : public NodeBase, public std::enable_shared_from_this<Proce
void setSensor(SensorBasePtr _sen_ptr){sensor_ptr_ = _sen_ptr;}
public:
virtual bool isMotion();
virtual bool isMotion() const;
void setTimeTolerance(Scalar _time_tolerance);
@@ -380,7 +380,7 @@ std::shared_ptr<classType> ProcessorBase::emplace(SensorBasePtr _sen_ptr, T&&...
return prc;
}
inline bool ProcessorBase::isMotion()
inline bool ProcessorBase::isMotion() const
{
return false;
}
Loading