Commit Graph

21357 Commits

Author SHA1 Message Date
Peter Barker
66d460c19b GCS_MAVLink: correct format in short-write panic message 2019-11-05 11:29:08 +11:00
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
b9dbfff0d0 GCS_MAVLink: announce capabilities compass-cal and param float for all vehicles 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
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
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
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
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
14bf946fe2 AP_Filesystem: Add dir type to fatfs 2019-11-02 22:52:06 +11:00
Andrew Tridgell
236ce28339 AP_InertialSensor: updated for heater changes 2019-11-02 16:31:04 +11:00
Andrew Tridgell
a11f2b5cfb AP_IOCMU: added singleton in AP namespace 2019-11-02 16:31:04 +11:00
Andrew Tridgell
64aae4f67e HAL_ChibiOS: removed heater control 2019-11-02 16:31:04 +11:00
Andrew Tridgell
f458d58dde AP_BoardConfig: moved heater PI to AP_BoardConfig
and made tunable
2019-11-02 16:31:04 +11:00
Andrew Tridgell
ad69f6802f AC_PID: added AC_PI controller
will be used by IMU heater
2019-11-02 16:31:04 +11:00
Michael du Breuil
d623da0de6 AP_GPS: Always send GPS2_RAW after we've seen the second GPS
This significantly improves the GCS's ability to correctly display whats
happening with the second GPS.
2019-11-02 10:35:08 +11:00
Peter Barker
4838ee6f58 GCS_MAVLink: check reply channel for space rather than current channel 2019-11-02 10:34:03 +11:00
Andrew Tridgell
d8445928d1 HAL_ChibiOS: fixed SPI timeout bug
thanks to CUAV for noticing
2019-11-01 22:11:17 +11:00
Randy Mackay
45ce8e8d79 AP_ToshibaCAN: add get_present_mask for use in pre-arm checks 2019-11-01 16:09:52 +08:00
Randy Mackay
ad55b961a4 AP_ToshibaCAN: consume current sent by ESC 2019-11-01 16:09:52 +08:00
Randy Mackay
f6b669e3d8 AP_ToshibaCAN: rename millivolts to voltage_mv
also add some comments
2019-11-01 16:09:52 +08:00
Peter Barker
3e4e7bdd18 AC_AutoTune: Log_Write events directly rather than via subclass 2019-11-01 14:47:52 +08:00
Andrew Tridgell
6c0c09e690 Revert "HAL_ChibiOS: lower speed of mpu9250"
This reverts commit a4e51f3942.

This commit led to more errors on the first IMU on a normal
CubeBlack. I don't yet know why this happens, but I'm removing this in
master for now as it affects primary IMU
2019-11-01 11:20:32 +11:00