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

Merge branch 'devel' into Apriltag

parents 9ebc36fd 6270c258
No related branches found
No related tags found
1 merge request!233WIP: Apriltag
Pipeline #2385 passed
......@@ -226,6 +226,8 @@ CaptureBasePtr SensorBase::lastCapture(const TimeStamp& _ts)
// we search for the most recent Capture of this sensor before _ts
CaptureBasePtr capture = nullptr;
FrameBaseList frame_list = getProblem()->getTrajectoryPtr()->getFrameList();
// We iterate in reverse since we're likely to find it close to the rbegin() place.
FrameBaseRevIter frame_rev_it = frame_list.rbegin();
while (frame_rev_it != frame_list.rend())
{
......
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