Randy Mackay
8eb58b266a
Rover: remove unused failsafe_throttle_suppress method
2017-12-01 21:59:55 +09:00
Randy Mackay
8043c0f638
Rover: reduce arming delay to 2 sec
2017-12-01 21:59:55 +09:00
Peter Barker
e38cefea8a
Rover: add SmartRTL mode
...
called at 3hz from scheduler
2017-12-01 09:28:56 +09:00
Randy Mackay
86ce3f2b32
Rover: add SmartRTL library to build
2017-12-01 09:28:56 +09:00
Randy Mackay
9f94875228
Rover: mode class gets set_desired_location_NED
2017-12-01 09:28:56 +09:00
Randy Mackay
82cd320bd0
AP_AHRS: add get_origin method to parent
2017-12-01 09:28:56 +09:00
Peter Barker
7257fb6284
Tools: LogAnalyzer: correct join() in GPSGlitch test
2017-12-01 10:30:56 +11:00
Andrew Tridgell
da4d3ebe2b
HAL_SITL: fixed UART utils for cygwin and Linux
2017-12-01 08:02:48 +11:00
Tom Pittenger
6bdbe53024
AP_HAL_SITL: fix compile error for Windows/Cygwin builds
...
termios2 not available on cygwin. This needs a re-think for cygwin. For now let's just hide it by letting it be declared empty by the virtual and totally bypass it in the cygwin build.
2017-11-30 12:17:49 -08:00
Tom Pittenger
013035a4da
AP_HAL_SITL: fix compile error for Windows/Cygwin builds
...
Can not find "asm/termios.h"
2017-11-30 12:05:56 -08:00
Tom Pittenger
760c6185e5
AP_HAL_SITL: remove SBUS debug code
2017-11-30 12:03:17 -08:00
Pierre Kancir
c30642a348
AP_HAL_SITL: correct _unbuffered_writes usage
2017-11-30 10:36:54 -08:00
Randy Mackay
6d472376bb
AP_MotorsUGV: do not limit just because of saturation
...
steering and throttle limit flags should only be set when there is no point in the caller passing in higher values because it will not result in an increased response. In the case of saturation, higher inputs will still result in a higher response.
2017-11-30 20:13:11 +09:00
Peter Barker
5612292802
Rover: allow vehicle to be armed in manual with no GPS
2017-11-30 15:41:50 +09:00
Peter Barker
1a59b38204
Rover: use throttle rather than steering to determine target speed
2017-11-30 15:37:40 +09:00
Mark Whitehorn
b1b1c0218f
AP_HAL_PX4: clean whitespace
2017-11-30 10:20:04 +11:00
Mark Whitehorn
d9ce90ceb0
AP_SBusOut: fix typo in comment
2017-11-30 10:20:04 +11:00
Mark Whitehorn
8d70255b8b
AP_SBusOut: turn off SBUS_DEBUG
2017-11-30 10:20:04 +11:00
Mark Whitehorn
5a417e3152
AP_HAL_SITL: support SBusOut
...
add uart config methods
2017-11-30 10:20:04 +11:00
Mark Whitehorn
644f5b75e6
AP_HAL_VRBRAIN: rename enable_sbus_out to enable_px4io_sbus_out
2017-11-30 10:20:04 +11:00
Mark Whitehorn
12ea8efa84
AP_HAL_PX4: support SBusOut
...
add unbuffered writes and uart config
2017-11-30 10:20:04 +11:00
Mark Whitehorn
66c4b7d986
AP_HAL: support SBusOut
...
rename enable_sbus_out to enable_px4io_sbus_out
2017-11-30 10:20:04 +11:00
Mark Whitehorn
9c91a959aa
mk: link AP_SbusOut
2017-11-30 10:20:04 +11:00
Mark Whitehorn
fd5039f8cd
Tools: link SBusOut library
2017-11-30 10:20:04 +11:00
Mark Whitehorn
3587d7f253
AP_SerialManager: add SBUS1 serial output support
2017-11-30 10:20:04 +11:00
Mark Whitehorn
cca251c135
SRV_Channel: support SBusOut
2017-11-30 10:20:04 +11:00
Mark Whitehorn
94d4f068a8
AP_SBusOut: create library
2017-11-30 10:20:04 +11:00
Mark Whitehorn
560402bad4
AP_BoardConfig: clarify PX4IO SBUS enable message
2017-11-30 10:20:04 +11:00
Peter Barker
68800a52f5
Rover: move RC failsafe check up
...
Both steering and acro modes can benefit from this check
2017-11-29 17:35:44 +09:00
Peter Barker
47f8ed7fab
AP_GPS: set GPS_SAVE_CFG default to save GPS config as required
2017-11-29 00:58:43 -07:00
Andrew Tridgell
9677d570e9
AP_GPS: faster GPS lock
...
use 9600 and 115200 first
2017-11-29 00:58:43 -07:00
Randy Mackay
69dc68d621
Rover: re-order acro mode to add early return
...
non-functional change
2017-11-29 14:03:43 +09:00
Randy Mackay
060f1d36dd
Rover: allow aux switch to record waypoints when not in auto-mode
...
this reduces the changes required when adding new modes
2017-11-29 14:03:43 +09:00
Peter Barker
45d76bdf25
Rover: add name4() to Mode and use it for AP_Notify calls
2017-11-29 14:03:43 +09:00
Randy Mackay
04e9228fa0
Rover: add Acro mode
...
ACRO_TURN_RATE allows user control of maximum turn rate
2017-11-29 14:03:43 +09:00
Andrew Tridgell
2c6593e35e
AP_NavEKF3: fixed inverted function setInhibitGpsVertVelUse()
2017-11-29 09:47:14 +09:00
Andrew Tridgell
4019a167a9
AP_NavEKF2: fixed inverted function setInhibitGpsVertVelUse()
2017-11-29 09:47:14 +09:00
Grant Morphett
f7db538220
APM_Control: Fixed the subparam indexs to start at 1
...
AFAIK there is still a bug in ArduPilot where subparams should not start at index 0. This is due to the way the index math and bit shifing works as it incorrectly offsets all 0 index params to 0. We allow 2 levels of sub params - 3 levels in total. So params, sub params and sub sub params. The 0 parameter in all those is unfortunately always references param[0]. So param[0] and subparam[0] and subsubparam[0] will reference the same parameter value. Its why we always say start the index from 1 as the math and bitshifting then works correctly.
Yeah this is worded badly - hard to explain.
2017-11-29 09:43:10 +09:00
Randy Mackay
5b7cd31221
Rover: send steering PID tuning to GCS in most modes
...
Using manual_steering and auto_throttle is not perfectly correct because we will send steering rate PID info in HOLD mode but will not send throttle PID info in Steering mode
2017-11-29 09:38:53 +09:00
Randy Mackay
26f50f6055
Rover: PILOT_STEER_TYPE replaces SKID_STEER_IN
...
new options allow controlling vehicle's heading while reversing
skid-steering vehicles rotate in opposite direction when backing up
2017-11-29 09:38:53 +09:00
Randy Mackay
c6689fd2e1
Rover: rename calc_nav_steer to calc_steering_from_lateral_acceleration
...
rename calc_lateral_acceleration to calc_steering_to_waypoint
calc_steering_to_waypoint internally calls calc_steering_from_lateral_acceleration
non-functional change
2017-11-28 11:46:21 +09:00
Tom Pittenger
3d6cc59a6b
Plane: cleanup geofence warnings
2017-11-27 18:35:49 -08:00
Randy Mackay
fa7c56a110
Rover: minor comment fix
2017-11-28 10:38:19 +09:00
Daniel Widmann
8f1857759f
AP_MotorsUGV: allow larger MOT_SLEWRATE values
2017-11-28 09:12:18 +09:00
Randy Mackay
78275ec4a1
AP_MotorsUGV: throttle slew updates motor limit flags
...
this ensure I-term build-up doesn't happen when the slew
causes the throttle to react slowly
2017-11-28 09:12:18 +09:00
Patrick José Pereira
b724884344
Sub: Remove unnecessary cast in init_rc_out
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-11-27 15:14:34 -08:00
Peter Barker
b7a293ca5f
Tools: autotest: move fetching of banner and version
...
Moved these to before log download.
They fail randomly after log download.
2017-11-28 09:47:46 +11:00
Andrew Tridgell
2a81792b41
Plane: don't disable compass on one bad reading
...
the compass can go back for a short time and recover
found by Michael
2017-11-28 09:02:24 +11:00
Andrew Tridgell
01c4e51d08
Rover: don't disable compass on one bad reading
...
the compass can go back for a short time and recover
found by Michael
2017-11-28 09:02:24 +11:00
Andrew Tridgell
958a665334
Tracker: don't disable compass on one bad reading
...
the compass can go back for a short time and recover
found by Michael
2017-11-28 09:02:24 +11:00