ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Moveit2 Octomap Setup

asked 2021-10-18 11:57:06 -0500

seandburke99 gravatar image

updated 2021-10-18 12:51:45 -0500

I cannot figure out how to get an octomap to show up in moveit2. I can pass a sensors_3d.yaml as parameters to the move_group and without a transform from the camera to the robot and the move group will come up with errors saying there is no transform link between the two. No octomap displays in rviz2 however and the planning scene topics does not have anything publishing. I am unable to run the octomap server manually so far.

move group output when parameters for sensor passed to move group without transform

    [move_group-4] [WARN] [1634575155.847092398] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Unable to transform object from frame 'camera_link' to planning frame'base_link' (Could not find a connection between 'base_link' and 'camera_link' because they are not part of the same tree.Tf has two or more unconnected trees.)

occupany node output when launch from file as node after move_group

    [moveit_ros_occupancy_map_server-6] [WARN] [1634576010.368767799] [moveit.ros.occupancy_map_monitor]: Resolution not specified for Octomap. Assuming resolution = 0.1 instead
    [moveit_ros_occupancy_map_server-6] [WARN] [1634576010.368801697] [moveit.ros.occupancy_map_monitor]: No target frame specified for Octomap. No transforms will be applied to received data.
    [moveit_ros_occupancy_map_server-6] [ERROR] [1634576010.368816836] [moveit.ros.occupancy_map_monitor]: No 3D sensor plugin(s) defined for octomap updates
    [moveit_ros_occupancy_map_server-6] terminate called after throwing an instance of 'std::runtime_error'
    [moveit_ros_occupancy_map_server-6]   what():  Node has already been added to an executor.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-10-29 11:05:21 -0500

seandburke99 gravatar image

This guy asked the same question then found the result. MoveIt!2 add Pointcloud2 to OccupancyMapMonitor

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-10-18 11:57:06 -0500

Seen: 952 times

Last updated: Oct 29 '21