-
Notifications
You must be signed in to change notification settings - Fork 1.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
rtabmap with external odometry (Realsense T265) #1078
Comments
Hi @dschnabel Can you help me understand the difference between this thread and the following one: #1075 Here are a few other threads to review that may help: |
Yes, sorry for the confusion, @RealSenseCustomerSupport . I had opened #1075 because I was under the wrong impression that rviz and rtabmapviz are separate programs. But turns out that this is just the frontend. In rviz I was able to configure a different 'Fixed Frame' and 'Reference Frame' which then showed me some data in the 3D window. But I was still seeing the Playing with the config options I got a bit further now. I had to remove the
or
Obviously I'm still doing something wrong. I'm still very new to SLAM, ROS and the Realsense Cameras. All I want to do at this point is to create a map in rtabmap using the D345 and T265. Is there a good tutorial that covers this? I looked through the threads you posted but don't see something like that. Thank you. |
Hi @dschnabel I have looked and those errors don't seem to be on the realsense side of things. It seems to be on the rtabmap side of things. Found a couple other threads that should be looked at: introlab/rtabmap#418 I know this isn't rtabmap but there is the example of occupancy mapping here: https://github.com/IntelRealSense/realsense-ros/tree/occupancy-mapping/occupancy |
thank you for those threads. The occupancy mapping was a great starting point. Once I got that working, I went back to playing around with rs_rtabmap.launch. I then disabled re-localization of the T265:
Next I set When I launch rtabmap via Appreciate your help with this. Closing as solved. |
OS: Ubuntu 16.04.6 LTS
ROS version: Lunar
RTAB-Map: 0.17.6
Cameras: Realsense D435 and T265
I'm starting both cameras with this launch command:
roslaunch realsense2_camera rs_d400_and_t265.launch align_depth:=true
(see rs_d400_and_t265.launch)
The map frame looks like this.
When I start rtabmap without external odometry and have visual odometry (uses the image/depth data provided by the D435), it seems to be working fine:
roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" depth_topic:=/d400/aligned_depth_to_color/image_raw rgb_topic:=/d400/color/image_raw camera_info_topic:=/d400/color/camera_info approx_sync:=false frame_id:=t265_odom_frame
This starts rtabmap and shows the 3D image as expected.
But when I include external odometry from the T265 then I get an empty rtabmap window where nothing is displayed:
roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" depth_topic:=/d400/aligned_depth_to_color/image_raw rgb_topic:=/d400/color/image_raw camera_info_topic:=/d400/color/camera_info approx_sync:=false frame_id:=t265_odom_frame visual_odometry:=false odom_topic:=/t265/odom/sample
There's also a warning message on stdout which only happens if I include external odometry:
Odometry data is coming through fine as the command
rostopic echo /t265/odom/sample
shows:Any ideas what else I can check? Thanks!
The text was updated successfully, but these errors were encountered: