Commit Graph

54371 Commits

Author SHA1 Message Date
Peter Barker
441d83f05e hwdef: split SimOnHW.inc from CubeOrange-SimOnHW config
makes this easier to reuse on other boards
2022-08-16 09:39:03 +10:00
TunaLobster
04a6a2fce7 Tools: build_options.py: Add macros for Fuel options
Adds macros for FuelFlow, FuelLevel_PWM, and FuelLevel_Analog. The features are enabled on all 2MB boards.
2022-08-16 09:36:31 +10:00
TunaLobster
01035b81b3 AP_HAL_ChibiOS: Add macros for Fuel options
Adds macros for FuelFlow, FuelLevel_PWM, and FuelLevel_Analog. The features are enabled on all 2MB boards.
2022-08-16 09:36:31 +10:00
TunaLobster
aa2c6b8d17 AP_BattMonitor: Add macros for Fuel options
Adds macros for FuelFlow, FuelLevel_PWM, and FuelLevel_Analog. The features are enabled on all 2MB boards.
2022-08-16 09:36:31 +10:00
TunaLobster
6733f75542 AP_BattMonitor: Add Fuel Level Analog driver 2022-08-16 09:36:31 +10:00
Peter Barker
18f3a6bc69 Tools: make HAL_FLASH_PROTECTION a boolean, stop checking for definition 2022-08-16 08:10:16 +10:00
Peter Barker
ecde9f8c3f AP_HAL_ChibiOS: make HAL_FLASH_PROTECTION a boolean, stop checking for definition 2022-08-16 08:10:16 +10:00
Peter Barker
9f58e7df31 autotest: add test for quadplane booting in auto 2022-08-16 07:24:22 +10:00
Andrew Tridgell
b6186db24e AP_OpenDroneID: report if we lose operator location 2022-08-15 12:45:06 +10:00
Andrew Tridgell
c955c75b9d waf: allow for --enable-opendroneid on any board
useful for testing
2022-08-15 12:45:06 +10:00
Randy Mackay
e4484d7f92 Copter: 4.2.3-rc2 release notes 2022-08-15 11:07:57 +09:00
Randy Mackay
bfda1d979f Rover: 4.2.3-rc2 release notes 2022-08-15 11:07:48 +09:00
Andrew Tridgell
a9d97d90c4 hwdef: removed APP_DESCRIPTOR settings
not needed
2022-08-15 09:18:34 +10:00
Andrew Tridgell
1f2e813f74 Tools: updated ODID bootloaders 2022-08-15 09:18:34 +10:00
Andrew Tridgell
8b9570975b hwdef: added AP_OPENDRONEID_ENABLED to hwdef-bl.dat 2022-08-15 09:18:34 +10:00
Andrew Tridgell
a8ab7c3865 HAL_ChibiOS: auto-define AP_CHECK_FIRMWARE_ENABLED for AP_Periph 2022-08-15 09:18:34 +10:00
Andrew Tridgell
e60550a005 AP_Bootloader: use AP_CheckFirmware 2022-08-15 09:18:34 +10:00
Andrew Tridgell
2f3fe19aca AP_Periph: use AP_CheckFirmware 2022-08-15 09:18:34 +10:00
Andrew Tridgell
df75c1796a waf: added --enable-check-firmware option 2022-08-15 09:18:34 +10:00
Andrew Tridgell
f7e4b5c72d AP_Vehicle: use AP_CheckFirmware 2022-08-15 09:18:34 +10:00
Andrew Tridgell
aeb6d2ab89 AP_CheckFirmware: added library for checking firmware ID and CRC 2022-08-15 09:18:34 +10:00
Andrew Tridgell
68f05c7386 AP_OpenDroneID: added AP_OpenDroneID_config.h 2022-08-15 09:18:34 +10:00
Andrew Tridgell
673fed92c7 AP_OpenDroneID: fixed checking of payload space
this fixes DroneCAN operation without a mavlink channel set
2022-08-15 08:54:48 +10:00
Peter Barker
d092e767ea AP_Common: correct gtests
AFAIK it's invalid to new a zero-length array.
2022-08-15 07:39:39 +10:00
Andrew Tridgell
2a95ced697 GCS_MAVLINK: pass OPEN_DRONE_ID_SYSTEM_UPDATE to library 2022-08-14 22:02:43 +10:00
Andrew Tridgell
b52c280704 AP_OpenDroneID: check available tx space and fixed message rates
ensure we don't lose messages due to lack of serial TX space, and
fixed update rate of LOCATION and SYSTEM_UPDATE msgs
2022-08-14 22:02:43 +10:00
Andrew Tridgell
0fc6c813a1 AP_OpenDroneID: implement OPEN_DRONE_ID_SYSTEM_UPDATE
this is a bandwidth efficient way to update the OPEN_DRONE_ID_SYSTEM message data when there is limited uplink bandwidth. Testing on real vehicles shows that with RFD900x radios at an air data rate of 125kbit/s with OPEN_DRONE_ID messages with 1Hz update (as required by FAA RemoteID standard) that there is significant impact on the ability of the GCS to give commands to the flight controller. For example, I got a high degree of packet loss in downloading parameter pre-flight, and many/most in-flight commands failed from the GCS.
By using this message we can use the minimum required bandwidth for updating operator location while remaining FAA RemoteID standard compliant
2022-08-14 22:02:43 +10:00
Andrew Tridgell
e5db2ea111 mavlink: submodule update 2022-08-14 22:02:43 +10:00
Peter Barker
bbff00dc0d autotest: be generous with mission upload timeouts
A *lot* of simulated time can pass while the Python gets its act together.  Allow a very large amount of time to pass while uploading missions.
2022-08-14 08:21:07 +10:00
Peter Barker
eed9c2e38b autotest: validate kwargs to wait_and_maintain_range 2022-08-14 07:52:42 +10:00
Peter Barker
add5243634 autotest: Rover: ensure we actually stop at rally point 2022-08-14 07:52:42 +10:00
Peter Barker
a237a42390 build_ci.sh: change back to original directory after running profile
.profile changes directory on Vagrant VMs.
2022-08-14 07:50:27 +10:00
Peter Barker
26d3ffc27d GCS_MAVLink: correct INS_generic example
segfaults due to lack of singletoin objects in examples
2022-08-13 20:53:29 +10:00
Peter Barker
a4773413e4 AP_InertialSensor: correct INS_generic example
segfaults due to lack of singletoin objects in examples
2022-08-13 20:53:29 +10:00
Peter Barker
44229c87f0 Tools: size_compare_branches: allow compilation with --extra-hwdef 2022-08-13 09:31:13 +10:00
Andy Piper
3521090dd5 AP_HAL_ChibiOS: correct HAL_SPI_CHECK_CLOCK_FREQ build error 2022-08-12 20:53:36 +10:00
Andy Piper
a6312ac893 AP_InertialSensor: correctly detect bad frames on regular ICM42xxx 2022-08-12 20:53:36 +10:00
Andy Piper
2b7bb84838 AP_HAL_ChibiOS: increase ICM42xxx SPI clock to 16Mhz on MatekH743 2022-08-12 20:53:36 +10:00
Andy Piper
221ab9752e AP_InertialSensor: synchronise fifo reads on the ICM42xxx 2022-08-12 20:53:36 +10:00
Peter Barker
5eb2f6780e autotest: tidy angle test 2022-08-12 19:55:32 +10:00
Randy Mackay
3097eb763e Rover: 4.2.3-rc1 release notes 2022-08-12 15:56:33 +09:00
Randy Mackay
c7dc1fc441 Copter: 4.2.3-rc1 release notes 2022-08-12 15:56:22 +09:00
Peter Barker
8fd5df33d5 autotest: add test for stick-mixing in auto mode 2022-08-11 20:03:12 -04:00
Peter Barker
aec179ca40 Rover: fix stick mixing in auto mode 2022-08-11 20:03:12 -04:00
Peter Barker
ffc0d8b229 autotest: add test that we need RC input by default to arm for Copter 2022-08-11 20:01:45 -04:00
Peter Barker
cb9f376638 Copter: make rc-in-failsafe checks a prearm check rather than an at-arm check 2022-08-11 20:01:45 -04:00
Peter Barker
1e3f37908c Copter: factor out an rc_throttle_failsafe_checks method
NFC, preparing to call this from elsewhere
2022-08-11 20:01:45 -04:00
Peter Barker
46dacd3b61 autotest: add tests for disallowing flying mid-air 2022-08-12 09:44:08 +10:00
Peter Barker
48fd37cd25 AP_DroneID: add missing element to constructor 2022-08-11 21:06:04 +01:00
Peter Barker
445ee86734 autotest: tidy resetting of parameters after battery failsafe test 2022-08-11 13:32:24 +10:00