matlab/python/arduino code for controlling the robot
Servos capable of slightly under 180 degrees of motion. Limited mechanically in the positive direction, and electronically in the negative direction.
Servos are connected through a torque spring to the joint, which causes the motion to be less rigid.
There are potentiometers that measure the angular displacement of each of the torque springs (relative to the motor shaft), which give an analog reading to the controller. This gives an indication of torque.
The rationale for using a custom message stack over the builtin matlab one is that:
We don't need to start using this immediately in matlab - switching later should not be hard.
The messaging stack, from low to high level is as follows:
This requires the code in the arduino
directory to be put on the arduino.
This repo either contains or should contain matlab and/or python code that processes these messages at the PC end