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.hpp
- Revision:
- 87:981895e1d4f2
- Parent:
- 85:0b14a2a600fc
- Child:
- 88:0fc5df2fddcb
--- a/global.hpp Thu Dec 16 12:19:18 2021 +0000 +++ b/global.hpp Fri Jan 07 09:49:19 2022 +0000 @@ -27,8 +27,8 @@ #define MPU6050_LPF MPU6050_DLPF_BW_256 #define gyro_th 20.0f #define PID_dt 0.015f -#define servoPwmMax 1800.0f -#define servoPwmMin 1200.0f +#define servoPwmMax 2100.0f +#define servoPwmMin 900.0f #define motorPwmMax 2000.0f #define motorPwmMin 1100.0f #define N_EEPROM 12 @@ -164,6 +164,7 @@ extern float accScaleCalibrate(int attNo); // run.cpp +extern int gpsitow; extern void run(); // imu.cpp