Andrew Tridgell
6b73c2151a
AP_NavEKF3: implement moving origin
...
this shifts EKF_origin to the current location at 1Hz, while leaving
public_origin alone. All output APIs and logging are relative to
public_origin.
The effect of this change is to remove the distortion caused by a
spherical earth, which allows the EKF to operate without errors at
very long distances from the public_origin.
4 years ago
Andrew Tridgell
3ded1e6c10
AP_Common: added ftype precision offset call
4 years ago
Peter Barker
7375d1949c
SITL: add support for ms5525 i2c sensor
4 years ago
Randy Mackay
50ce79bcf6
AP_Torqeedo: simple driver to control torqeedo 1003 motor
...
includes fixes from peer review
4 years ago
Randy Mackay
7e68ce5c86
AP_SerialManager: add torqeedo to list of supported protocols
...
note that serial7_protocol and serial8_protocol param lists were missing 37:SmartAudio so this was also added
4 years ago
Randy Mackay
6c180994cd
AP_Math: add support for crc8_maxim
...
Thanks to FastCRC
4 years ago
Hwurzburg
448ae368b1
RC_Channel: fix ELRS systems spamming CRSF mode/rate messages
4 years ago
Hwurzburg
ceeabb85a5
AP_RCTelemetry: fix ELRS systems spamming CRSF mode/rate messages
4 years ago
Leonard Hall
a32b5b3bb0
AC_AttitudeControl: Allow yaw rate reset to be de-selected
4 years ago
Peter Barker
ddb7378bdd
AP_Terrain: add setter for terrain-enabled
...
Currently only useful for unit test
4 years ago
Peter Barker
fc2338612e
AP_Common: stop setting terrain pointer in test_location
...
Also enable/disable as required for testing
4 years ago
Peter Barker
0a068d4d4b
AP_Terrain: default terrain to off in Sub
4 years ago
Peter Barker
f75e258606
SITL: SIM_Ship: correct GLOBAL_POSITION_INT message altitude
4 years ago
Peter Barker
05a0205c21
SITL: change to use terrain singleton
4 years ago
Peter Barker
b625596dfa
AP_Common: use singleton to access AP_Terrain data
4 years ago
Peter Barker
2d28c1065e
AC_WPNav: use singleton to access AP_Terrain data
4 years ago
Peter Barker
de404b1999
AP_Terrain: allow AP_TERRAIN_AVAILABLE to be set in hwdef
...
Use AP_TERRAIN_AVAILABLE instead
4 years ago
Andrew Tridgell
98fb4fcbe7
AP_NavEKF3: convert code_gen.py to ftype
4 years ago
Andrew Tridgell
44f098c86d
AP_NavEKF3: convert powF(xx,2) calls to sq(xx)
4 years ago
Andrew Tridgell
ae8dbe36bb
AP_NavEKF3: convert EKF3 derivation to ftype
4 years ago
Andrew Tridgell
5f87335325
AP_Airspeed: review updates
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
4 years ago
Andrew Tridgell
70bb470eb0
AP_Airspeed: fixed AP_Periph build
4 years ago
Andrew Tridgell
0bdd8231cf
AP_Airspeed: added ARSPD_OPTIONS bit for disabling voltage correction
...
if the MS4525 has its own LDO then we are should disable the
correction
4 years ago
Andrew Tridgell
ca1508b02e
AP_Airspeed: added DEVID parameters for airspeed
...
this makes log analysis easier
4 years ago
Andrew Tridgell
7f85b413f2
AP_Airspeed: use GCS_SEND_TEXT instead of printf for sensor probe messages
4 years ago
Andrew Tridgell
e6c7970a19
AP_Airspeed: support 3 I2C addresses for MS4525
...
and if bus number is configured then use only that bus number,
otherwise probe all buses as per existing behaviour
4 years ago
Peter Barker
a52e823967
AP_HAL_SITL: implement read(buf, length)
4 years ago
Andy Piper
40ec8c723b
AP_RCTelemetry: correct firmware string length for CRSF
4 years ago
Leonard Hall
59909970fa
AC_WPNav: Remove unused function
4 years ago
Leonard Hall
ac0b320922
AC_AttitudeControl: Add accessor for yaw slew limit
4 years ago
Leonard Hall
e2b5d3d585
AC_AttitudeControl: AC_PosControl: support accel only input in the vertical
4 years ago
Leonard Hall
e0e283f13e
AC_AttitudeControl: AC_PosControl: support terrain following
4 years ago
Leonard Hall
7bc6c19306
AC_WPNav: seperate kinimatic shaping from pid limit setting
4 years ago
Leonard Hall
8a2f75d742
AC_AttitudeControl: AC_PosControl: seperate kinimatic shaping from pid limit setting
4 years ago
Leonard Hall
6e82bff55b
AC_AttitudeControl: Add terain following to guided
4 years ago
Randy Mackay
430492469b
AC_WPNav: get_terrain_offset and get_vector_NEU made public
4 years ago
Leonard Hall
620d066a2e
AC_WPNav: move code to generate terrain following kinematic path
4 years ago
Leonard Hall
de36398ebf
AC_Math: Control: Support Accel only input
4 years ago
Leonard Hall
b3acdd49d6
AC_AttitudeControl: AC_PosControl: Support Accel only input
4 years ago
Leonard Hall
8e084a0879
AC_AttitudeControl: AC_PosControl: Change input_pos_xyz name
4 years ago
Andrew Tridgell
75411afd21
AP_Math: added test for SCurve::calculate_path
...
this was the values shown in the core dump for failing guided mode
test in CI
4 years ago
Andrew Tridgell
498220b9f3
AP_Math: fixed error where t4_out could be negative in SCurve::calculate_path
...
this case cropped up in SITL due to floating point accuracies
4 years ago
Andrew Tridgell
b11450c18c
AP_NavEKF: review feedback
4 years ago
Andrew Tridgell
f343c8501b
AP_Math: fixed double fill_nanf()
4 years ago
Andrew Tridgell
168e860f70
AP_Math: fixed a few more single precision calls
4 years ago
Andrew Tridgell
56d9134e38
AP_Common: adjust test_location values
...
for adjusted longitude scale accuracy
4 years ago
Andrew Tridgell
1486a473bd
AP_Math: remove unused rotation_matrix_norm()
4 years ago
Andrew Tridgell
a924f66f70
AP_Common: fixed comment
4 years ago
Andrew Tridgell
5319e3910f
AP_NavEKF3: moved checkUpdateEarthField to be called less often
4 years ago
Andrew Tridgell
d91397f2f2
AP_Math: change wrap_PI to ftype
...
prevent loss of precision
4 years ago