Peter Hall
58d2c9669e
AP_HAL_SITL: pass ADSB home location not string
2019-11-05 11:46:59 +11:00
Peter Hall
3d8a5de1f0
SITL: ADSB: pass home location not string
2019-11-05 11:46:59 +11:00
Henry Wurzburg
78e51ac03f
SRV_Channel: remove winch from SERVOx_FUNTION list since its disabled
2019-11-05 11:30:43 +11:00
Henry Wurzburg
f1efc957fc
RC_Channel: OPTION:Copter re-order,add STANDBY, rmv winch,Rover rename Simple
2019-11-05 11:30:43 +11:00
Peter Barker
48922d76f5
AP_KDECAN: correct format string issue
2019-11-05 11:29:08 +11:00
Peter Barker
acd03c6636
SIM_AirSim: correct format string issue
2019-11-05 11:29:08 +11:00
Peter Barker
b0f3c89939
AP_HAL_SITL: correct format string
2019-11-05 11:29:08 +11:00
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
Andrew Tridgell
22f0e8a065
HAL_ChibiOS: added RM3100 in f303-GPS
2019-11-01 10:53:53 +11:00
Andrew Tridgell
207dffba88
HAL_ChibiOS: moved compass support for f103-GPS
...
not needed for other builds
2019-11-01 10:53:53 +11:00
Andrew Tridgell
9e9be95943
HAL_Linux: fixed build
2019-11-01 10:53:53 +11:00
Andrew Tridgell
53fe84e88a
AP_FlashStorage: fix for F3 MCUs
2019-11-01 10:53:53 +11:00
Andrew Tridgell
1d44718016
HAL_ChibiOS: added f303-periph and f303-GPS firmware
2019-11-01 10:53:53 +11:00
Andrew Tridgell
7df87b5a8b
AP_UAVCAN: fix for renamed AP_HAL::CAN
2019-11-01 10:53:53 +11:00
Andrew Tridgell
bc1de7a208
HAL_ChibiOS: support STM32F3xx MCUs
2019-11-01 10:53:53 +11:00
Andrew Tridgell
29a2351fd0
AP_HAL: rename AP_HAL::CAN to AP_HAL::CANHal
...
avoid conflict with ChibiOS STM32F3xx headers
2019-11-01 10:53:53 +11:00
Andrew Tridgell
3750ed2925
AP_BLHeli: fixed critical errors caused by BLHeli code
2019-11-01 08:44:54 +11:00
Leonard Hall
5979c750f9
AP_Motors: yaw headroom fix
2019-10-31 16:12:11 +09:00
Leonard Hall
3ca713fdcb
AC_AttitudeControl: limit ATC_MOT_MIX_MAX in case of a fly away
2019-10-31 12:23:48 +08:00
Peter Barker
39863bf0b4
AP_Proximity: remove empty constructors
...
Well, some of them were only essentially empty
2019-10-31 11:58:15 +08:00
Peter Barker
5b2689a7a8
AP_Proximity: use rangefinder singleton
2019-10-31 11:58:15 +08:00
Peter Barker
34eff6d1c6
GCS_MAVLink: adjust for proximity status namespace change
2019-10-31 11:58:15 +08:00
Peter Barker
daba5e26a5
AC_Logger: adjust for proximity status namespace change
2019-10-31 11:58:15 +08:00
Peter Barker
64281eee60
AC_Arming: adjust for proximity status namespace change
2019-10-31 11:58:15 +08:00
Peter Barker
0d624785f3
AC_Avoid: adjust for proximity status namespace change
2019-10-31 11:58:15 +08:00
Peter Barker
8fe16f5627
AP_Proximity: use enum class for status
2019-10-31 11:58:15 +08:00
Peter Barker
f5f6eb8231
AP_Proximity: correct checking of valid instance in various getters
2019-10-31 11:58:15 +08:00
Peter Barker
5c3a0926a1
GCS_MAVLink: adjust for proximity rangefinder types changing namespacing
2019-10-31 11:58:15 +08:00
Peter Barker
de7e3acc29
AP_Proximity: use enum class for proximity type
...
Removes verbiage from AP_Proximity.cpp
2019-10-31 11:58:15 +08:00
Peter Barker
4962b7a98e
AP_Proximity: stop passing serial manager around, use singleton
2019-10-31 11:58:15 +08:00
Leonard Hall
368a8028ae
Heli: Prevent loss of yaw control during large angle recovery
2019-10-31 11:53:27 +08:00
Leonard Hall
5afb5b4956
AC_AttitudeControl: Prevent loss of yaw control during large angle recovery.
2019-10-31 11:53:27 +08:00
Randy Mackay
5b8d7a35e7
AP_BLHeli: minor style fix for get_average_moto_frequency_hz
2019-10-31 12:20:41 +09:00
Andy Piper
6381183aa3
AP_InertialSensor: expose harmonic notch tracking mode
2019-10-31 11:18:40 +08:00
Andy Piper
b242c5071b
AP_BLHeli: add get_average_motor_frequency_hz() for dynamic filtering
...
correctly calculate rpm from erpm
2019-10-31 11:18:40 +08:00
Andy Piper
22111f59e8
Filter: add harmonic notch dynamic tracking mode
...
update harmonic notch REF docs
2019-10-31 11:18:40 +08:00
Leonard Hall
a8913d0df5
AP_Motors: Add full yaw range calculation back
2019-10-31 11:04:40 +08:00
Leonard Hall
f840f96276
AP_Motors: Freeze motor lost index on enabling thrust boost
2019-10-31 10:49:45 +08:00
Randy Mackay
f24afbcf4b
AP_NavEKF3: initialise pre-arm failure message
2019-10-31 09:51:27 +08:00
Randy Mackay
cc5facf6d2
AP_NavEKF2: initialise pre-arm failure message
2019-10-31 09:51:27 +08:00
Mirko Denecke
fe46dc34d4
AP_RCProtocol: remove duplicated definition from protocol_detected
2019-10-31 08:24:30 +11:00
Michael du Breuil
38e17e2068
AP_Scripting: Add Location get_distance_NED and get_distance_NE
...
Fixes a regression with nil punning which broke Location:offset() and
adds a test script that is suitable for CI to test this sort of thing
2019-10-31 07:10:55 +11:00
Siddharth Purohit
8c413d3c09
HAL_ChibiOS: fix writing into a NULL pointer CANFD interrupt
2019-10-30 22:15:04 +11:00
Randy Mackay
96616343ce
GCS_MAVLink: mission item support more mav frames
2019-10-30 18:27:07 +08:00
Andrew Tridgell
ecd9e45568
AP_Motors: switched tricopter to use rc_write_angle()
...
simplies tricopter handling
2019-10-30 16:01:15 +08:00
Andrew Tridgell
1fe146c409
AP_Compass: remove expected error
...
this happens with AK09916 probing on invensense sensor
2019-10-30 15:21:07 +11:00
Peter Barker
a08443ff19
SITL: break out a SIM_SerialDevice base class, use it for SIM_Vicon
2019-10-29 18:41:13 +11:00
Mark Whitehorn
6e73feca5c
AP_NavEKF2: add prearm failure message for null core pointer
2019-10-29 11:59:29 +08:00
Mark Whitehorn
3e21ef1389
AP_NavEKF3: add prearm failure message for null core pointer
2019-10-29 11:59:29 +08:00
Andrew Tridgell
8f14ea9e80
HAL_ChibiOS: enable advanced timers if we have any N PWM channels
2019-10-29 13:09:14 +11:00
Andrew Tridgell
ff30ba87bc
HAL_ChibiOS: fixed build of sparky2
...
running out of flash
2019-10-29 12:15:12 +11:00