The subsystem design/basis for the final project

Dependencies:   mbed-rtos mbed-src pixylib

robot.h

Committer:
balsamfir
Date:
2016-03-13
Revision:
2:2bc519e14bae
Child:
3:dfb6733ae397

File content as of revision 2:2bc519e14bae:

// ----------------------------------------------------------------
// Used to control the robot system
// ----------------------------------------------------------------
void AutoTrack(void);
void ManualControl(void);
void PixySubsystem(void);

// Function prototypes
void MotorControllerISR(void);
void SensorControllerISR(void);
void ExtCollisionISR(void);
void WdtFaultISR(void);
void MotorControlThread(void const *argument);
void SensorControlThread(void const *argument);
void ExtCollisionThread(void const *argument);
void Watchdog(void const *n);
float motorPI(int RL_Motor, float Setpoint, float Kp, float Ki, short dP1, short dt1);