ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Fix workspace bounds

asked 2017-09-07 05:17:46 -0600

raf4343 gravatar image


I would like to set the workspace bound for my robot. I know there is a functionality in moveit that helps you to do that. It is called "fix workspace bounds". Anybody has some example code in python I could use to understand how it works ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-09-07 06:46:54 -0600

v4hn gravatar image

The (whole) code for the module fix_workspace_bounds can be found here.

As you can see there, you can set a ROS parameter (move_group/)default_workspace_bounds that specifies the distance of the boundary from origin in all three dimensions. I didn't look thoroughly, but I guess you have to pass in the workspace explicitly if you want non-cubic workspace bounds.

Be aware though that the workspace concept does not affect revolution joints. It is meant for floating and planar joints.

If you want your fixed robot arm to stay within a volume, add wall collision objects in the area that should be avoided.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-09-07 05:17:46 -0600

Seen: 600 times

Last updated: Sep 07 '17