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:
- 127:d73a6233ee4b
- Parent:
- 126:03da3a8c8870
- Child:
- 129:a76be8380bb2
diff -r 03da3a8c8870 -r d73a6233ee4b setup.cpp
--- a/setup.cpp Sun Nov 21 08:24:51 2021 +0000
+++ b/setup.cpp Mon Nov 22 09:51:51 2021 +0000
@@ -51,8 +51,8 @@
servoLeft.pulsewidth_us(1500.0);
servoThrust.pulsewidth_us(1100.0);
- autopilot.set_dest(100.0f, 100.0f);
- autopilot.set_turn(100.0f, 100.0f, 50.0f);
+ autopilot.set_dest(0.0f, 0.0f);
+ autopilot.set_turn(0.0f, 0.0f, 50.0f);
autopilot.set_alt(30.0f, 10.0f);
}