Commit Graph

22077 Commits

Author SHA1 Message Date
Peter Hall b1742b4e19 GCS_Mavlink: constrain battery current to avoid wrap 2020-02-12 08:04:39 +11:00
Peter Hall 2bd6d4674b AP_HAL: utility: add thread safe ring buffer duplicate 2020-02-12 07:05:05 +11:00
Peter Hall 1ee14ffa75 AP_Param: use thread safe object buffer 2020-02-12 07:05:05 +11:00
Patrick José Pereira a183d00b7e AP_RangeFinder: BLPing: Rework class to work with new firmware version 3.28
- Uses the continuous message request

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-02-11 11:49:11 -05:00
Andrew Tridgell f7eba43cb8 GCS_MAVLink: raise ftp stack size to 3072 from 1024
this prevents memory corruption on directory listing
2020-02-11 13:32:17 +11:00
Randy Mackay d40862de9c AP_ServoRelayEvents: do-set-servo affects sprayer and gripper 2020-02-11 11:08:02 +11:00
Randy Mackay e0af13a6ad SRV_Channel: remove release and choke from FUNCTION param description
release (aka eggdrop) was 11
choke was 68
2020-02-11 11:08:02 +11:00
Matt Lawrence e6f32f4572 AP_HAL_ChibiOS: Fix waf --default-parameters
If a defaults.parm file was present in the hwdef, waf ignored the --default-parameters=xyz.parm command line argument.  This will allow it to use that command line argument specified file.
2020-02-11 11:00:01 +11:00
Peter Barker 73e51c480a RC_Channel: correct RC_set_override parameter name
This was just misnamed.  All callers appear to be passing ms in.
2020-02-10 13:46:33 -07:00
Peter Barker 0cf747cdbe SITL: remove RCMAP_ parameters from SilentWings parameters
These files contain a lot of values which happen to be the defaults.
These are some of them.
2020-02-10 13:55:05 +11:00
Peter Barker bea8765da7 AP_AdvancedFailsafe: remove unused RCMAP includes 2020-02-10 13:55:05 +11:00
Peter Barker aa356b563d SRV_Channel: remove unused RCMAP includes 2020-02-10 13:55:05 +11:00
yaapu b606c0df64 AP_Frsky_Telem: added VSpd to telemetry protocol 4
The Frsky vario "virtual" sensor was reporting altitude but not vertical speed.
This patch adds VSpd as a new sensor when protocol 4 is selected.
GPS frsky sensor is migrated to 2 byte sensor ID and needs rediscovery if using the previous 1 byte version
2020-02-09 20:52:58 +11:00
Andrew Tridgell 12f31e328f HAL_ChibiOS: fixed dshot docs for Pixhawk4 2020-02-08 14:15:37 +11:00
Randy Mackay 76c982ced8 AP_HAL_CHibiOS: update Pixhawk4 README to 16 pwm outputs
also correct Main PWM ouput's number of groups
2020-02-08 14:14:32 +11:00
Peter Barker df614cc34f AP_HAL_SITL: print valid model names if none supplied 2020-02-07 15:03:05 +11:00
Andrew Tridgell 521cf4d6a1 AP_Compass: removed annoying startup messages
these happen due to sensor probing for older configs
2020-02-06 15:25:46 -07:00
Andre Kjellstrup a2322a828c AP_Battmonitor_SMBus_Solo: removed unused code/options 2020-02-06 15:04:18 -07:00
Peter Barker de2cf89b60 AP_Vehicle: initialise scheduler early
So the loop rate gets clamped before we memoise it and the loop period
in AP_Scheduler
2020-02-06 14:41:06 +11:00
Peter Barker 5580196b1c AP_Scheduler: move clamping of loop rate to init function
Parameters may not be available in the constructor, and that's what we
need to be clamping.
2020-02-06 14:41:06 +11:00
Peter Barker a523bb4b68 AP_Vehicle: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker 51a1ee83a6 AP_HAL_SITL: correct name on stacktrace files
We write these files out for many more things than just segfaults
2020-02-06 13:48:11 +11:00
Pierre Kancir f1f784f81d AP_TemperatureSensor: fix TSYS01 warning on SITL 2020-02-05 17:10:58 -05:00
Tatsuya Yamaguchi 5688031f02 AC_Fence: add the description of FENCE_ACTION in Rover 2020-02-05 14:58:56 +09:00
Tatsuya Yamaguchi 0b8ad28272 SRV_Channel: add sprayer and camera aperture output 2020-02-05 14:44:07 +09:00
Willian Galvani 4afdff746e AP_HAL: Fix Navigator orientation
The Rev2 prototype board had the IMU rotated
2020-02-04 22:47:16 -05:00
Andrew Tridgell bdef7d7158 HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal 2020-02-05 12:48:51 +11:00
Andrew Tridgell e0cd790505 HAL_ChibiOS: fixed spektrum RC input on Pixracer
RCININT is inverted compared to RCIN, so need to enable SBUS_INV pin
2020-02-05 10:45:36 +11:00
Peter Barker ab7ee46423 AP_InertialSensor: mark some parameters as Calibration parameters 2020-02-04 20:29:09 +11:00
Peter Barker cc3f6468e3 AP_Compass: mark some parameters as Calibration parameters 2020-02-04 20:29:09 +11:00
Peter Hall 556d90ca0c AC_Avoidance: keep track of velocity liminting status 2020-02-04 10:24:33 +09:00
Peter Hall ba811052f8 GCS_Mavlink: report on fence limiting 2020-02-04 10:24:33 +09:00
Randy Mackay 7a5f57f940 GCS_MAVLink: send rc output mode banner to GCS 2020-02-04 12:23:33 +11:00
Randy Mackay a71ae54d3a AP_HAL: add RCOutput::get_output_mode_banner 2020-02-04 12:23:33 +11:00
chobits a54f24c8c0 AP_NavEKF2: switch to optflow if gps is jammed 2020-02-04 10:13:57 +09:00
Michael Dornisch 455bd86f1a AP_Notify: Created NTF_NEO_LEN to change length of Neopixel strings 2020-02-04 11:48:52 +11:00
Peter Hall 2c5b0ffa29 AP_BlHeli: always report test results and report band channel once 2020-02-04 10:38:20 +11:00
Peter Hall d5843ff03a AP_BLHeli: stop motors if conection lost in motor test 2020-02-04 10:38:20 +11:00
Peter Hall 38f68c4eba AP_Blheli: allow connection with mixed reversible and normal 2020-02-04 10:38:20 +11:00
Randy Mackay 176e8b8861 AP_OpticalFlow: add orient-yaw parameter units 2020-02-03 19:35:40 +09:00
Randy Mackay 7d8952a48a AP_RangeFinder: fix offset param for PWM driver 2020-02-03 19:32:34 +09:00
giacomo892 529f067914 HAL_ChibiOS: save more flash on SuccexF4 2020-02-02 06:02:59 +11:00
giacomo892 23a42b1914 HAL_ChibiOS: disable parachute and sprayer on SuccexF4 2020-02-02 06:02:59 +11:00
Randy Mackay 52ca1e016e AP_RangeFinder: minor fix in POS param description 2020-02-01 08:46:03 +09:00
Randy Mackay 6677c807ae AP_WheelEncoder: add POS param range of 5m 2020-02-01 08:46:03 +09:00
Randy Mackay c9b82aa822 AP_VisualOdom: POS param range of 5m and 1cm increment 2020-02-01 08:46:03 +09:00
Randy Mackay 9f3154372d AP_RangeFinder: POS param range of 5m and 1cm increment 2020-02-01 08:46:03 +09:00
Randy Mackay dd49f199cb AP_OpticalFlow: reduce POS param range to 5m and add increment 2020-02-01 08:46:03 +09:00
Randy Mackay b7f6f4a05e AP_InertialSensor: reduce POS param range to 5m and add increment 2020-02-01 08:46:03 +09:00
Randy Mackay b31a9fd54a AC_PrecLand: POS param range of 5m and 1cm increment 2020-02-01 08:46:03 +09:00