Commit Graph

41272 Commits

Author SHA1 Message Date
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
Tatsuya Yamaguchi 5ec1f95ee4 Rover: display the type of failsafe on GCS 2020-02-10 20:00:52 +09: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 b0e5bfc32d autotest:FRSkySPort: added support for VARIO 0x30 and GPS 0x800 sensor types
This adds support for the VARIO sensor 0x30 and GPS sensor 0x800 to the autotest suite
2020-02-09 20:52:58 +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 93ac71095d Tools: build_binaries, sort boards before building, print board counts 2020-02-08 11:06:32 +11:00
Peter Barker fd8088f1e5 autotest: add Copter tests for altitude change on arm 2020-02-08 11:06:03 +11:00
Peter Barker ac904085d6 autotest: add statistics on time taken to arm 2020-02-08 11:06:03 +11:00
Peter Barker b0aceaea70 autotest: add tests for LTM telemetry output 2020-02-08 10:38:34 +11:00
Peter Barker 62f289b8e6 autotest: drain_mav_unparsed gets a quiet option 2020-02-08 10:38:34 +11:00
Peter Barker b75dd36f71 autotest: create Telem baseclass for telem clients 2020-02-08 10:38:34 +11:00
Peter Barker df614cc34f AP_HAL_SITL: print valid model names if none supplied 2020-02-07 15:03:05 +11:00
Peter Barker 212bc6538b autotest: improve output on wait_altitude 2020-02-07 15:02:35 +11:00
Peter Barker 71a129d685 autotest: add test for Plane LOITER 2020-02-07 15:02:35 +11:00
Jaaaky c46a1112e1 gitignore: Add dumpstack_*out to .gitignore 2020-02-07 08:19:02 +09: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
Patrick José Pereira 21e5922b2e APMrover2: Remove post_ignore check since is always true
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-02-06 13:48:39 +09: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 b8087c3e84 Replay: let AP_Vehicle handle loop() 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 7658c13c69 Sub: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker 58d45ef04a Plane: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker 18670d681e Copter: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker 449ca74951 Tracker: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker ba883e2b89 Rover: 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
murata 4ca34ea448 Rover: White space is tab code
Rover: White space is tab code
2020-02-06 11:11:49 +09:00
Randy Mackay 2ab124223a Copter: version to 4.0.3-dev 2020-02-06 08:38:43 +09:00
Randy Mackay 8ff5bb624f Copter: update release notes for 4.0.2-rc4 2020-02-06 08:36:58 +09:00
Randy Mackay 19ad51913c Copter: 4.0.2-rc4 release notes 2020-02-06 08:36:55 +09:00
Pierre Kancir f1f784f81d AP_TemperatureSensor: fix TSYS01 warning on SITL 2020-02-05 17:10:58 -05:00
Patrick José Pereira 98adeafad9 Tools: autotest: Add sub test for MOT_THST_HOVER parameter
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-02-05 09:01:33 -05:00
Patrick José Pereira 885ebc41e3 Sub: Ignore MOT_THST_HOVER parameter
We should ignore this parameter since ROVs are neutral buoyancy

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-02-05 09:01:33 -05:00