meco-group / omg-tools

Optimal Motion Generation-tools: motion planning made easy
GNU Lesser General Public License v3.0
563 stars 97 forks source link

Add room constraints for non-rectangular rooms #12

Closed timmercy closed 8 years ago

timmercy commented 8 years ago

Include safety distance as well

rubenvanparys commented 8 years ago

@timmercy : is there an example which illustrates non-rectangular room constraints? And could this be extended to 3d by adding a function get_hyperplanes in Polyhedron3D?

timmercy commented 8 years ago

There is not yet an example of non-rectangular room constraints, but I will provide one soon.

This is extendable to 3D I think, I will look at it.

timmercy commented 8 years ago

I added an example with an octagonal room.

rubenvanparys commented 8 years ago

I made the drawing of the room optional, by adding an extra boolean argument draw in the room dict (see p2p_holonomic_octroom).