Commit Graph

40249 Commits

Author SHA1 Message Date
Peter Barker cbe73b91d5 AP_HAL_Linux: correct format-string warnings
Using the string template to determine the size of the array to print
into strikes issues as varargs passes the stack variables as integer
types, so the perceived range is larger.
2019-11-05 11:29:08 +11:00
Peter Barker f5635a557a AP_FlashStorage: correct format-string warnings 2019-11-05 11:29:08 +11:00
Peter Barker a4a1536614 waf: make format errors fatal 2019-11-05 11:29:08 +11:00
Peter Barker 7dda87fd44 autotest: assert ArduPilot announces compass cal capability 2019-11-05 11:26:23 +11:00
Peter Barker b9dbfff0d0 GCS_MAVLink: announce capabilities compass-cal and param float for all vehicles 2019-11-05 11:26:23 +11:00
Peter Barker 795afdd259 Sub: let GCS superclass specify param float capabilitiy 2019-11-05 11:26:23 +11:00
Peter Barker ba90a1a5df Plane: let GCS superclass specify compass and param float capabilitiy 2019-11-05 11:26:23 +11:00
Peter Barker 976acb3a58 Copter: let GCS superclass specify compass and param float capabilitiy 2019-11-05 11:26:23 +11:00
Peter Barker 88ba3e051c Tracker: let GCS superclass specify compass and param float capabilitiy 2019-11-05 11:26:23 +11:00
Peter Barker d664f18ce4 Rover: let GCS superclass specify compass and param float capabilitiy 2019-11-05 11:26:23 +11:00
Mark Whitehorn 23ee9eef5f AP_NavEKF2: fail prearm on any core setup failure 2019-11-05 11:23:54 +11:00
Mark Whitehorn 489ae83604 AP_NavEKF2: handle core setup failures 2019-11-05 11:23:54 +11:00
Mark Whitehorn 7c6630e216 AP_NavEKF2: EKF2 prefix for prearm failures and camelCase 2019-11-05 11:23:54 +11:00
Mark Whitehorn 95ea6ad807 AP_NavEKF2: provide reasons for init failures 2019-11-05 11:23:54 +11:00
Peter Barker 561920aad6 AC_AutoTune: cope with change in namespace of LogEvent enum 2019-11-05 08:19:26 +08:00
Peter Barker 8686fb30f8 RC_Channel: remove old comments to do with gripper grab/release 2019-11-05 08:19:26 +08:00
Peter Barker 08d99b96ec AP_Gripper: log event when gripper grabbed or released 2019-11-05 08:19:26 +08:00
Peter Barker b8cbd64c86 Tools: Replay: use Event enumeration from Logger header 2019-11-05 08:19:26 +08:00
Peter Barker 3819366a9e Sub: cope with change in namespace of LogEvent enum
Also eliminate the Log_Write_Event wrappers
2019-11-05 08:19:26 +08:00
Peter Barker e6c6189fe5 Copter: cope with change in namespace of LogEvent enum
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.

Also eliminate the Log_Write_Event wrappers.
2019-11-05 08:19:26 +08:00
Peter Barker daf071f7f6 RC_Channel: cope with change in namespace of LogEvent enum 2019-11-05 08:19:26 +08:00
Peter Barker 04c005a213 AP_Parachute: cope with change in namespace of LogEvent enum 2019-11-05 08:19:26 +08:00
Peter Barker f337d011e7 AP_Logger: make LogEvent an enum class, split off LogDataID
We were mixing the enumeration values across different messages, which
isn't great
2019-11-05 08:19:26 +08:00
Randy Mackay 105b7d79e1 Copter: 4.0.0-rc2 release notes 2019-11-04 15:56:47 +09:00
Andrew Tridgell 381af923c5 AP_Scripting: re-gen 2019-11-04 13:06:45 +11:00
Andrew Tridgell 8ad2920151 AP_SerialLED: check for valid channel 2019-11-04 13:06:08 +11:00
Andrew Tridgell bc7651cfcb AP_Scripting: fixed chan check in LED bindings 2019-11-04 13:05:52 +11:00
Andrew Tridgell 48ba63ba11 AP_Scripting: added example script for LEDs
show LED values based on roll
2019-11-04 13:01:59 +11:00
Andrew Tridgell 7caac67487 AP_Scripting: re-gen bindings 2019-11-04 13:01:59 +11:00
Andrew Tridgell ea681c7a1e AP_Scripting: added bindings for LEDs 2019-11-04 13:01:59 +11:00
Andrew Tridgell 38ba08e0ce AP_Scripting: increase default heap size
we will need a better fix than this. Adding a couple of bindings costs
us nearly 1k of ram even if unused
2019-11-04 13:01:59 +11:00
Andrew Tridgell e598c69a22 SRV_Channel: added singleton access for Lua 2019-11-04 13:01:59 +11:00
Andrew Tridgell fbfe11f9ed AP_Notify: implement SITL serial LEDs 2019-11-04 13:01:59 +11:00
Andrew Tridgell fc4577dce8 HAL_SITL: support simulated serial LEDs 2019-11-04 13:01:59 +11:00
Andrew Tridgell ae289052e9 SITL: added LED state 2019-11-04 13:01:59 +11:00
Andrew Tridgell ca00ca4dac waf: build AP_SerialLED 2019-11-04 13:01:59 +11:00
Andrew Tridgell 513b279f46 AP_SerialLED: added library API to access WS2812 LEDs
used by Lua scripting
2019-11-04 13:01:59 +11:00
Andrew Tridgell 1db4afb844 HAL_ChibiOS: enable MatekF765 LED pin
- use tonealarm for buzzer
 - add more baro options
2019-11-04 08:14:27 +11:00
Matt Lawrence 8d2a624fcc Autotest: Refactor failsafe tests 2019-11-03 07:07:34 +08:00
Matt Lawrence f71ef4c7ab Copter: Refactor failsafes, add fs_options bitmask parameter
- Radio failsafe, battery failsafe, GCS failsafe refactoring
- Add new FS_OPTIONS parameter
- Enhance GCS Failsafe abilities
2019-11-03 07:07:34 +08:00
Andrew Tridgell 43da68ae59 GCS_MAVLink: added ftp_push_replies() 2019-11-02 22:52:06 +11:00
Andrew Tridgell 10ed848dd7 GCS_MAVLink: fixed comment 2019-11-02 22:52:06 +11:00
Andrew Tridgell 7c35d2d56a AP_Filesystem: make unlink do both directories and files on posix
match FATFS behaviour
2019-11-02 22:52:06 +11:00
Andrew Tridgell 15fc3f3d75 GCS_MAVLink: fixed session handling for ftp 2019-11-02 22:52:06 +11:00
Andrew Tridgell 00549d13fa GCS_MAVLink: rename emit_dir_entry to gen_dir_entry
comment from Sid
2019-11-02 22:52:06 +11:00
Andrew Tridgell e5321b6201 GCS_MAVLink: fixes from my review 2019-11-02 22:52:06 +11:00
Michael du Breuil 6f538dd45a GCS_MAVLink: Initial FTP support 2019-11-02 22:52:06 +11:00
Michael du Breuil dc0e4bea53 AP_Terrain: Don't include all of AP_FS 2019-11-02 22:52:06 +11:00
Michael du Breuil b0e232b30b AP_Filesystem: Split the available define to it's own header 2019-11-02 22:52:06 +11:00
Michael du Breuil 7b2fdec211 ardupilotwaf: Add -Wno-format-contains-nul
MAV_FTP benefits quite a lot from using null's in it's print strings
2019-11-02 22:52:06 +11:00