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 LPS25HB_I2C LSM9DS1 PIDcontroller Autopilot_Eigen LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM
Diff: setup.cpp
- Revision:
- 137:240588882ae2
- Parent:
- 134:d57c6b2a706b
- Child:
- 139:b378528c05f2
--- a/setup.cpp Wed Dec 01 09:24:24 2021 +0000 +++ b/setup.cpp Wed Dec 01 11:51:49 2021 +0000 @@ -54,6 +54,7 @@ autopilot.set_dest(0.0f, 50.0f); autopilot.set_turn(0.0f, 50.0f, 50.0f); autopilot.set_alt(30.0f, 10.0f); + autopilot.set_climb(3.0f*M_PI/180.0f, 0); } void calibrate()