Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of b_NYP_humanoid by
Revision 5:1faeeab28bd1, committed 2018-06-05
- Comitter:
- mr_wang
- Date:
- Tue Jun 05 09:34:33 2018 +0000
- Parent:
- 4:99891561a38b
- Commit message:
- NYP!!
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 99891561a38b -r 1faeeab28bd1 main.cpp --- a/main.cpp Fri May 25 09:00:15 2018 +0000 +++ b/main.cpp Tue Jun 05 09:34:33 2018 +0000 @@ -3,8 +3,6 @@ #include "accgyro.h" #include "behaviour.h" #include "kondo2.h" - -//Thread event_thread; Thread ACCGYRO_thread; Thread SERVO_thread; Thread BEHAVIOUR_thread; @@ -14,7 +12,7 @@ Thread KONDO3_thread; Thread KONDO1_Degrees_Set_thread; Thread KONDO2_Degrees_Set_thread; - +Thread KONDO3_Degrees_Set_thread; int main() { KONDO1_thread.start(KONDO1_init); @@ -24,7 +22,6 @@ KONDO2_Degrees_Set_thread.start(KONDO2_Degrees_Set); KONDO3_Degrees_Set_thread.start(KONDO3_Degrees_Set); ACCGYRO_thread.start(ACCGYRO_init); - //SERVO_thread.start(SERVO_init); BEHAVIOUR_thread.start(BEHAVIOUR_init); //SERVO_init(); //event_thread.start(callback(&event_queue, &EventQueue::dispatch_forever));