Commit Graph

54795 Commits

Author SHA1 Message Date
Iampete1 8877f45578 AP_Scripting: clear alocated i2c devices on scripting stop 2022-10-14 17:13:10 +09:00
Iampete1 bc1c2bbed4 AP_Scripting: add maunal i2c binding allowing read of sequentual registers 2022-10-14 17:13:10 +09:00
Iampete1 e7ee0ce526 AP_Scripting: allow maunal apobject bindings 2022-10-14 17:13:10 +09:00
Andrew Tridgell 8031dd2be8 AP_Vehicle: implement 1M/2M warnings
encourage users to run the right firmware for their boards
2022-10-14 17:13:10 +09:00
Andrew Tridgell 3bf18422cd hwdef: added warning messages about flash size 2022-10-14 17:13:10 +09:00
Andrew Tridgell 8957152b80 AP_Bootloader: use new check_limit_flash_1M()
use common function
2022-10-14 17:13:10 +09:00
Andrew Tridgell b6e7236d3c HAL_ChibiOS: make check_limit_flash_1M() available in main firmware 2022-10-14 17:13:10 +09:00
Andrew Tridgell 7b1b021c7e Tools: fixed build of bootloaders with debug 2022-10-14 17:13:10 +09:00
Andrew Tridgell 8a862adc29 Plane: prepare for 4.3.0beta3 2022-10-14 17:13:10 +09:00
Andrew Tridgell e40fd07183 Plane: release notes for 4.3.0beta3 2022-10-14 17:13:10 +09:00
Andrew Tridgell 88795dac18 AP_Airspeed: use DEVID to maintain lineup of CAN sensors
persist DEVID and use it to ensure that we keep the order of DroneCAN
sensors between boots. It still allows for a sensor to be swapped out
for a new one, while keeping slot of the one that hasn't been removed
2022-10-14 17:13:10 +09:00
davidsastresas 4c9156eab9 AP_NMEA_Output.cpp: Fix conversion precision issue:
We were casting the location in integer 32 bits
to float, and making fabsf in float as well, so
we were losing precision translated in about 40 cm
minimum variation in position for the NMEA output.

Also, even if using double and fabsF, we were still
rounding up last 2 decimals, so now the logic is
done in degree * 10e7 to not loose precision and
then converted properly before building the string
2022-10-14 17:13:10 +09:00
Andrew Tridgell 0118b8a27f AP_ICEngine: report when engine goes into run state 2022-10-14 17:13:10 +09:00
Andrew Tridgell f489af18eb AP_Vehicle: check for motors being nullptr
this can happen with plane with Q_ENABLE=0
2022-10-14 17:13:10 +09:00
Andrew Tridgell 902b60c88e AP_BoardConfig: fixed BRD_SAFETY_MASK
this was being omitted on most boards since we changed to
SERVOn_FUNCTION=-1 method for GPIO
2022-10-14 17:13:10 +09:00
Andrew Tridgell e7a5bcf6aa AP_Param: fixed handling of long lines in defaults.parm
lines longer than 100 bytes were causing the parsing to stop
2022-10-14 17:13:10 +09:00
mattbooker e4b4d00645 Plane: Fixed divide by zero error when transitioning to guided 2022-10-14 17:13:10 +09:00
Andrew Tridgell 6e009a82ed Plane: prepare for 4.3.0beta2 2022-10-14 17:13:10 +09:00
Randy Mackay a1417a6a90 Copter: version to 4.3.0-beta2 2022-10-04 16:50:08 +09:00
Randy Mackay fcd6d34247 Copter: 4.3.0-beta2 release notes 2022-10-04 16:50:08 +09:00
Randy Mackay 5ac93f1488 Rover: version to 4.3.0-beta2 2022-10-04 16:50:08 +09:00
Randy Mackay 2dd0caab93 Rover: 4.3.0-beta2 release notes 2022-10-04 16:50:08 +09:00
Andrew Tridgell b07a2a93ee Plane: added release notes for 4.3.0beta2 2022-10-04 16:50:08 +09:00
Michael du Breuil d30891e3d1 Plane: Allow reseting target airspeed to the parameter value 2022-10-04 16:50:08 +09:00
Kirill Shilov 84986fda01 hwdef: AIRLink: USART2 enabled in hwdef 2022-10-04 16:50:08 +09:00
Andy Piper 6fc232af92 AP_GyroFFT: correct ref_energy indexing that could lead to free memory read
Fix doc spelling mistakes
2022-10-04 16:50:08 +09:00
Andrew Tridgell 826d7bf984 CI: use base branch for test size
allow test size CI to run for beta builds
2022-10-04 16:50:08 +09:00
Andy Piper a012e9a740 AP_Logger: ensure that we don't read the same block more than once, dramatically increasing performance. 2022-10-04 16:50:08 +09:00
Andrew Tridgell ce103fe101 hwdef: reduce flash usage to allow build 2022-10-04 16:50:08 +09:00
Andrew Tridgell 9415d9fc40 AP_Scripting: delay getting EFI backend
allow for AP_EFI startup after scripting
2022-10-04 16:50:08 +09:00
Andrew Tridgell 24ef595af6 AP_Scripting: changed bindings to ap_object 2022-10-04 16:50:08 +09:00
Andrew Tridgell fe2cc8315a AP_Scripting: convert HFE driver to get_backend 2022-10-04 16:50:08 +09:00
Andrew Tridgell 5d3a34ab10 AP_RPM: added AP_RPM_config.h 2022-10-04 16:50:08 +09:00
Andrew Tridgell 920d7e1bc5 AP_EFI: switched to AP_EFI_config.h 2022-10-04 16:50:08 +09:00
Andrew Tridgell be18ed8245 AP_EFI: convert to using ap_object approach 2022-10-04 16:50:08 +09:00
Andrew Tridgell 1a68678dd6 AP_Scripting: added mag_heading example 2022-10-04 16:50:08 +09:00
Andrew Tridgell a3c6bd0a9c AP_Scripting: added EFI HFE driver 2022-10-04 16:50:08 +09:00
Andrew Tridgell 710eb1046a AP_Scripting: added EFI_HFE tester 2022-10-04 16:50:08 +09:00
Andrew Tridgell 8fe3310ff3 AP_HAL: added id_signed for CANFrame
makes for more efficient lua processing
2022-10-04 16:50:08 +09:00
Andrew Tridgell 1ee32bff88 AP_Scripting: update bindings for new fields 2022-10-04 16:50:08 +09:00
Andrew Tridgell 9b789ac47f AP_EFI: added more fields
fill in 3 remaining fields available in MAVLink
2022-10-04 16:50:08 +09:00
Andrew Tridgell 7f0d71ef98 AP_Scripting: added EFI testing script 2022-10-04 16:50:08 +09:00
Andrew Tridgell 6b08b2a2fd AP_Scripting: added EFI_SkyPower driver 2022-10-04 16:50:08 +09:00
Andrew Tridgell 23e2b6a374 AP_EFI: removed array from cylinder_status
this array was never used and just makes doing drivers harder. Removed
to reduce complexity
2022-10-04 16:50:08 +09:00
Joshua Henderson 75abceeb85 AP_EFI: add EFI scripting driver 2022-10-04 16:50:08 +09:00
Andrew Tridgell 7b975a1b71 AP_Scripting: update docs 2022-10-04 16:50:08 +09:00
Joshua Henderson d71496206f AP_Scripting: add scripting EFI bindings 2022-10-04 16:50:08 +09:00
Joshua Henderson c1f2c1a382 AP_Vehicle: EFI increase loop rate to 50Hz 2022-10-04 16:50:08 +09:00
Andrew Tridgell d492d017e8 AP_PiccoloCAN: fix for new param set 2022-10-04 16:50:08 +09:00
Reilly Callaway 10eb5d3867 AP_PiccoloCAN: SendECU throttle commands over CAN 2022-10-04 16:50:08 +09:00