UVic Assistive Technology Lab / Mbed 2 deprecated DSLR_Camera_Gimbal

Dependencies:   mbed ros_lib_kinetic

Revision:
2:0537a8007a39
Parent:
0:3a767f41cf04
Child:
3:527f0b949839
--- a/gimbal.cpp	Tue Feb 06 20:50:55 2018 +0000
+++ b/gimbal.cpp	Thu Feb 08 22:23:40 2018 +0000
@@ -15,8 +15,7 @@
 void runGimbal(void){
 
     // At 1ms update the gimbal.
-    if (motorFlag && control.gimbalRun){
-        motorFlag = 0;
+    if (control.gimbalRun){
         switch(i){
             case(0):
             gimbal.servo(YAWID, control.yaw, 30);