Andrew Tridgell
b6e7236d3c
HAL_ChibiOS: make check_limit_flash_1M() available in main firmware
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
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
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
Reilly Callaway
26116675bf
AP_EFI: Add Currawong ECU packet decoding
2022-10-04 16:50:08 +09:00
Reilly Callaway
6f6725019a
AP_EFI: Add ECU density parameter for Currawong fuel flow calculations
2022-10-04 16:50:08 +09:00
Reilly Callaway
af07ec124b
AP_EFI: Add Currawong ECU to known types
2022-10-04 16:50:08 +09:00
Reilly Callaway
be580bbbf8
AP_PiccoloCAN: Add Currawong ECU message handling
2022-10-04 16:50:08 +09:00
Reilly Callaway
95f28b3693
AP_PiccoloCAN: Add Currawong ECU piccolo protocol
2022-10-04 16:50:08 +09:00
Reilly Callaway
49b7efe4cb
AP_EFI: Add currawong ECU EFI backend
2022-10-04 16:50:08 +09:00
Reilly Callaway
d3ee4ebf64
AP_Math: Add kg/m^3 to g/cm^3 conversion define
2022-10-04 16:50:08 +09:00
Andrew Tridgell
232c31053e
AP_UAVCAN: support sending pulses as PWM for DroneCAN actuators
2022-10-04 16:50:08 +09:00
Andy Piper
a5a8bfaf43
Filter: optimize notch filter frequency updates when the requested frequency has not changed
2022-10-04 16:50:08 +09:00
yaapu
99a73a6a12
AP_MSP: move arming status to MSP telemetry base class
2022-10-04 16:50:08 +09:00
yaapu
9e0425495e
AP_OSD: New per screen PARAMs for OSD overlay resolution and font
...
This adds
OSDn_TXT_RES to select SD/HD overlay resoloution
OSDn_FONT_INDEX for font index selection
Right now support is limited to MSP Displayport OSD devices
2022-10-04 16:50:08 +09:00
Randy Mackay
2e70b585b4
AP_Mount: remove set_mode overrides
...
The mode state is local to the driver and does not depend upon successful communication with the gimbal
2022-10-04 16:50:08 +09:00
yaapu
871627eb2d
AP_OSD: Fixed UART thread ownership for the MSP DisplayPort OSD Backend
2022-10-04 16:50:08 +09:00
Henry Wurzburg
c49fede360
SRV_Channel: change sw and output names to match new MOUNT params
2022-10-04 16:50:08 +09:00
Henry Wurzburg
9e365dfc36
RC_Channel: change sw and output names to match new MOUNT params
2022-10-04 16:50:08 +09:00
Michael du Breuil
6a5ad848a4
AP_Arming: Expose ARMING_OPTIONS to all vehicles
2022-10-04 16:50:08 +09:00
murata
40a03367f3
AP_InertialSensor: Allow gyro counts to be returned
2022-10-04 16:50:08 +09:00
Andy Piper
b159268af2
AP_InertialSensor: make sure dynamic notches always get updates so that slew limiting is not too aggressive
2022-10-04 16:50:08 +09:00