Repository navigation
Description
Description
I have problems working witch octomap in both RMW: FastRTPS and CycloneDDS. First of all, I am working with a TIAGo robot. The problems that I have when working with FastRTPS are the fact that I can't change the octomap frame but I can see the octomap in RViz2. Regarding the CycloneDDS, I simply ca not observe the octomap at all in RViz2.
ROS Distro
Humble
OS and version
Ubuntu 22.04
Source or binary build?
Source
If binary, which release version?
No response
If source, which branch?
humble
Which RMW are you using?
CycloneDDS
Steps to Reproduce
To reproduce the issues, just download and install the packages of TIAGo Simulation in ros2. Then make the following changes in the package tiago_moveit_config:
- In the file
config/sensors_3d.yamladd the lineoctomap_frame: mapunder the lineoctomap_resolution: 0.025and change the thepoint_cloud_topicto/head_front_camera/depth/points. - I have also tried to change the launch file (
launch/move_group.launch.py) by adding this"octomap_frame": "map"to themove_groupnode parameters.
After performing these changes build the package. After that is done run the following command: ros2 launch tiago_gazebo tiago_gazebo.launch.py navigation:=True moveit:=True is_public_sim:=True. Finally in RViz2, send a Nav2 Goal next to a wall and the send another goal to somewhere else. Don't forget to include the PlanningScene display in RViz in order to try to see the octomap.
Expected behavior
What should happen, for both DDS, is the visualization of an octomap that is fixed to the map frame, i.e, when the robot moves, the octomap does not move, it stays static. Currently the octomap is relative to the base_footprint like show in the following ROS message:
[move_group-15] [INFO] [1753105020.918131429] [moveit.ros.perception.pointcloud_octomap_updater]: Listening to '/throttle_filtering_points/filtered_points' using message filter with target frame 'base_footprint '
Actual behavior
For FastRTPS, I can see the octomap in RViz2 but the octomap moves when the robot also moves. Regarding CycloneDDS, I can't observe no octomap in RViz2.
Backtrace or Console output
No response
Activity
andre-silva9975 commentedon Jul 22, 2025
So I was able to solve part of the problem. Now I can see the octomap using the Cyclone DDS. I found the solution in this link.
github-actions commentedon Sep 8, 2025
This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups.
github-actions commentedon Oct 23, 2025
This issue was closed because it has been stalled for 45 days with no activity.
andre-silva9975 commentedon Oct 24, 2025
I guess the main problem was a QoS setting. Everything seems to work now.