Skip to content
Snippets Groups Projects

Resolve "Remove all methods `ProcessorMotion::interpolate(...)`"

1 file
+ 5
3
Compare changes
  • Side-by-side
  • Inline
@@ -61,6 +61,8 @@ void ProcessorMotion::splitBuffer(const wolf::CaptureMotionPtr& _capture_source,
// // add to old buffer
// _capture_target->getBuffer().get().push_back(motion_interpolated);
// }
// start with empty motion
_capture_source->getBuffer().get().push_front(motionZero(_keyframe_target->getTimeStamp()));
// Update the existing capture
_capture_source->setOriginFrame(_keyframe_target);
@@ -407,9 +409,9 @@ void ProcessorMotion::integrateOneStep()
void ProcessorMotion::reintegrateBuffer(CaptureMotionPtr _capture_ptr)
{
// start with empty motion
_capture_ptr->getBuffer().get().push_front(motionZero(_capture_ptr->getOriginFrame()->getTimeStamp()));
// // start with empty motion
// _capture_ptr->getBuffer().get().push_front(motionZero(_capture_ptr->getOriginFrame()->getTimeStamp()));
//
VectorXs calib = _capture_ptr->getCalibrationPreint();
// Iterate all the buffer
Loading