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.
Diff: RTOS-Threads/src/Task2.cpp
- Revision:
- 9:371950017779
- Parent:
- 7:3d28cfc4901b
- Child:
- 10:ef5fe86f67fe
diff -r f3e192cc714c -r 371950017779 RTOS-Threads/src/Task2.cpp --- a/RTOS-Threads/src/Task2.cpp Wed Apr 30 12:22:56 2014 +0000 +++ b/RTOS-Threads/src/Task2.cpp Wed Apr 30 13:49:12 2014 +0000 @@ -12,9 +12,9 @@ void Task2(void const *argument) { - yawPIDrate.setSetPoint((RCCommand[0]-1500)*9/10); - pitchPIDrate.setSetPoint((RCCommand[1]-1500)*-1*9/10); - rollPIDrate.setSetPoint((RCCommand[2]-1500)*9/10); + yawPIDrate.setSetPoint((RCCommand[0]-1500)*9/100); + pitchPIDrate.setSetPoint((RCCommand[1]-1500)*-1*9/100); + rollPIDrate.setSetPoint((RCCommand[2]-1500)*9/100); imu.getRotation(&gx, &gy, &gz); gx /= 32.8;