-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wheel odometry to T265 with two wheels #4938
Comments
Missed this previously but the unit test here is helpful if anyone else has issues: https://github.com/IntelRealSense/librealsense/blob/master/unit-tests/unit-tests-live.cpp#L5535 Still not clear on how exactly to calculate the axis-angle from the robot geometry. |
@dorodnic Can you clarify something in your test case for the wheel odometry? https://github.com/IntelRealSense/librealsense/blob/master/unit-tests/unit-tests-live.cpp#L5535 You are expecting the robot to be stationary in your comments but you are passing 1, 0, 0 for the translational velocity vector. I would have expected that to be 0, 0, 0. Also, are there any real-world examples for odometry calibration? Perhaps the odometry calibration for the kobuki tests you ran would be useful. |
The translation is correct for the case that you describe. |
Hi @mzelina - Were you able to use the information provided by schmidtp1? Anything else needed? |
I have a two wheel robot and want to feed odometry data into the T265 to aid in tracking. I have read the documentation and surrounding articles (e.g. #3462 (comment), #3970 (comment)).
The JSON file example describes T as "relative transformation of sensor frame w.r.t. T265 body frame (see T265 data sheet, sec. 4.3 "Coordinate System"). I am not sure if this is the the center of the wheel, where the wheel contacts the surface or some other measurement?
Similar question for W described as "the orientation in axis-angle representation, axis x angle (in rad)". I don't understand how this axis-angle representation maps to direction. One wheel is going positive and one negative to move forward. Is this where this transformation comes into account?
My wheels are mounted behind the camera with the camera centered on the chasis and the wheels being ~0.7m behind and ~0.1m below the center of the camera and a wheel base of 0.46m.
My best guess is these items in my file would be the following for translations (intentionally ommited the other parts of the file). For W I am not sure. Any help appreciated!
The text was updated successfully, but these errors were encountered: