Closed samsonli closed 4 years ago
As many wheels as you have are supported; the trick is to use forward kinematics to convert your wheel's velocities into whole-robot velocities. velX
and velY
are the X and Y components of the whole-robot velocity in the robot coordinate frame (i.e. +X points forwards from the center of the robot, and +Y points to the left from the perspective of an observer standing behind the robot.)
The relocalization map is almost entirely unrelated to this; it allows you to map a scene and import that map for use later.
What's the use of the calibration file?
That file is filled in by ftc265 for you based on the information you pass to the T265Camera
constructor. If you read the native code you can see how this works.
Thanks, that made it work.
Hi, our team is attempting to try and use the T265 Camera in conjunction with dead tracking wheels. However, we just can't understand
T265Camera.sendOdometry(velX, velY)
as well as its relationship with theRelocalizationMap
. We have also noticed a comment saying that "Only 1 odometry sensor is supported for now (index 0)
". Does this mean that it is unable to send the data from two encoders; it can only use one wheel?Any help is appreciated.
Edit: Not the RelocalizationMap, I meant the calibration file