Skip to content
Snippets Groups Projects

pre-process incoming CaptureBase to CaptureMotion

Closed Jeremie Deray requested to merge processIncomingCapture into master

Add ProcessorMotion::processIncomingCapture function.
Called at the very beginning of the process scheme, it converts the input CaptureBasePtr (_incoming_ptr) to a CaptureMotionPtr. The default implementation remains exactly the same while allowing derived classes to overload the newly added processIncomingCapture function.

Use-case :
A Scan-matching-based ProcessorMotion receives a LaserCapture. It thus has to compute the actual scan-matching in order to estimate a MotionCapture. It therefor takes place in processIncomingCapture.
While this may not be ideal, it is the simplest/easiest hack around this problem.

Note, I thought I had added this a while ago, maybe not.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading