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 MatrixMath LPS25HB_I2C LSM9DS1 Matrix2 PIDcontroller LoopTicker SBUS_without_mainfile UsaPack solaESKF_wind Vector3 CalibrateMagneto FastPWM
Diff: global.cpp
- Revision:
- 103:34e911b94440
- Parent:
- 95:98dbbcc6b39d
- Child:
- 104:f81befbc5ab7
--- a/global.cpp Fri Feb 18 11:49:52 2022 +0000
+++ b/global.cpp Mon Feb 28 12:21:31 2022 +0000
@@ -56,6 +56,12 @@
bool headingUpdateFlag = false;
bool prefligt_finished = false;
float dynaccnorm2;
+float opt_vx;
+float opt_vy;
+const float theta_px = 42.0f * M_PI / 180.0f;
+const float theta_py = 42.0f * M_PI / 180.0f;
+const int pixel_x = 35;
+const int pixel_y = 35;
int out1, out2;
float scaledServoOut[1] = {0.0f};