You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not being able to run rtabmap against recorded topics from a rosbag, while being able to run ok when live.
I am running Humble on Ubuntu22, with a RealSense D455.
I am using the suggestions from #1071 but still get the following error message: rgbd_odometry-1] [ERROR] [1733444410.557515875] [rtabmap.rgbd_odometry]: Could not transform IMU msg from frame "camera_imu_optical_frame" to frame "camera_link", TF not available at time 1733442584.769126
Launching realsense topics with the following command: ros2 launch realsense2_camera rs_launch.py initial_reset:=true enable_gyro:=true enable_accel:=true unite_imu_method:=2 enable_sync:=true align_depth.enable:=true rgb_camera.color_profile:="848,480,30" publish_tf:=false
Recording rosbag with the command: ros2 bag record /camera/camera/color/image_raw/compressed /camera/camera/aligned_depth_to_color/image_raw/compressedDepth /rtabmap/imu /tf /tf_static
Playing rosbag with: ros2 bag play rosbag_file --remap /tf_static:=/tf
I noticed the bag with compressed topics had not the same amount of frames for the two camera topics. Changed to the original topics but the same issue remains from rtabmap with the same error message I reported in the initial issue comment:
The /camera/camera/color/camera_info topic is missing in the recorded bag.
For tf error, "camera_imu_optical_frame" to frame "camera_link" missing, it seems you launched rs_launch.py with publish_tf:=false, try with publish_tf:=true. You can double check with ros2 run tf2_tools view_frames:
Hi guys,
I am not being able to run rtabmap against recorded topics from a rosbag, while being able to run ok when live.
I am running Humble on Ubuntu22, with a RealSense D455.
I am using the suggestions from #1071 but still get the following error message:
rgbd_odometry-1] [ERROR] [1733444410.557515875] [rtabmap.rgbd_odometry]: Could not transform IMU msg from frame "camera_imu_optical_frame" to frame "camera_link", TF not available at time 1733442584.769126
Launching realsense topics with the following command:
ros2 launch realsense2_camera rs_launch.py initial_reset:=true enable_gyro:=true enable_accel:=true unite_imu_method:=2 enable_sync:=true align_depth.enable:=true rgb_camera.color_profile:="848,480,30" publish_tf:=false
Filtering imu data with:
ros2 run imu_filter_madgwick imu_filter_madgwick_node --ros-args --remap /imu/data_raw:=/camera/camera/imu --remap /imu/data:=/rtabmap/imu --ros-args -p use_mag:=false -p publish_tf:=false
Recording rosbag with the command:
ros2 bag record /camera/camera/color/image_raw/compressed /camera/camera/aligned_depth_to_color/image_raw/compressedDepth /rtabmap/imu /tf /tf_static
Playing rosbag with:
ros2 bag play rosbag_file --remap /tf_static:=/tf
Running rtabmap with:
ros2 launch rtabmap_launch rtabmap.launch.py args:="-d compressed:=true" rgb_topic:=/camera/camera/color/image_raw depth_topic:=/camera/camera/aligned_depth_to_color/image_raw camera_info_topic:=/camera/camera/color/camera_info frame_id:=camera_link wait_imu_to_init:=true imu_topic:="/rtabmap/imu"
Output of the bag info:
The text was updated successfully, but these errors were encountered: