Commit Graph

41460 Commits

Author SHA1 Message Date
Peter Barker 14ad9a58bd autotest: don't blat main test exception with still-armed exception 2020-02-14 16:36:12 +11:00
Peter Barker fa33719da6 autotest: improve distance-from-home debug 2020-02-14 16:36:12 +11:00
bnsgeyer d4e5e1bd3d AP_Motors: tradheli - fix quad heli collective structure 2020-02-14 09:29:50 +09:00
Randy Mackay e36d4d19e2 AC_AttitudeControl_Heli: fix VFF and ILMI param descriptions 2020-02-14 09:20:17 +09:00
Randy Mackay 043ba5cf34 Rover: fix SYSID_THISMAV param description 2020-02-14 09:20:15 +09:00
Randy Mackay f9fa07a3f9 Rover: fix sprayer param descriptions 2020-02-14 09:20:13 +09:00
Randy Mackay 5e60ae8a26 AC_PosControl: add missing ACCZ param descriptions 2020-02-14 09:20:11 +09:00
Peter Barker 6843d0e628 autotest: improve debug on parameter download failure 2020-02-13 21:31:20 +11:00
Peter Barker be7ae6fbc9 autotest: add --validate-parameters autotest option
After each reboot, the complete list of parameters is downloaded and
checked against parameter documentation generated from the source code.
2020-02-13 21:31:20 +11:00
Peter Barker 5d5f9b77e8 autotest: include AP_Vehicle parameters in documenation 2020-02-13 21:31:20 +11:00
Randy Mackay d244162587 Copter: zigzag supports arming, takeoff and landing 2020-02-13 07:37:29 +09:00
ashvath 66f123e2b4 SITL: Example for skid rover 2020-02-13 09:04:32 +11:00
ashvath 774b79e632 SITL: Parameters for skid rover 2020-02-13 09:04:32 +11:00
ashvath 5e2b693be4 SITL: Parameters for steering/throttle rover 2020-02-13 09:04:32 +11:00
ashvath 677dec5894 SITL: example for steering/throttle rover 2020-02-13 09:04:32 +11:00
ashvath 71f8c7cabb SITL: support for steering/throttle rover 2020-02-13 09:04:32 +11:00
Matt Lawrence 7c5f67227b Tracker: Remove links to AP_Camera
No longer needed
2020-02-12 22:55:29 +11:00
Peter Barker adcfb60850 AP_RangeFinder: comment out no-loner-used PX4 enum entry 2020-02-12 21:18:47 +11:00
Peter Barker 6febbcdc13 AP_RangeFinder: remove incorrect and misleading comment
Wrong on several counts.  detect calls this method.  The constructor
doesn't initialise the rangefinder.  detect doesn't return boolean.
2020-02-12 21:18:47 +11:00
Andrew Tridgell bebfef369f HAL_ChibiOS: fixed power flags for CUAV-Nora 2020-02-12 21:17:49 +11:00
CUAVcaijie b854fa3d4e Tools: added CUAV-Nora to autobuild 2020-02-12 21:17:49 +11:00
CUAVcaijie 561808ba3c HAL_ChibiOS: Added support for CUAV Nora flight controller 2020-02-12 21:17:49 +11:00
Andrew Tridgell bb556a11be Tools: added CUAV-Nora bootloader 2020-02-12 21:17:49 +11:00
Andrew Tridgell a0fe1a7598 HAL_ChibiOS: produce more accurate clocks for DShot and PWM 2020-02-12 18:12:39 +11:00
Andrew Tridgell 3757adfdc6 ChibiOS: relaxed restrictions on PWM clocks 2020-02-12 18:12:39 +11:00
Andrew Tridgell 9e0edba31d HAL_ChibiOS: raised timer clocks to 200MHz
this gives more flexibility in setting up timers for DShot
2020-02-12 18:12:39 +11:00
Andrew Tridgell 8b93e0f57d HAL_ChibiOS: prevent double init of USB
this prevented init of USB CubeBlack on Windows. Thanks to Randy for
reporting
2020-02-12 17:44:09 +11:00
Andrew Tridgell adf17414e0 HAL_ChibiOS: fixed output string for non-DMA capable chan
this fixes a problem where the user requests DShot (which rquired DMA)
on an output channel which cannot allocate a DMA channel. We end up
sending normal PWM, so the string representation of the output modes
should reflect that
2020-02-12 14:08:40 +11:00
Randy Mackay 1d8e4ce5ac AP_ToshibaCAN: move usage_sec in telemetry struct
According to WickedShell this saves 48bytes of RAM
2020-02-12 11:58:34 +09:00
Randy Mackay 8c227a5a18 AP_Scripting: add esc-usage.lua
example script to retrieve esc usage time
2020-02-12 11:58:34 +09:00
Randy Mackay fb2d7242f4 AP_Scripting: make bindings 2020-02-12 11:58:34 +09:00
Randy Mackay 617b8b45d2 AP_Scripting: add AP_ESC_Telem bindings 2020-02-12 11:58:34 +09:00
Randy Mackay 72612d3cb9 AP_Vehicle: add AP_ESC_Telem 2020-02-12 11:58:34 +09:00
Randy Mackay dc537efabe Tools: add AP_ESC_Telem to build for all vehicles 2020-02-12 11:58:34 +09:00
Randy Mackay 35737d484e AP_ESC_Telem: wrapper for ESCs with feedback 2020-02-12 11:58:34 +09:00
Randy Mackay 415ba0f40d AP_ToshibaCAN: add accessors for use by scripts 2020-02-12 11:58:34 +09:00
Randy Mackay 2bc91cbc4d AP_ToshibaCAN: request usage time from ESC 2020-02-12 11:58:34 +09:00
Randy Mackay 9fd315f061 AP_ToshibaCAN: add get_motor_request_data_cmd helper function 2020-02-12 11:58:34 +09:00
Andrew Tridgell 0bfab20bd0 Plane: fixed a bug in LOITER_TURNS in quadplanes
if NAV_LOITER_TURNS is used with Q_GUIDED_MODE=1 then we would orbit
forever. This ensures we do exit the loiter
2020-02-12 13:52:32 +11:00
Andrew Tridgell e8ab35a192 HAL_ChibiOS: fixed stdout in early startup bug
this caused a failure to boot on some boards if they tried to print
messages in early startup code before hal was initialised

thanks to @Shadowru for reporting the issue
2020-02-12 13:51:10 +11:00
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
Randy Mackay 670ac124c0 Copter: 4.0.2 release notes 2020-02-11 12:35:54 +09: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