Closed Nurgak closed 7 years ago
This task is using the transformer to lookup static and dynamic transformations and align them with it's input streams.
This page gives an introduction how to setup the transformer in a ruby script:
http://rock-robotics.org/master/documentation/data_processing/transformer_runtime.html
Note that you have to require "transformer/runtime"
in your script.
You also need to configure the coordinate frames for the transformer. You have an example at: https://github.com/exoter-rover/bundles-exoter/blob/master/config/orogen/viso2::StereoOdometer.yml
In case you want to have the visual odometry output in the camera frame just set body_frame=left_camera
Thanks @jhidalgocarrio and @saarnold, now that body_frame=left_camera
it already gives me an idea of the error I might expect during runtime, I'll look into how/where/why to declare the transformers.
I would like to use visual odometry to get the pose of my robot, but I keep getting the following error when I run the component:
The problem seems to be stemming from the following lines in
StereoOdometer.cpp
:I have no idea on how to proceed as the error message is not very explicit, what is the actual issue here?