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

Fix workspace bounds

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

raf4343 gravatar image

Hello,

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
3

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

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

Question Tools

1 follower

Stats

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

Seen: 798 times

Last updated: Sep 07 '17