CMU RI 16-711: KDC: Assignment 6: Controlling a two axis robot.


DO NOT TOUCH THE ROBOT WHEN IT IS ON!


The arm for this assignment has been rebuilt. Unfortunately, this makes the shoulder motor much more powerful and dangerous. Avoid having the shoulder spin out of control and wrap up the elbow wires. ALWAYS keep your finger on the power strip off switch. Turn on the power strip, run your program, then turn it off.


The point of this assignment is to give you experience controlling a two DOF robot. The robot has encoders on the joints. There is no velocity measurement on the elbow joint.

Information from Matthew McNaughton, including sample code.


DON'T TWIST THE WIRES.


Part 1: Make a model of the two joint arm. Figure out how to present data to convince us that your model works well.


UNTWIST THE WIRES IF YOU TWIST THEM.


Part 2: Create an extended Kalman filter for the robot, to estimate velocity and to increase your position resolution. Figure out how to present data to convince us your velocity estimate is good, and that you have chosen reasonable parameters for the Kalman filter to best combine model information and measurements.


DO NOT TOUCH THE ROBOT WHEN IT IS ON!


Part 3: Implement swingup (similar to assignment 2) on the robot, using the robot model. The swingup should actually swing the robot up in under 100 seconds, and minimize the sum of squared motor currents (proportional to torque) over the 100 seconds. Use trajectory learning to make your trajectory following more accurate, if you follow a trajectory.


DON'T TWIST THE WIRES.


Extra credit: Implement swingup for the acrobot (shoulder motor not used) and/or the whip (elbow motor not used).


UNTWIST THE WIRES IF YOU TWIST THEM.


What to turn in?

Generate a web page describing what you did. The writeup should be either directly visible as html or one click away as a PDF or DOC file. Be sure to list the names of all the members of your group. Include links to a directory of your source and compiled code in either .zip, .tar, or .tar.gz format. Mail the URL of your web page to fwh@cs and cc cga@cs [You complete the address, we are trying to avoid spam.] The writeup is more important than the code. What did you do? Why did it work? Data traces are good. You can use any type of computer/OS/language you want. You can work in groups or alone.


DO NOT TOUCH THE ROBOT WHEN IT IS ON!


Questions

None so far.


DO NOT TOUCH THE ROBOT WHEN IT IS ON!