eric-wieser / cued-4m20-robot

matlab/python/arduino code for controlling the robot
MIT License
0 stars 0 forks source link
cued robotics

4m20-coursework2

matlab/python/arduino code for controlling the robot

Hardware summary

Actuators

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.

Sensors

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.

Messaging protocol

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