BroBot Code for ESE350 Lab6 part 3 (Skeleton)
Dependencies: MPU6050_V3 mbed-rtos mbed
Fork of BroBot_RTOS_ESE350 by
rtos_definations.h@16:3a85662fb740, 2017-02-08 (annotated)
- Committer:
- arvindnr89
- Date:
- Wed Feb 08 22:33:21 2017 +0000
- Revision:
- 16:3a85662fb740
- Parent:
- 11:2553f5798f84
- Child:
- 17:8e2824f64b91
started trajectory folowing
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
arvindnr89 | 11:2553f5798f84 | 1 | #ifndef _RTOS_DEFINATIONS_H |
arvindnr89 | 11:2553f5798f84 | 2 | #define _RTOS_DEFINATIONS_H |
arvindnr89 | 11:2553f5798f84 | 3 | |
arvindnr89 | 11:2553f5798f84 | 4 | //*********** Thread Definations BEGIN ***********// |
arvindnr89 | 11:2553f5798f84 | 5 | //EVENT Signals |
arvindnr89 | 11:2553f5798f84 | 6 | #define IMU_UPDATE_SIGNAL 0x02 |
arvindnr89 | 11:2553f5798f84 | 7 | |
arvindnr89 | 11:2553f5798f84 | 8 | |
arvindnr89 | 11:2553f5798f84 | 9 | |
arvindnr89 | 11:2553f5798f84 | 10 | void imu_update_thread(void const *args); |
arvindnr89 | 11:2553f5798f84 | 11 | osThreadId imu_update_thread_ID; |
arvindnr89 | 11:2553f5798f84 | 12 | osThreadDef(imu_update_thread, osPriorityHigh, DEFAULT_STACK_SIZE); |
arvindnr89 | 11:2553f5798f84 | 13 | |
arvindnr89 | 11:2553f5798f84 | 14 | void communication_update_thread(void const *args); |
arvindnr89 | 11:2553f5798f84 | 15 | osThreadId communication_update_thread_ID; |
arvindnr89 | 11:2553f5798f84 | 16 | osThreadDef(communication_update_thread, osPriorityAboveNormal, DEFAULT_STACK_SIZE); |
arvindnr89 | 11:2553f5798f84 | 17 | |
arvindnr89 | 11:2553f5798f84 | 18 | void pid_update_thread(void const *args); |
arvindnr89 | 11:2553f5798f84 | 19 | osThreadId pid_update_thread_ID; |
arvindnr89 | 11:2553f5798f84 | 20 | osThreadDef(pid_update_thread, osPriorityNormal, DEFAULT_STACK_SIZE); |
arvindnr89 | 11:2553f5798f84 | 21 | |
arvindnr89 | 16:3a85662fb740 | 22 | /* |
arvindnr89 | 16:3a85662fb740 | 23 | void waypoint_update_thread(void const *args); |
arvindnr89 | 16:3a85662fb740 | 24 | osThreadId waypoint_update_thread_ID; |
arvindnr89 | 16:3a85662fb740 | 25 | osThreadDef(waypoint_update_thread, osPriorityNormal, DEFAULT_STACK_SIZE); |
arvindnr89 | 16:3a85662fb740 | 26 | */ |
arvindnr89 | 11:2553f5798f84 | 27 | |
arvindnr89 | 11:2553f5798f84 | 28 | |
arvindnr89 | 11:2553f5798f84 | 29 | //*********** Thread Definations END *************// |
arvindnr89 | 11:2553f5798f84 | 30 | #endif |