Move a collision object in Rviz
I would like to know if there is a way to make an object move in the scene, preferable using python script. I am working with moveit.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I would like to know if there is a way to make an object move in the scene, preferable using python script. I am working with moveit.
Yes, you can publish the object to the planning scene with the operation
field set to MOVE
, as shown in the CollisionObject message.
You can use the PlanningSceneInterface
in C++ for this, although the Python interface doesn't expose the applyCollisionObject
function yet. You could add that feature and submit a pull request. :)
You may find the answer in the tutorials here.
Adding Objects to the Planning Scene
make sure to use the correct name=box_name
Asked: 2020-12-22 05:38:57 -0500
Seen: 577 times
Last updated: Dec 24 '20
Adding the collision object "wall" to moveit-rviz
Understanding Parameters - Changing & Using New Value On The Fly
how to get value of joints [closed]
Tello drone rotating left/right has deviations
'Failed to connect to master in 30 seconds.' error
ros/ros.h: No such file or directory after trying tutorial