![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
control for robotic arm that can play chess using a granular gripper
Dependencies: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
actuators.h
- Committer:
- annesteenbeek
- Date:
- 2015-10-09
- Revision:
- 52:2ac9dee099ce
- Parent:
- 50:b0cf07ca53cf
- Child:
- 62:6c566e6f9664
File content as of revision 52:2ac9dee099ce:
#ifndef ACTUATORS_H #define ACTUATORS_H #include "PID.h" #include "mbed.h" #include "config.h" #include "encoder.h" extern bool motorsEnable; // CCW is false(positive rotation), CW is true (neg rotation) extern float motor1Pos; extern float motor2Pos; extern float motor1SetSpeed; extern float motor2SetSpeed; extern float servoPos; extern float motorCall; // Set PID values extern PID motor2PID; void motorInit(); void motorControl(); void servoControl(); void calibrateMotors(); void writeMotors(); #endif