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.
Dependencies: mbed ros_lib_kinetic
Diff: gimbal.cpp
- 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);