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

How do you do obstacle avoidance with MoveIt?

asked 2020-12-02 10:40:26 -0500

galaxee gravatar image

updated 2020-12-02 14:40:31 -0500

AndyZe gravatar image

Sorry if this is a noob question, I'm just getting started with ROS / MoveIt.

Let's say you have a robot arm, and that there will always be an S-shaped object that a robot arm should move around. What should you do so that the robot arm navigate around this object?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-12-02 13:35:50 -0500

AndyZe gravatar image

updated 2020-12-02 14:53:05 -0500

You could add the object to the URDF. See here. That's what I would recommend since it will always be there.

OR, in code, you could set up a Planning Scene and add the S-shaped collision object to it. There's a tutorial here. The message definition is here.

OR you can add the collision mesh with the RViz MotionPlanning plugin (GUI). Of course, then you would have to re-add the object manually every time you launch the robot.

edit flag offensive delete link more

Comments

Thanks so much! This is really helpful.

galaxee gravatar image galaxee  ( 2020-12-02 14:56:01 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-12-02 10:40:26 -0500

Seen: 1,833 times

Last updated: Dec 02 '20