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: IMU MODSERIAL Servo mbed
Fork of RTOS_Controller_v2 by
main.cpp@3:5ffe7e9c0bb3, 2016-07-04 (annotated)
- Committer:
- gelmes
- Date:
- Mon Jul 04 18:56:23 2016 +0000
- Revision:
- 3:5ffe7e9c0bb3
- Parent:
- 2:aabc14a9a8c8
- Child:
- 4:b37fd183e46a
Quaternions are holding me back
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| gelmes | 3:5ffe7e9c0bb3 | 1 | // Continuously sweep the servo through it's full range |
| gelmes | 3:5ffe7e9c0bb3 | 2 | #include "mbed.h" |
| gelmes | 3:5ffe7e9c0bb3 | 3 | #include "vessel.h" |
| gelmes | 3:5ffe7e9c0bb3 | 4 | |
| gelmes | 3:5ffe7e9c0bb3 | 5 | int main() |
| gelmes | 3:5ffe7e9c0bb3 | 6 | { |
| gelmes | 3:5ffe7e9c0bb3 | 7 | Vessel seagoat; //Starts the seagoat |
| gelmes | 3:5ffe7e9c0bb3 | 8 | seagoat.SetYawPID(1,1,1); |
| gelmes | 3:5ffe7e9c0bb3 | 9 | seagoat.SetRollPID(1,1,1); |
| gelmes | 3:5ffe7e9c0bb3 | 10 | seagoat.SetPitchPID(1,1,1); |
| gelmes | 3:5ffe7e9c0bb3 | 11 | |
| gelmes | 3:5ffe7e9c0bb3 | 12 | while(1) {} |
| gelmes | 3:5ffe7e9c0bb3 | 13 | } |
