NYP_Humanoid_robot_FYP_2018

Dependencies:   LSM6DSL

Fork of b_NYP_humanoid by Junjie Wang

Files at this revision

API Documentation at this revision

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
--- 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));