Skip to content
Snippets Groups Projects
Commit 283c3af2 authored by Idril-Tadzio Geer Cousté's avatar Idril-Tadzio Geer Cousté
Browse files

Merge branch 'devel' of...

Merge branch 'devel' of ssh://gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/imu into processor_imu2d
parents 6595a274 30a1ed21
No related branches found
No related tags found
3 merge requests!39release after RAL,!38After 2nd RAL submission,!23Processor imu2d
...@@ -28,7 +28,8 @@ void ProcessorCompass::processCapture(CaptureBasePtr _capture) ...@@ -28,7 +28,8 @@ void ProcessorCompass::processCapture(CaptureBasePtr _capture)
} }
// Otherwise: store capture // Otherwise: store capture
// Note that more than one processor can be emplacing frames, so an older frame can arrive later than this one. // Note that more than one processor can be emplacing frames, so an older frame can arrive later than this one.
buffer_capture_.add(_capture->getTimeStamp(), _capture); else
buffer_capture_.add(_capture->getTimeStamp(), _capture);
} }
void ProcessorCompass::processKeyFrame(FrameBasePtr _frame, const double& _time_tolerance) void ProcessorCompass::processKeyFrame(FrameBasePtr _frame, const double& _time_tolerance)
......
...@@ -44,9 +44,9 @@ void generateRandomSetup() ...@@ -44,9 +44,9 @@ void generateRandomSetup()
// Random states // Random states
frm_p = Vector3d::Random() * 10; frm_p = Vector3d::Random() * 10;
frm_q = Quaterniond(Vector4d::Random().normalized()); frm_q = Quaterniond::UnitRandom();
sen_p = Vector3d::Random() * 10; sen_p = Vector3d::Random() * 10;
sen_q = Quaterniond(Vector4d::Random().normalized()); sen_q = Quaterniond::UnitRandom();
sen_bias = Vector3d::Random(); sen_bias = Vector3d::Random();
field = Vector3d::Random().normalized() * 50; field = Vector3d::Random().normalized() * 50;
......
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