Commit Graph

47032 Commits

Author SHA1 Message Date
Peter Barker 6a3188a8ec AC_PrecLand: use enum-class for Type, make enum private 2021-04-14 18:04:26 +10:00
Peter Barker 252543978e AC_PrecLand: remove unused PrecLandBehaviour enum and accessor
AFAICS this has never been used
2021-04-14 18:04:26 +10:00
Peter Barker 1ad9542df3 AC_PrecLand: use enum-class for EstimatorType
And remove accessor for same
2021-04-14 18:04:26 +10:00
Peter Barker d9144ab47c Rover: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker ed4dcea57a Blimp: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker cb7ac6fb54 ArduSub: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker 6a32afcd72 ArduPlane: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker 6727a6588f ArduCopter: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Philippe Hamelin 187549b431 SITL: Add NMEA THS message. 2021-04-14 17:20:28 +10:00
Philippe Hamelin 738d000f86 AP_GPS: Add NMEA THS message. 2021-04-14 17:20:28 +10:00
Peter Barker ff072c5215 Copter: stop sending POSITION_TARGET_LOCAL_NED in guided-angle mode
The values we were sending through were not relevant
2021-04-14 16:12:57 +09:00
Peter Barker 5df8dd8c50 Copter: move guided submode enumeration into ModeGuided 2021-04-14 16:12:57 +09:00
Andrew Tridgell 3e138aa98a AP_Filesystem: fixed a read past EOF bug in @PARAM
this could cause mavproxy FTP param download to fail
2021-04-14 17:05:49 +10:00
Tatsuya Yamaguchi 5fd46c02ad AP_ExternalAHRS: remove message when EAHRS_TYPE is None 2021-04-14 14:46:03 +10:00
Andrew Tridgell 9990404e64 HAL_ChibiOS: fixed G4 analog input build
use right resolution in ADC peripheral for ADCv3
2021-04-14 13:11:58 +10:00
Andrew Tridgell ae986967c9 Tools: add G4-ESC to build
this ensures G4 keeps building
2021-04-14 13:11:58 +10:00
Peter Barker fa9ac072ec Copter: remove unused AP_IRLock include
This header is included as required by the AC_PrecLand library - it is
now responsible for actually instantiating the AP_IRLock instance if
required, so Copter doesn't need to know anything about AP_IRLock.
2021-04-14 12:01:12 +10:00
Andrew Tridgell 1fe1e53260 AC_PrecLand: pass in time corrected LANDING_TARGET msg
should make companion based precision landing more accurate
2021-04-13 17:30:19 +10:00
Andrew Tridgell 5a869174e5 Copter: use handle_landing_target() for precland
allows for jitter correction
2021-04-13 17:30:19 +10:00
Andrew Tridgell 8444a3310d GCS_MAVLink: added handle_command_landing_target()
used to allow vehicle handling of time corrected LANDING_TARGET msgs
2021-04-13 17:30:19 +10:00
Hwurzburg cc4fe29d8f AP_OSD: add icon for terrain alt panel and font editor 2021-04-13 14:50:07 +10:00
Peter Barker 9513bbe85f AC_Precland: remove unused _timestamp_us 2021-04-13 14:18:05 +10:00
Andrew Tridgell b749756c29 Plane: setup SMAX for Q modes
this enables logging of rates, which helps with tuning
2021-04-13 10:28:47 +10:00
Andrew Tridgell b984dd4a62 Plane: added in FF component in tailsitters
this is needed for decent control of tailsitters
2021-04-13 10:28:47 +10:00
Andrew Tridgell ea3657e941 AP_Motors: added accessors for ff output to motors
needed for tailsitters
2021-04-13 10:28:47 +10:00
Peter Barker 84d5c0fea9 Blimp: remove unused Log_Write_Precland method
... and a dead define to match
2021-04-13 10:28:39 +10:00
Peter Barker 6fe58a807d AP_Logger: move precision landing logging up into AC_PrecLand 2021-04-13 10:28:39 +10:00
Peter Barker 6d9f1f1bb4 AC_PrecLand: move precision landing logging up into AC_PrecLand 2021-04-13 10:28:39 +10:00
Peter Barker 65b1868863 Copter: move precision landing logging up into AC_PrecLand 2021-04-13 10:28:39 +10:00
Peter Hall 105f94f1fd Plane: tailsitter: transistion to and from inverted flight 2021-04-13 10:02:28 +10:00
Andrew Tridgell eca8cf3414 HAL_ChibiOS: save flash on boards that are critically low
move to single OSD font on some boards

this saves about 12k on these boards. They were also extremely close
to overflowing flash, under 2k on some

Now that we support having an OSD font on the microSD card (where
available) we can reduce built in fonts without a large functionality
impact

This also disables some less used features on these boards:

 - generator support
 - object avoidance path planning
 - precision landing

This will give us some breathing room on these boards
2021-04-13 09:58:59 +10:00
Andrew Tridgell bb28a58bce AP_ExternalAHRS: added frontend/backend split
allow for multiple backends
2021-04-13 09:36:52 +10:00
Andrew Tridgell b3ed4f4b12 AP_InertialSensor: fixed handling of more than 3 accel/gyro instances
allows for first 3 to work without a panic
2021-04-13 09:36:52 +10:00
Andrew Tridgell fd3bf0f639 HAL_Linux: added --defaults option to Linux HAL
useful for initial parameters
2021-04-13 09:36:52 +10:00
Andrew Tridgell ae088f792d AP_ExternalAHRS: added EAHRS_RATE for IMU rate
this allows setting of required data rate from the external AHRS
2021-04-13 09:36:52 +10:00
Andrew Tridgell 266b425115 HAL_SITL: use common nmea_printf() 2021-04-13 09:36:52 +10:00
Andrew Tridgell 3650c02745 AP_GPS: use common nmea_printf() 2021-04-13 09:36:52 +10:00
Andrew Tridgell 6c29f8c24f AP_Common: added common nmea_printf code 2021-04-13 09:36:52 +10:00
Mirko Denecke e904de3431 AP_Scripting: add position light example 2021-04-13 09:23:59 +10:00
vierfuffzig 10f15fbba5 AP_OSD: add kilo symbol to RPM panel 2021-04-13 09:08:36 +10:00
Tatsuya Yamaguchi 85bb3bef19 Rover: minor fix to release notes
This PR is NFC to fixup some spelling errors.
2021-04-13 07:58:04 +09:00
Samuel Tabor e78d6fee0a AP_Soaring: Ensure minimum cruise times are respected when RC switch position is changed. 2021-04-12 18:38:10 +10:00
Samuel Tabor 9a7f80789f AP_Soaring: Update vario tau calculation to use SOAR_THML_BANK. 2021-04-12 16:24:03 +10:00
Andy Piper 4fd88e8ad0 AP_VideoTX: don't try to change pitmode on anything other than SA2.1 2021-04-12 16:22:36 +10:00
Andy Piper bfcefa3f34 AP_VideoTX: prioritize pitmode changes over power changes 2021-04-12 16:22:36 +10:00
Andy Piper de64467ca3 AP_RCTelemetry: prioritize pitmode changes over power changes 2021-04-12 16:22:36 +10:00
Peter Barker 31c889f583 autotest: accept Copter/Plane/Sub for sim_vehicle.py 2021-04-12 13:35:16 +10:00
Randy Mackay 6a98ad5a29 Copter: loiter-turns fix 2021-04-12 08:30:19 +09:00
Andrew Tridgell affff0fc84 Tools: test mission from Leonards S-curve talk 2021-04-11 19:16:09 +10:00
Peter Barker f2692ab8d9 Tools: build_parameters: generate AP_Periph parameters 2021-04-11 11:31:41 +10:00