configuration space
play

Configuration Space Jane Li Assistant Professor Mechanical - PowerPoint PPT Presentation

RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON S RBE 550 Configuration Space Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering http://users.wpi.edu/~zli11 RBE 550 MOTION PLANNING BASED ON DR. DMITRY


  1. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Configuration Space Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering http://users.wpi.edu/~zli11

  2. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Potential field 1 φ = − 2 ( ) k x x att att goal 2 + k att , k rep : positive scaling factors  2   1 1 1 x : position of the robot    − ρ ≤ ρ if , k   φ =  ρ : distance to the obstacle ρ ρ rep 0 2   rep 0  ρ 0 : distance of influence ρ > ρ  0 if 0 2

  3. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Attractive & repulsive fields = −∇ φ = − − ( ) F k x x att att att goal goal    ∂ ρ 1 1 1    − ρ ≤ ρ if , k   = −∇ φ =  ρ ρ ρ ∂ rep 0 F 2   x rep rep 0  ρ > ρ  0 if 0 goal force k att , k rep : positive scaling factors x : position of the robot robot ρ : distance to the obstacle resulting m otion ρ 0 : distance of influence repulsion force [Khatib, 1986] 3

  4. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Recap  We learned about how to plan paths for a point  Real-world robots are complex , often articulated bodies  What if we invented a space where the robots could be treated as points ?

  5. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Definition  C onfiguration – a specification of the position of every point on the object.  A configuration q is usually expressed as a vector of the Degrees of Freedom (DOF) of the robot q = ( q 1 , q 2 ,…, q n )  Configuration space C – the set of all possible configurations.  A configuration q is a point in C

  6. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Degree of Freedom – Examples

  7. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Dimension of Configuration Space  Dimension of a Configuration Space  The minimum number of DOF needed to specify the configuration of the object completely. q n q =( q 1 , q 2 ,…, q n ) q 3 q 1 q 2

  8. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Example – A Rigid 2D Mobile Robot  3-parameters: q = ( x, y, θ ) with θ ∈ [0, 2 π ).  3D configuration space  Topology: SE(2) = R 2 x S 1 (a 3D cylinder) workspace reference direction robot θ y reference point x

  9. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Example: Rigid Robot in 3D workspace  q = ( position, rotation ) = ( x, y, z, ??? )  Representations for rotation  Euler Angles – yaw, pitch roll  3X3 Transform Matrices  Unit quaternion  Regardless of the representation, rotation in 3D is 3 DOF  C-space dimension = 6  Topology: SE(3) = R 3 x SO(3)

  10. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Configuration Space for Articulated Objects  Articulated object – A set of rigid bodies connected by joints  For articulated robots (arms, humanoids, etc.), the DOF are usually the joints of the robot  Exceptions?  Topology of two-link manipulator?  With joint limits?

  11. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Paths and Trajectories in C-Space  Path  A continuous curve connecting two configurations q start and q goal τ ∈ → τ ∈ : [ 0 , 1 ] ( ) s s C Such that τ (0) = q start and τ (1) = q goal .  Trajectory  A path parameterized by time τ ∈ → τ ∈ : [ 0 , ] ( ) t T t C

  12. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Obstacles in C-space

  13. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Obstacles in C-space  (Collision)-free configuration – q  Robot placed at q has no intersection with any obstacle in the workspace  Free Space – C free  A subset of C that contains all free configurations  Configuration space obstacle – C obs  A subset of C that contains all configurations where the robot collides with workspace obstacles or with itself (self-collision)

  14. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 How to compute C obs ? Robot Geometry Compute … Configuration space obstacle Obstacle Geometry  A simple example  2D translating robot  Polygonal obstacle in task space

  15. Modified based on Slides by Prof. David Hsu, University of Singapore Example – Disc in 2D workspace Workspace configuration space (2D) (2D)

  16. Modified based on Slides by Prof. David Hsu, University of Singapore Minkowski Sum

  17. Modified based on Slides by Prof. David Hsu, University of Singapore Minkowski Sum

  18. Modified based on Slides by Prof. David Hsu, University of Singapore Minkowski Sum

  19. Modified based on Slides by Prof. David Hsu, University of Singapore Minkowski Sum

  20. Modified based on Slides by Prof. David Hsu, University of Singapore Example – 2D Robot with Rotation workspace reference direction robot θ y reference point x

  21. Modified based on Slides by Prof. David Hsu, University of Singapore Example – 2D Robot with Rotation

  22. Modified based on Slides by Prof. David Hsu, University of Singapore Minkowski Sum  Can Minkowski Sums be computed in higher dimensions efficiently? Find a configuration that keeps the knot interlocked but without colliding with the cubic frame? Computing the Minkowski sum of non-convex polyhedra – Time Complexity :

  23. Why need to study the topology of C-space?  Because in topology, a coffee mug can be equivalent to a donut Two paths τ and τ ’ with the same endpoints is Homotopic If one path can be deformed into continuously deformed into the other

  24. Homotopic paths  A homotopic class of paths  All paths that are homotopic to one another.

  25. Homotopic paths  A cylinder without top and bottom  τ 1 and τ 2 are homotopic  τ 1 and τ 3 are not homotopic q τ 2 τ 1 τ 3 q’

  26. Connectedness of C-Space  C is connected  If every two configurations can be connected by a path.  C is simply-connected  if any two paths connecting the same endpoints are homotopic .  Examples: R 2 or R 3  Otherwise C is multiply-connected.  Can you think of an example? q τ 2 τ 1 τ 3 q’

  27. Distance in C-space  A distance function d in configuration space C is a function ∈ → ≥ 2 : ( , ' ) ( , ' ) 0 d q q C d q q Such that  d ( q, q’ ) = 0 if and only if q = q’ ,  d ( q , q ’) = d ( q ’, q ),  d ( q , q ’) <= d ( q , q ’’) + d ( q’’ , q ’) .

  28. Discussion  Do we need to have an explicit representation of C-obstacles to do path planning?  Do we need a specialized distance metric in C-space to do path planning?  Can we use Euclidian distance between configurations?  Can we use Euclidian distance for all the problems?

  29. Distance metric  L1-norm (Manhattan distance) – follow the grid, like a taxi driver  L2-norm (Euclidian distance)  L ∞ -norm (chessboard distance)

  30.  Read  Principles: Appendix H – Graph representation and basic search  HW1 is posted  Due 2/1 at 12 noon

  31. Examples in R 2 x S 1  Consider R 2 x S 1 θ  q = ( x, y, θ ), q ’ = ( x’, y’, θ ’ ) with θ , θ ’ ∈ [0,2 π ) α  α = min { | θ − θ ’ | , 2 π - | θ − θ ’| } θ ’ = − ( , ' ) max || ( ) ( ' ) || d q q a q a q ∈ a A = − + − + α  2 2 max ( ' ) ( ' ) x x y y r ∈ a A a = − + − + α 2 2 ( ' ) ( ' ) max x x y y r r a ∈ a A a (x,y) a = − + − + α 2 2 ( ' ) ( ' ) x x y y r max

Recommend


More recommend