Lead TAs:
Challenge Statement:
Perform path planing for a 2 link RR robot arm.
Demo:
-
Using the robotic arm from lab 8, perform the following while avoiding the obstacle shown in the map below. The end effector cannot leave the map.
- Move from the reference configuration to the start position (inputed by the user) and wait for user input.
- Move from the start position to an end position (inputed by the user) and wait for user input.
- Go back to the start position and stop there.
- If the robot ever touches the obstacle, no credit will be given for any more points the robot moves to in that run.
- Three tries will be given in order to improve your score if needed.All tries are independent of each other. Progressively easier positions can be requested, each for a 10 point penalty and only once per try. A request cannot be made on the first try.
Map:
 |
Map in cartesian space. Red indicates an obstacle. All numbers are in inches. |
How to:
Note that the way point based planner is only suggested. Feel free to implement any other planner to solve this task.
- Add the planner from lab 5 to the previous lab's code.
- Pick waypoints in the map given below which is the C-Space version of the cartesian map given above. The obstacle can be approximated to be a prallelogram for easy collision detection.
- Use inverse kinematics from the previous lab to get good C-Space angles for the given start and end positions.
- Run the planner one these positions to reach the goal position.
- Make sure the planner is working on C-Space angles and not X-Y positions.
C-Space Map:
 |
A representation of the cartesian map with the obstacle in the robot's configuration space. Red : Obstacle, Blue : Approximation of the obstacle as a parallelogram, Black : Outside the map. |
Other tips:
- Remember to check all configurations generated by inverse kinematics. It is not necessary that all configurations will be reachable under the constraints of the obstacle.
- As the trajectory taken by the robot is important and it is wrong to first move one joint and then the next, it may be necessary to write a basic trajectory planner or set relative speeds using motor teaming.
Evaluation:
- When moving to the start position from the reference configuration:
i) End effector within a half inch radius of the start position - 10 points
ii) End effector within a quarter inch radius of the start position - 20 points
- When moving to the end position from the start position :
i) End effector within a half inch radius of the end position - 20 points
ii) End effector within a quarter inch radius of the end position - 30 points
- When moving to the start position from the end position :
i) End effector within a half inch radius of the start position - 30 points
ii) End effector within a quarter inch radius of the start position - 50 points
Grading Sheet : Lab 9
Last Updated : 10/16/07 by Kaushik Viswanathan
(c) 1999-2007: Howie Choset, Carnegie Mellon |
|