The subsystem design/basis for the final project
Dependencies: mbed-rtos mbed-src pixylib
robot.h@2:2bc519e14bae, 2016-03-13 (annotated)
- Committer:
- balsamfir
- Date:
- Sun Mar 13 17:55:42 2016 +0000
- Revision:
- 2:2bc519e14bae
- Child:
- 3:dfb6733ae397
First compile of big ass change
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
balsamfir | 2:2bc519e14bae | 1 | // ---------------------------------------------------------------- |
balsamfir | 2:2bc519e14bae | 2 | // Used to control the robot system |
balsamfir | 2:2bc519e14bae | 3 | // ---------------------------------------------------------------- |
balsamfir | 2:2bc519e14bae | 4 | void AutoTrack(void); |
balsamfir | 2:2bc519e14bae | 5 | void ManualControl(void); |
balsamfir | 2:2bc519e14bae | 6 | void PixySubsystem(void); |
balsamfir | 2:2bc519e14bae | 7 | |
balsamfir | 2:2bc519e14bae | 8 | // Function prototypes |
balsamfir | 2:2bc519e14bae | 9 | void MotorControllerISR(void); |
balsamfir | 2:2bc519e14bae | 10 | void SensorControllerISR(void); |
balsamfir | 2:2bc519e14bae | 11 | void ExtCollisionISR(void); |
balsamfir | 2:2bc519e14bae | 12 | void WdtFaultISR(void); |
balsamfir | 2:2bc519e14bae | 13 | void MotorControlThread(void const *argument); |
balsamfir | 2:2bc519e14bae | 14 | void SensorControlThread(void const *argument); |
balsamfir | 2:2bc519e14bae | 15 | void ExtCollisionThread(void const *argument); |
balsamfir | 2:2bc519e14bae | 16 | void Watchdog(void const *n); |
balsamfir | 2:2bc519e14bae | 17 | float motorPI(int RL_Motor, float Setpoint, float Kp, float Ki, short dP1, short dt1); |