Open kw908 opened 1 month ago
could you try with approx_sync:=false
instead (I think zed topics are using exact same time between images taken at same time)?
ros2 launch rtabmap_launch rtabmap.launch.py
rtabmap_args:="--delete_db_on_start" \
rgb_topic:=/zed/zed_node/rgb/image_rect_color \
depth:=true \
depth_topic:=/zed/zed_node/depth/depth_registered \
camera_info_topic:=/zed/zed_node/rgb/camera_info \
frame_id:=zed_camera_link \
approx_sync:=false \
imu_topic:=/zed/zed_node/imu/data \
qos:=2 \
rviz:=true \
depth:=true \
visual_odometry:=true
based on the log, rtabmap updated at least 3 times:
[rtabmap-2] [INFO] [1714522429.303458174] [rtabmap.rtabmap]: rtabmap (3): Rate=1.00s, Limit=0.000s, Conversion=0.0035s, RTAB-Map=0.2694s, Maps update=0.0001s pub=0.0000s (local map=1, WM=1)
Hello,
I am using ZED2 camera to run rtabmap, under ros2 foxy, on a Jetson Orin Nano device. When I launch rtabmap, no map is published, and rviz shows "No map received" under the /rtabmap/map topic, as shown in the figure below:![Screenshot from 2024-04-30 19-59-15](https://github.com/introlab/rtabmap_ros/assets/101230559/440e11c9-312b-41aa-ab67-b58b1215bd66)
The rtabmap window does not show loop closure detection or graph view either:![Screenshot from 2024-04-30 20-00-41](https://github.com/introlab/rtabmap_ros/assets/101230559/9a10c733-25d8-4873-9a3d-bbe1f01a7ba8)
The Zed2 launch file is unmodified from the original ros2 driver, and it's launched using:
The command used to launch rtabmap is:
The TF tree looks like this:![Screenshot from 2024-04-30 20-21-07](https://github.com/introlab/rtabmap_ros/assets/101230559/a9ddf4dd-47f5-4953-a23b-da691fbd5836)
The full log during launching process printed in the terminal is:
Thanks so much for your help! Will provide more info if needed!