Commit Graph

40111 Commits

Author SHA1 Message Date
Peter Barker df0233a7d1 SITL: add support for simulated serial rangefinders
SITL: add base class for serial rangefinder simulators

SITL: add Benewake rangefinder simulator

SITL: add support for simulated LightWareSerial rangefinder

SITL: add support for simulated Lanbao rangefinder

SITL: add support for simulated BLping rangefinder

SITL: add support for simulated LeddarOne rangefinder

SITL: add support for simulated uLanding rangefinders

SITL: add support for simulated MaxsonarSerialLV rangefinders

SITL: add support for simulated Wasp rangefinders

SITL: add support for simulated NMEA rangefinders
2019-11-08 20:12:28 +11:00
Peter Barker 990273a778 SITL: add accessor for rangefinder range 2019-11-08 20:12:28 +11:00
Peter Barker 9da0e480f2 AP_HAL_SITL: add support for bi-directional simulated serial devices 2019-11-08 20:12:28 +11:00
Peter Barker 270831d70d SITL: add bidirectional communication for simulated serial devices 2019-11-08 20:12:28 +11:00
Peter Barker 48657dd2c9 autotest: replace setHeartbeat(bool) with setHeartbeat(float)
We don't do heartbeats at 1Hz - we do them at the speedup rate.
2019-11-08 19:49:46 +11:00
Peter Barker ece59f8233 autotest: replace wait_seconds with delay_sim_time
These did exactly the same thing
2019-11-08 19:49:46 +11:00
Peter Barker 2dd47e54e7 autotest: remove default True parameter to setHeartbeat 2019-11-08 19:49:46 +11:00
Peter Barker 74eb6760ea autotest: correct setHeatbeat -> setHeartbeat 2019-11-08 19:49:46 +11:00
Peter Barker 10c50844fd AP_HAL: stop emitting extra CR before a LF as part of our printf 2019-11-08 17:37:04 +11:00
Randy Mackay a67b164bcc Rover: 4.0.0-rc3 release notes 2019-11-08 13:15:38 +09:00
Peter Barker 1279c63ece Tools: run-coverage: build unit-tests and examples with debug 2019-11-08 14:34:15 +11:00
Peter Barker f407e0dd55 AP_Airspeed: correct example; need instantiated AHRS for windspeed_max 2019-11-08 14:34:15 +11:00
Randy Mackay f15459f25e Rover: fix guided consumption of SET_YAW_SPEED 2019-11-08 10:09:23 +08:00
Randy Mackay 129651b7e4 Rover: move set_desired_speed to each mode 2019-11-08 10:09:23 +08:00
Randy Mackay 45682550e7 Rover: minor comment fix 2019-11-08 10:09:23 +08: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 6dd28f7d74 ArduCopter: change in_sensor_config_error to in_config_error 2019-11-08 10:14:34 +11:00
Mark Whitehorn 6b9c997a97 Tools: rename SensorConfigErrorLoop test to ConfigErrorLoop 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
Andrew Tridgell 9ffc0f5a3a AP_Periph: updated README 2019-11-07 15:49:38 +11:00
Patrick José Pereira 2fae0cf5c0 Sub: Remove unnecessary includes
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-11-06 09:40:23 -08:00
Patrick José Pereira 722e512226 autotest: Sub: Add ALT_HOLD test
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-11-06 09:35:06 -08:00
Patrick José Pereira 62dfb72487 autotest: Sub: Update PSC_*Z parameters
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-11-06 09:35:06 -08:00
Peter Barker 3f9a4ee5f9 AP_HAL: fix unit test compilation due to -Werror=format-truncation 2019-11-06 21:42:18 +11:00
bnsgeyer b5d21a71ef Copter:Tradheli treat Sport mode as non-man throttle for landing swash 2019-11-06 16:36:35 +11:00
Peter Barker e1686db7bf Sub: correct compilation when avoidance enabled 2019-11-06 16:36:35 +11:00
Peter Barker 54509a72c8 Tools: build-with-disabled-features fixes for Heli 2019-11-06 16:36:35 +11:00
Peter Barker 201adb6818 Copter: correct Heli compilation when some modes are disabled 2019-11-06 16:36:35 +11:00
Peter Barker d9b41b3953 Rover: correct compilation with AdvancedFailsafe disabled 2019-11-06 16:36:35 +11:00
Peter Barker 20f904ce66 Sub: correct compilation with fence disabled 2019-11-06 16:36:35 +11:00
Peter Barker d1b402ab04 Copter: correct compilation with toymode enabled 2019-11-06 16:36:35 +11:00
Peter Barker 0ab9ddd600 Copter: correct compilation when fence disabled 2019-11-06 16:36:35 +11:00
Peter Barker 843e48c635 Copter: correct compilation when avoidance disabled 2019-11-06 16:36:35 +11:00
Peter Barker 94222d0195 Copter: correct compilation when rangefinder tilt correction disabled 2019-11-06 16:36:35 +11:00
Peter Barker 81f0141da5 Copter: correct compilation when AdvancedFailsafe is disabled 2019-11-06 16:36:35 +11:00
Peter Barker d652bd4455 Copter: correct compilation when optical flow is disabled 2019-11-06 16:36:35 +11:00
Peter Barker 9605639070 autotest: loosen check on follow-mode check 2019-11-05 19:55:45 +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 f177679e61 autotest: add more tests for mount behaviour 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 9f719ec02e Sub: stop providing current location to mount 2019-11-05 19:55:45 +11:00