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:
- 10:836e701d00a6
- Parent:
- 7:950b3c3b5a2b
--- a/gimbal.cpp Mon Mar 26 21:32:30 2018 +0000 +++ b/gimbal.cpp Thu Apr 26 18:33:11 2018 +0000 @@ -15,15 +15,15 @@ void runGimbal(void){ switch(i){ case(0): - gimbal.servo(YAWID, control.yaw, 30); + gimbal.servo(YAWID, control.yaw, control.yawSpeed); i++; break; case(1): - gimbal.servo(PITCHID, control.pitch, 30); + gimbal.servo(PITCHID, control.pitch, control.pitchSpeed); i++; break; case(2): - gimbal.servo(ROLLID, control.roll, 30); + gimbal.servo(ROLLID, control.roll, control.rollSpeed); i = 0; break; }