Commit Graph

28501 Commits

Author SHA1 Message Date
Randy Mackay 9b63c8751f SITL: rover default params in alphabetical order 2017-08-15 20:47:19 +09:00
Randy Mackay 1582bd85af SITL: update rover default parameters 2017-08-15 20:47:19 +09:00
Randy Mackay 06a7e46447 Rover: remove PID from build 2017-08-15 20:47:19 +09:00
Randy Mackay 95c5ada3e9 Rover: modes use stop_vehicle to stop gently
modes slow to a stop instead of immediately setting motors to zero
vehicle centers steering when stopping
2017-08-15 20:47:19 +09:00
Randy Mackay 0b917cfd36 Rover: mode auto guided and rtl slow before destination
new mode class member _desired_speed_final holds target speed at destination

main vehicle code passes heading to next waypoint into auto mode.
we do not provide heading when delaying at waypoint which signals we wish

auto-mode calculates final speed at destination which allows vehicle to
make turn within value of WP_OVERSHOOT parameter assuming vehicle turns at
maximum lateral acceleration.
2017-08-15 20:47:19 +09:00
Randy Mackay d99108f3bc Rover: use AR_AttitudeControl for throttle control
also direct throttle nudge replaced with speed nudge
calc_speed_max estimates vehicle's top speed based on cruise-speed and
cruise-throttle
steering mode now provides total target speed instead of using speed plug
throttle nudge
motor limits provided to attitude control to stop i-term buildup
uses negative desired speed instead of reversed flag
reporting to GCS uses new throttle controller
braking is simply enabled and allows a reverse motor output regardless of vehicle
speed
2017-08-15 20:47:19 +09:00
Randy Mackay 61d1ced7aa Rover: add turn radius param for steering mode
removes reliance on old steerController
2017-08-15 20:47:19 +09:00
Randy Mackay 9097269d6d Rover: use AR_AttitudeControl for steering control 2017-08-15 20:47:19 +09:00
Randy Mackay c56d8cb6b1 Rover: add AC_PID and AR_AttitudeControl to build 2017-08-15 20:47:19 +09:00
Randy Mackay 9f876dc7a0 AR_AttitudeControl: throttle and steering control library
Throttle controller has these advantages over existing controller:
based on velocity in vehicle's forward-back axis rather than ground-speed
straight-forward PID controller using speed error as input
speed control acceleration limts
stop control slows vehicle smoothly
configurable filtering

Steer controller has these advantages over existing controller:
output scaled properly for skid-steering vehicles
layered P and PID controller for angular error and rate control
configurable filtering
2017-08-15 20:47:19 +09:00
Randy Mackay a5783939ef AP_MotorsUGV: add limit flags
These flags become true when the steering servo or motors hit their
limits.  used to stop I-term build-up in higher level controllers.
2017-08-15 20:47:19 +09:00
Peter Barker d8e260874d Tools: copyit must always be given fourth, src, parameter 2017-08-15 13:09:45 +10:00
Peter Barker 953eefa024 Tools: include Sub in the list of known vehicles for PrintVersion 2017-08-15 11:49:35 +10:00
Peter Barker 7173025b43 AP_Arming: warn about uncalibrated throttle but do not fail check
We can tighten this check up later, and will allow us to use
this common function for Plane and Rover in the future
2017-08-14 15:32:25 +09:00
Peter Barker a2af13c17e Tools: calibrate SITL sub RC in autotest's sub parameters 2017-08-14 15:32:25 +09:00
Peter Barker a87328816a Sub: use common RC checking code from AP_Arming 2017-08-14 15:32:25 +09:00
Peter Barker 0a2177de58 Copter: move Copter RC checking code into library 2017-08-14 15:32:25 +09:00
Peter Barker b2459c67d5 AP_Arming: move Copter RC checking code into library 2017-08-14 15:32:25 +09:00
Randy Mackay 14f6d3e03e Copter: 3.5.2 release notes 2017-08-14 12:12:01 +09:00
Daniel Orbach 3c66663880 Tools: autotest.py: Squashed the code for default.* steps in run_step(). 2017-08-14 12:16:29 +10:00
Daniel Orbach 91e25bb937 Tools: autotest.py: Made use of shutil.copy2() where appropiate. 2017-08-14 12:16:29 +10:00
Daniel Orbach befd8b028b Tools: autotest.py: Moved all imports to top of file. 2017-08-14 12:16:29 +10:00
Daniel Orbach e951df7d50 Tools: autotest.py: Simplified binary_path through lookup table 2017-08-14 12:16:29 +10:00
Daniel Orbach 29ab76e714 Tools: autotest.py: Slightly cleaned up run_tests. 2017-08-14 12:16:29 +10:00
Daniel Orbach 04791139c0 Tools: autotest.py: Separated function definitions and script code. 2017-08-14 12:16:29 +10:00
Peter Barker e3599ab4f9 AP_Param: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker 90948bef05 Tracker: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker 233d49797e Sub: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker 1a665280e9 Plane: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker c6b9c84d1f Copter: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker fa2b500e93 Rover: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker bff31e8b42 GCS_MAVLink: remove CLI 2017-08-14 10:23:50 +09:00
Andrew Tridgell 1a25087dd5 AC_AttitudeControl: fixed PIRO_COMP index
this is a new conflict due to stricter checking in AP_Param
2017-08-14 09:28:57 +09:00
Randy Mackay 59a1f260d1 Rover: remove unused compat.h 2017-08-12 14:46:46 +09:00
Randy Mackay b895da64e1 Rover: minor comment fix to parameters list 2017-08-12 14:46:19 +09:00
Randy Mackay e79e92a789 Rover: remove unused SPEED_TURN_DIST parameter 2017-08-12 13:58:35 +09:00
Randy Mackay 28d74722bd AP_MotorsUGV: minor formatting fix 2017-08-12 13:34:27 +09:00
Randy Mackay bff74115bc Rover: remove unused distance_past_wp 2017-08-12 13:05:01 +09:00
Randy Mackay a00c7e0acb Rover: mode calc_reduced_speed_for_turn gets some const for local variables 2017-08-12 12:29:13 +09:00
Randy Mackay 66bb3e8ee0 Rover: minor formatting fix to parameters.cpp 2017-08-12 12:14:54 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas eae76c69ce Docs: Update coverty scan link 2017-08-12 08:44:20 +09:00
Michael du Breuil 58e784024f AP_HAL_SITL: Add support for blocked pitot tube simulations 2017-08-10 20:15:35 +10:00
Michael du Breuil 4dbe282121 SITL: Add airspeed failure parameters 2017-08-10 20:15:35 +10:00
priseborough 2310cb6d19 AP_NavEKF3: Enable external control over use of GPS vertical velocity 2017-08-10 19:49:45 +10:00
priseborough f2f3067326 AP_NavEKF2: Add interface to control GPS vertical velocity use 2017-08-10 19:49:45 +10:00
Mark Whitehorn 3642ecd9ef AP_COMPASS: fix errors in addition of alternate LIS3MDL I2C address
testing shows ROTATION_YAW_90 is correct for mRo Neo M8N GPS/compass
2017-08-10 19:46:26 +10:00
Mark Whitehorn a6e9baa8f6 AP_Compass: probe for LIS3MDL in mRo Neo-M8N GPS module 2017-08-10 19:46:26 +10:00
Andrew Tridgell 4c6922e413 Tools: fixed ardusub build
and manifest generation without PX4IO
2017-08-10 09:35:31 +10:00
Peter Barker 1c2e1eeaf8 Tools: provide dummy function to avoid linking the AP_Camera 2017-08-09 16:18:22 +01:00
Peter Barker f78d50215c Tracker: add new dummy function to avoid linking the AP_Camera 2017-08-09 16:18:22 +01:00