← Back to the main page

Sub-Project 2: Inverse Kinematics and Coordinate Systems

In sub-project 2, each group should make a system able to:

Sub-project 2 is carried out in a robot simulator that has been developed for the course.

Robot simulator

Insanely brief instruction

In the 3D window

If something stops working, restart Blender. (This is the easiest way.)

Hints for sub-project 2

  1. The client script communicates with the robot arm in Blender through a local network socket, which is often silently blocked by firewalls and antivirus programs on Windows and Mac.
  2. It is possible to use state() from the client script to find out the position of the claw. This can be exploited to determine the lengths of the different segments!
  3. Before attempting the inverse kinematics (3D position → angles), first make sure that you understand the forward kinematics (angles → 3D position).
  4. It will be difficult before lecture 2 to handle images taken at an angle, so for simplicity, start with images taken straight from above.
  5. The Lego bricks in the robot simulator might require different thresholds than the ones you used in project 1. Don't lose the values you used in project 1 — they will soon be needed again, in project 3!