-
Notifications
You must be signed in to change notification settings - Fork 536
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
The point cloud data and the octomap coordinates do not coincide, and the octomap coordinate system is incorrect #3042
Comments
Please provide the information that is requested in the bug report ticket - most importantly - what version of ROS / MoveIt - debs or source? If Source, what branch. (I'm going to note that I have been using the main branch built against both Iron/Jazzy and not had this issue with the octomap) |
Seems like an error related to the sensor used from Ignition, this PR may contain helpful information for you: The depth and pcd are in a May be helpful to setup the octomap sensors:
- default_sensor
default_sensor:
filtered_cloud_topic: filtered_cloud
max_range: 3.0
max_update_rate: 1.0
padding_offset: 0.01
padding_scale: 0.01
point_cloud_topic: /camera/depth/color/points
point_subsample: 1
sensor_plugin: occupancy_map_monitor/PointCloudOctomapUpdater
octomap_frame: {frame_here} |
Thank you very much for your answer, but I looked at the link you gave and tried the method you gave, but still can't solve it. I found that the point cloud data generated from the depth image in RVIZ2 was not the same as the point cloud data read directly from the Ignition gazabo, and I think there must have been some inconsistencies. Have you solved this problem yet |
I passed the data from the depth camera in the ignition gazebo into the moviet, but the octomap coordinates are not normal, but the point cloud and depth map are normal. May I ask where I wrote it wrong?
sensors_3d.yaml
`sensors:
camera_1_pointcloud:
sensor_plugin: occupancy_map_monitor/PointCloudOctomapUpdater
point_cloud_topic: /rgbd_camera/points
max_range: 5.0
point_subsample: 1
padding_offset: 0.1
padding_scale: 1.0
max_update_rate: 30.0
filtered_cloud_topic: /camera_1/filtered_points
camera_2_depth_image:
sensor_plugin: occupancy_map_monitor/DepthImageOctomapUpdater
image_topic: /rgbd_camera/depth_image
queue_size: 5
near_clipping_plane_distance: 0.3
far_clipping_plane_distance: 5.0
shadow_threshold: 0.2
padding_scale: 1.0
max_update_rate: 30.0
filtered_cloud_topic: /camera_2/filtered_points
**moveit_rviz.launch.py**
def load_yaml(package_name, file_path):
package_path = get_package_share_directory(package_name)
absolute_file_path = os.path.join(package_path, file_path)
def generate_launch_description():
`
The text was updated successfully, but these errors were encountered: