Commit Graph

21400 Commits

Author SHA1 Message Date
Peter Barker 897170059d AP_NavEKF2: zero H_MAG to prevent compiler error 2024-07-31 17:21:49 +10:00
Andrew Tridgell 771fe173d4 AP_UAVCAN: fixed build on Linux 2020-03-09 09:45:20 +09:00
Andrew Tridgell 3426445b3f AP_GPS: fixed sizes of config items 2019-11-20 14:08:58 +09:00
Michael du Breuil d411400658 AP_GPS: UBlox: Fix the assumption that all keys are 1 byte keys 2019-11-20 14:08:55 +09:00
Michael du Breuil a4dc1c19bd AP_GPS: UBlox fix not listing the time mode as a configuration reason 2019-11-20 14:08:53 +09:00
Andrew Tridgell 6609c144cc AP_GPS: fixed TMODE config issue on non-F9 GPS
thanks to Michel Pastor for reporting this
2019-11-20 14:08:50 +09:00
Andrew Tridgell ba4a5812b1 AP_GPS: fixed signed/unsigned comparisons 2019-11-20 14:08:18 +09:00
Andrew Tridgell f2e725bdbd AP_GPS: support Fix2 message for UAVCAN
this allows for RTK fix levels
2019-11-20 14:08:00 +09:00
Andrew Tridgell f5a06e6bd3 AP_GPS: support RTCMStream for RTCM injection on UAVCAN 2019-11-20 14:07:58 +09:00
Andrew Tridgell 7fd3193c09 AP_GPS: added automatic config of TMODE on F9
the Drotek F9 GPS ships with TMODE enabled, which means we don't get a
3D fix.

This also adds the VALGET/VALSET msgs we will need for automatic
moving baseline config
2019-11-20 14:07:55 +09:00
Andrew Tridgell 26fddd443d AP_UAVCAN: support RTCMStream for RTCM injection 2019-11-20 14:07:53 +09:00
Andrew Tridgell 6658659795 HAL_ChibiOS: disable debug port on f103 to save memory 2019-11-20 14:07:48 +09:00
Andrew Tridgell bde9a9c960 HAL_ChibiOS: enable CAN callbacks
this allows for much more reliable CAN comms in AP_Periph
2019-11-20 14:07:42 +09:00
Michel Pastor 47e2bb8bb6 AP_Baro: fix PROBE_EXT parameter description 2019-11-20 13:58:42 +09:00
Andrew Tridgell 82ccf924ea HAL_ChibiOS: retain OPENDRAIN if set on a pin
this allows OPENDRAIN when set on a pin to be retained when set with a
pinMode(). This fixes a partially lit B/E LED on the Pixhawk4
2019-11-20 13:58:18 +09:00
Randy Mackay f8ed65bc6e AP_Proximity: new lightware SF40C driver
New driver using latest streaming interface
Old driver left in place because older devices cannot be updated
2019-11-20 13:53:39 +09:00
Randy Mackay a0063f5458 AP_Proximity: backup lightware SF40C driver to v09 2019-11-20 13:53:36 +09:00
Randy Mackay c0ad37da15 AP_RangeFinder: TYPE param desc clarification for Benewake lidar
This renames some of the TYPE parameter's driver options:

19 :BenewakeTF02 is unchanged
20: BenewakeTFMini becomes BenewakeTFMini/Plus-Serial
25: BenewakeTFMiniPlus becomes BenewakeTFMini/Plus-I2C
27: BenewakeTF03 is unchanged
2019-11-20 13:52:56 +09:00
Randy Mackay 5c3329373c AP_RangeFinder: update Type and Pin parameter values
The _TYPE change is to remove the "v2" from the LidarLite description because both v2 and v3 are supported
The _PIN change is to make it more clear that any of the auxiliary pwm pins can be used for PWM input
2019-11-20 13:52:43 +09:00
Peter Barker 432e982bbf RC_Channel: don't enter the config error loop on unknown options
... unless we are in SITL

Users moving backwards and forwards between versions can hit this case
too easily.

We probably need a better story around this error loop so it's less
confusing to the user about what's going on.
2019-11-20 13:47:44 +09:00
Randy Mackay 212cca9509 AC_Fence: relax sys-status healthy reporting 2019-11-20 13:46:48 +09:00
Matt Lawrence 7a63bda027 Frame_params: Updated solo params for Copter 4 2019-11-08 07:28:17 +08:00
Mark Whitehorn a25846b8a2 GCS_MAVLink: change in_sensor_config_error to in_config_error 2019-11-08 10:14:34 +11:00
Mark Whitehorn 3873baf676 AP_HAL_SITL: change in_sensor_config_error to in_config_error 2019-11-08 10:14:34 +11:00
Mark Whitehorn f8d4cba667 AP_Param: rename sensor_config_error to config_error 2019-11-08 10:14:34 +11:00
Mark Whitehorn 00948c33d5 AP_InertialSensor: rename sensor_config_error to config_error 2019-11-08 10:14:34 +11:00
Mark Whitehorn 5276cb7f2b AP_IOMCU: rename sensor_config_error to config_error 2019-11-08 10:14:34 +11:00
Mark Whitehorn a1868b8b67 AP_Baro: rename sensor_config_error to config_error 2019-11-08 10:14:34 +11:00
Mark Whitehorn 285901f57c RC_Channel: enter config_error loop for invalid RC option 2019-11-08 10:14:34 +11:00
Mark Whitehorn 9cf708b846 AP_BoardConfig: rename sensor_config_error to config_error 2019-11-08 10:14:34 +11:00
Mark Whitehorn 7f6e89bee8 RC_Channel: enter error loop on invalid RC option 2019-11-08 10:14:34 +11:00
Mark Whitehorn c5abcb5584 RC_Channel: don't panic on unsupported RCn_OPTION in SITL 2019-11-08 10:14:34 +11:00
Peter Barker 3f9a4ee5f9 AP_HAL: fix unit test compilation due to -Werror=format-truncation 2019-11-06 21:42:18 +11:00
Peter Barker 402f3ec09c GCS_MAVLink: honour coordinate altitude frames for DO_SET_ROI
Also use {} to construct the location.

Note the assumption that the frame is relative-to-home when we receive
the command via COMMAND (as opposed to COMMAND_LONG)

Note that this is a behavioural change as
2019-11-05 19:55:45 +11:00
Peter Barker 7139c1121f AP_Mount: correct use of disparate altitude frames in AP_Mount 2019-11-05 19:55:45 +11:00
Peter Barker 47ad331135 AP_Mount: use AHRS singleton to get current position 2019-11-05 19:55:45 +11:00
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