Commit Graph

26217 Commits

Author SHA1 Message Date
Peter Barker 6a914ce4be AP_VisualOdom: do not build on 1MB boards
master: bin/arduplane  978396  1956  129204  1109556
new   : bin/arduplane  971716  1956  129204  1102876
2021-06-09 20:12:44 +09:00
bugobliterator 63b8733aab AP_CANManager: add support for multiple protocols on AP_Periph using CANSensor 2021-06-09 18:36:18 +10:00
Tom Pittenger 5e4efe9f57 AP_ToshibaCAN: AP::can().log_text() needs HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger 96055e877b AP_PiccoloCAN: AP::can().log_text() needs HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger c833a71fff AP_KDECAN: AP::can().log_text() needs HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger 4054b5e891 AP_HAL_Linux: AP::can().log_text() needs HAL_ENABLE_LIBUAVCAN_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger c807035e02 AP_UAVCAN: use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger aec9d45573 AP_HAL_SITL: use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger 7a004656a2 AP_HAL_ChibiOS: use HAL_ENABLE_LIBUAVCAN_DRIVERS instead of HAL_MAX_CAN_PROTOCOL_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger 1feec460c4 AP_HAL_ChibiOS: enable BattMon MPPT PacketDigital to CubeOrange-periph 2021-06-09 18:36:18 +10:00
Tom Pittenger adccc3deb7 AP_BattMonitor: add support for AP_Periph MPPT driver 2021-06-09 18:36:18 +10:00
Tom Pittenger 0590352bef SRV_Channel: do not use AP_UAVCAN unless LIBUAVCAN is enabled 2021-06-09 18:36:18 +10:00
Tom Pittenger 806b6a63bf AP_HAL: reorganize precompiler for HAL_ENABLE_LIBUAVCAN_DRIVERS and HAL_MAX_PROTOCOL_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger bdf0efbbe7 AP_CANManager: reorganize precompiler for HAL_ENABLE_LIBUAVCAN_DRIVERS and HAL_MAX_PROTOCOL_DRIVERS 2021-06-09 18:36:18 +10:00
Tom Pittenger f764bd6547 AP_HAL_ChibiOS: disable EventSource only when CH_CFG_USE_EVENTS is false
(cherry picked from commit 6e7542a70ca2343ab8d18470deaf5fc2d27390af) from bugobliterator
2021-06-09 18:36:18 +10:00
Andrew Tridgell f09abc705b HAL_ChibiOS: bring us to 18k free for MatekF405-Wing plane build 2021-06-09 18:07:00 +10:00
Andrew Tridgell 6c24a030a6 GCS_MAVLink: use HAL_EFI_ENABLED 2021-06-09 18:07:00 +10:00
Andrew Tridgell 6a1e3afe33 AP_RPM: use HAL_EFI_ENABLED 2021-06-09 18:07:00 +10:00
Andrew Tridgell cc6d799e7a AP_EFI: change to use HAL_EFI_ENABLED 2021-06-09 18:07:00 +10:00
Pierre Kancir 519b1a6913 AP_Math: correct and increase unit test coverage
AP_Math: correct some tests

AP_Math: more vector2 tests

AP_Math: make test_vector2 complete

AP_Math: add initial unittest for vector3
2021-06-09 18:06:18 +10:00
Andy Piper 88bbec01b0 AP_Common: add firmware string without git hash. 2021-06-09 17:35:11 +10:00
Andy Piper 96acb46fbf AP_RCTelemetry: correct VTX power settings and pass parameter requests more quickly
return parameter ids when CRSF folder request is made
turn off telemetry while processing parameters
2021-06-09 17:35:11 +10:00
Andy Piper 4a05e65367 AP_BLHeli: ensure digital motor masks are setup correctly regardless of AUTO setting 2021-06-09 17:28:53 +10:00
Andy Piper cf257074c6 AP_Camera: support RunCam Hybrid correctly 2021-06-09 17:04:27 +10:00
Andrew Tridgell f2b7d44772 AP_Compass: fixed build with AP_Periph compass 2021-06-09 15:09:46 +10:00
Andrew Tridgell b23afc4a9e AP_Filesystem: disallow file operations from main thread while armed
this stops all file operations from the main thread while armed,
allowing for a 3s grace time on arming to allow for initial log
file creation
2021-06-09 15:08:28 +10:00
Andrew Tridgell 1279772d92 AP_Logger: disallow log creation in main thread when armed
this fixes an issue where the sd card fails in flight and then
re-mounts. When that happens the logging backend can trigger a new log
open. That causes filesystem operations in the main thread while
flying. That can cause long delays or even a watchdog.

Thanks to Giacomo for noticing this on his flying wing
2021-06-09 15:08:28 +10:00
Josh Henderson 757fc1d679 AC_WPNav: ensure that wp_radius greater than min
Co-authored-by: Murata,Katsutoshi <ma2maru@gmail.com>
2021-06-09 10:55:15 +09:00
Pierre Kancir 117ca8a6ef AP_Rangefinder: make backend get_reading() pure virtual 2021-06-09 10:52:00 +09:00
Pierre Kancir 88b5ff8c6f AP_Rangefinder: make get_temp const 2021-06-09 10:52:00 +09:00
Andrew Tridgell 3a6bafc6a6 SITL: fixed order of rotations in tilt vehicles
tilt is in body frame, not rotated arm frame, so needs to be applied
2nd
2021-06-08 19:11:32 +10:00
Peter Barker ff048990d9 AP_OSD: correct format string issues
AP_OSD: remove spurious % in fmt string

AP_OSD: cast to (signed) to fix fmt string issue

AP_OSD: cast to (unsigned) to fix fmt string issues
2021-06-08 17:08:43 +10:00
Peter Barker e06f937486 AP_OSD: add FMT_PRINT to write(...) call 2021-06-08 17:08:43 +10:00
TunaLobster 2359de250d AP_Scripting: add example of fixed wing doublets via scripting 2021-06-08 14:48:27 +10:00
Peter Barker 09e82e52e1 AP_HAL_ChibiOS: disable AP_EFI on MatekF405-Wing and omnibusf4pro 2021-06-08 14:08:34 +10:00
Peter Barker e5fba1c8cc AP_EFI: disable AP_EFI on MatekF405-Wing and omnibusf4pro 2021-06-08 14:08:34 +10:00
Randy Mackay f8d39e65ec AP_VisualOdom: pre_arm check fix for camera attitude 2021-06-08 12:55:17 +09:00
Randy Mackay ab5d4da776 AP_AHRS: attitudes_consistent fix for roll-pitch difference calc
previously yaw difference would appear as roll, pitch differrences
2021-06-08 12:55:17 +09:00
Randy Mackay b263a1d751 AP_Math: add Quaternion::roll_pitch_difference 2021-06-08 12:55:17 +09:00
Andrew Tridgell ac2080ff93 AP_ESC_Telem: don't send mavlink msgs if we've never data any data 2021-06-08 12:30:30 +10:00
Peter Barker 4abf854c45 AP_Common: remove weird cast of location object 2021-06-08 12:14:17 +10:00
李孟晓 27089b4d2b AP_BattMonitor: Fix the comment of BATTx_OPTIONS 2021-06-08 11:16:19 +10:00
Andrew Tridgell 7fadbba086 AP_WindVane: fixed copying of filter objects 2021-06-08 11:14:52 +10:00
Andrew Tridgell fbbb4a1183 AP_Soaring: fixed filter constructor calls
fixes valgrind error from copy of filter objects on the stack
2021-06-08 11:14:52 +10:00
Andrew Tridgell a2d0f569c9 AP_WheelEncoder: fixed PID constructor calls 2021-06-08 11:14:52 +10:00
Andrew Tridgell 476e9fc15a AC_PID: use CLASS_NO_COPY() 2021-06-08 11:14:52 +10:00
Andrew Tridgell cd1f5ca494 Filter: use CLASS_NO_COPY 2021-06-08 11:14:52 +10:00
Andrew Tridgell 6c0c6a1f48 AP_Common: added CLASS_NO_COPY() macro
used to make it easy to forbid copy of classes
2021-06-08 11:14:52 +10:00
Michel Pastor 30029f59db AP_OSD_Screen: make BLH RPM fixed length 2021-06-08 10:40:44 +10:00
Peter Barker ef2e273ee6 AP_Scheduler: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00