Commit Graph

55453 Commits

Author SHA1 Message Date
Peter Barker 1457b738ac AP_FlashIface: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 35afd258ca AP_Compass: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 6cf2136691 AP_CANManager: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker bbae74c060 AP_BoardConfig: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 9fb95f425a AP_BLHeli: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker af511af77f AP_Arming: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 533b9e12b1 AP_Airspeed: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 877b1413ea AP_ADSB: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 12b825ba08 AC_CustomControl: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker cf8acf613d AC_Avoidance: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker e340c4655b AC_AutoTune: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 48d25cfc9f AC_AttitudeControl: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Andy Piper 38bc9bfab1 AP_Logger: on example sketches there is always time to write out FMT messages 2022-11-09 19:01:14 +11:00
Andy Piper f9451e36f5 AP_Logger: control PrepForArming in UNKNOWN builds 2022-11-09 19:01:14 +11:00
Andy Piper c1fbdd5972 AP_Arming: allow sketches to use AP_Arming without OpenDroneID 2022-11-09 19:01:14 +11:00
Peter Barker d99e5b91d8 AP_Notify: allow pca9685 to be compiled out of code 2022-11-09 18:45:25 +11:00
Peter Barker 2ee0fb671b AP_HAL_ChibiOS: allow pca9685 to be compiled out of code 2022-11-09 18:45:25 +11:00
Peter Barker 76fa78dacd AP_HAL_ChibiOS: fix SIRF defines
this allows SIRF to be included even on minimised boards if it is requested
2022-11-09 18:44:40 +11:00
Peter Barker 6a64b56b0d AP_GPS: fix SIRF defines
this allows SIRF to be included even on minimised boards if it is requested
2022-11-09 18:44:40 +11:00
Andy Piper 537eea76c8 AP_Camera: fix parameter caching with RunCam enablement and setup on 3-pos switch 2022-11-09 18:34:37 +11:00
Peter Barker 9c1246f318 hwdef: turn MSP on for periphs lacking explicit define 2022-11-09 10:21:44 +11:00
Peter Barker 2f1bda4375 AP_HAL_ChibiOS: explicitly default MSP off for AP_Periph
several Periphs already define this on
2022-11-09 10:21:44 +11:00
Peter Barker 8777d68ac1 autotest: drain self.mav while waiting on other link
In the short period of time it takes for us to get organised/draining mavlink connections, the ArduPilot process might block writing to the primary mavlink connection - in which case we'll never get the message we requested.

Should solve

2022-08-31T23:17:43.6904119Z AT-0227.6: waiting for a message - any message....
2022-08-31T23:17:43.6904958Z AT-0227.6: Received (ATTITUDE {time_boot_ms : 3146, roll : 0.00013471684360411018, pitch : -4.076504410477355e-05, yaw : -2.1274349689483643, rollspeed : 6.679168291157112e-05, pitchspeed : 3.297374496469274e-05, yawspeed : 9.125166684498254e-07})
2022-08-31T23:17:43.6905505Z AT-0227.6: Waiting for mission count of (3) from (1:1) to (243:250)
2022-08-31T23:17:43.6905909Z AT-0227.6: Asserted mission count (type=2) is 3 after 0.100000s
2022-08-31T23:17:43.6906252Z AT-0227.6: Get first item on new link
2022-08-31T23:17:43.6906620Z AT-0289.2: Received exception (Did not receive MISSION_ITEM_INT
2022-08-31T23:17:43.6907047Z Traceback (most recent call last):
2022-08-31T23:17:43.6907386Z   File "/__w/ardupilot/ardupilot/Tools/autotest/rover.py", line 3067, in test_rally
2022-08-31T23:17:43.6907719Z     m2 = self.get_mission_item_int_on_link(
2022-08-31T23:17:43.6908080Z   File "/__w/ardupilot/ardupilot/Tools/autotest/rover.py", line 2288, in get_mission_item_int_on_link
2022-08-31T23:17:43.6908469Z     raise NotAchievedException("Did not receive MISSION_ITEM_INT")
2022-08-31T23:17:43.6908841Z common.NotAchievedException: Did not receive MISSION_ITEM_INT
2022-08-31T23:17:43.6909118Z )
2022-08-31T23:17:43.6909468Z AT-0289.2: Exception caught: Did not receive MISSION_ITEM_INT
2022-11-09 09:17:08 +11:00
Andrew Tridgell 9ec13be880 AP_GPS: fixed injection of RTCM on 2 different CAN buses
if we have two CAN GPS on difference can drivers we need to inject to
both
2022-11-09 09:05:33 +11:00
Andrew Tridgell 8637b2098f AP_Scripting: allow aerobatic sequences to load from a txt file
this allows for complex sequences to be defined in a file like
"trick72.txt"

the example shows how it is done
2022-11-09 09:03:37 +11:00
Willian Galvani ec03459a83 AP_Baro: GND_ -> BARO_ 2022-11-08 11:20:59 -03:00
Willian Galvani 307d7bde62 AP_Baro: add Bus6 to BARO_EXT_BUS values 2022-11-08 11:20:59 -03:00
Willian Galvani 5ae3f96cbe AP_HAL_Linux: add LEAK probe pin to Navigator gpio whitelist 2022-11-08 09:46:50 -03:00
Peter Barker 6f9a948b9b AP_Hott_Telem: move definition of HAL_HOTT_TELEM_ENABLED to minimise include file 2022-11-08 20:23:58 +11:00
Peter Barker 7b93bdd7fd AP_HAL_ChibiOS: move definition of HAL_HOTT_TELEM_ENABLED to minimise include file 2022-11-08 20:23:58 +11:00
Peter Barker 85e5e7181f AP_Soaring: move definition of HAL_SOARING_ENABLED to minimise include file 2022-11-08 20:23:58 +11:00
Peter Barker 8708b5f256 AP_HAL_ChibiOS: move definition of HAL_SOARING_ENABLED to minimise include file 2022-11-08 20:23:58 +11:00
Andy Piper 209dd15346 AP_Logger: need to be able to finish format messages even when there is no fence 2022-11-08 17:56:00 +11:00
Peter Barker 506030820e AP_HAL: define HAL_MAX_CAN_PROTOCOL_DRIVERS for bootloader in hwdef.h 2022-11-08 12:06:54 +11:00
Peter Barker fc8ad509f7 AP_HAL_ChibiOS: define HAL_MAX_CAN_PROTOCOL_DRIVERS for bootloader in hwdef.h 2022-11-08 12:06:54 +11:00
Andrew Tridgell f84e0c9e8b AP_GPS: disable GPS lag checking in AP_Periph
it is much more useful to check on the flight controller, not on the
periph, or users just get mysterious failures
2022-11-08 11:39:20 +11:00
Peter Barker 6bb84e5da0 AP_Notify: make explicit define for notify's NCP5623 2022-11-08 10:56:12 +11:00
Peter Barker 6e6fb70541 AP_HAL_ChibiOS: make explicit define for notify's NCP5623 2022-11-08 10:56:12 +11:00
Henry Wurzburg a84f6b6dee Plane: added AUTOTUNE_AXES function to normal tune
Co-authored-by: Peter Hall
2022-11-08 10:54:36 +11:00
Iampete1 1547c65ff3 AP_Scripting: bindings: logging: add flag to copy format strings 2022-11-08 10:49:43 +11:00
Iampete1 1df00d879a AP_Logger: add option allocate scripting format strings in msg_fmt_for_name 2022-11-08 10:49:43 +11:00
Lucas De Marchi 175e6d3e7e Tools: Update fram params for skyviper
Set the necessary SERVO*_FUNCTION params so it doesn't conflict.
2022-11-08 08:21:06 +09:00
Peter Barker 0bea140239 AP_OpticalFlow: include cleanups 2022-11-08 09:49:19 +11:00
Peter Barker 2f29dd9b18 AP_Compass: include cleanups 2022-11-08 09:49:19 +11:00
Peter Barker 4bdac4afc5 AP_Mount: include cleanups 2022-11-08 09:49:19 +11:00
Peter Barker bc5839c1f4 AP_AdvancedFailsafe: include cleanups 2022-11-08 09:49:19 +11:00
Peter Barker 06d90b1a1e GCS_MAVLink: include cleanups 2022-11-08 09:49:19 +11:00
Peter Barker 9be030309a AP_VisualOdom: include cleanups 2022-11-08 09:49:19 +11:00
Peter Barker 4fccfdd56f AP_Scripting: include cleanups 2022-11-08 09:49:19 +11:00
Peter Barker a6510daf6a AP_RangeFinder: tidy AP_SerialManager.h includes 2022-11-08 09:49:19 +11:00