Skip to content
Snippets Groups Projects
Commit fe06df04 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Remove unused PM::last_nullptr_

parent ac7db762
No related branches found
No related tags found
No related merge requests found
Pipeline #5643 passed
......@@ -484,7 +484,6 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
CaptureMotionPtr origin_ptr_;
CaptureMotionPtr last_ptr_;
CaptureMotionPtr incoming_ptr_;
bool last_nullptr_;
protected:
// helpers to avoid allocation
......
......@@ -33,7 +33,6 @@ ProcessorMotion::ProcessorMotion(const std::string& _type,
origin_ptr_(),
last_ptr_(),
incoming_ptr_(),
last_nullptr_(false),
dt_(0.0),
x_(_state_size),
delta_(_delta_size),
......@@ -315,11 +314,6 @@ void ProcessorMotion::processCapture(CaptureBasePtr _incoming_ptr)
break;
}
if (last_nullptr_){
integrateOneStep();
last_nullptr_ = false;
}
// Update state and time stamps
const auto& ts = getTimeStamp();
......
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