Skip to content
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

T265 relocalization conflicts with RTAB-Map relocalization #409

Closed
matlabbe opened this issue Jun 6, 2019 · 1 comment
Closed

T265 relocalization conflicts with RTAB-Map relocalization #409

matlabbe opened this issue Jun 6, 2019 · 1 comment

Comments

@matlabbe
Copy link
Member

matlabbe commented Jun 6, 2019

There is currently no way to disable relocalization feature from T265. The problem is that when realsense relocalizes, we cannot know how much the old poses have moved (assuming they optimize their map), so the map cannot be optimized on RTAB-Map side.

A workaround is to integrate linear and angular velocities like in this post: IntelRealSense/realsense-ros#779. Modifications would need to be done here. Linear and angular velocites can be fetched like this. EDIT: The problem is that there is always some velocity even when not moving, the resulting pose drifts and is not as accurate than the pose itself (their odometry approach seems to be a frame-to-map approach, not a frame-to-frame approach). An update to realsense API to disable relocalization is the best option.

Note that on ROS, one may use robot_localization package to integrate the twist coming from realsense odometry.

@matlabbe matlabbe changed the title T265 relocation conflicts with RTAB-Map relocation T265 relocalization conflicts with RTAB-Map relocalization Jun 6, 2019
@matlabbe
Copy link
Member Author

matlabbe commented Oct 2, 2019

Realsense relocalization is now disabled, see the commit above.

m-pilia added a commit to m-pilia/realsense-ros that referenced this issue Feb 4, 2020
Relocalization performend on board by the T265 conflicts with
RTAB-Map's. Disable it by setting the relevant ROS parameter in the
launch file.

See also introlab/rtabmap#409
@dschnabel dschnabel mentioned this issue Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant