Michael du Breuil
a40295c3b6
Rover: Make capability init consistent
2018-11-05 14:04:36 +11:00
Randy Mackay
380884e175
Rover: shorten radio/throttle failsafe to 0.2 sec min
2018-11-02 10:31:37 +09:00
Randy Mackay
2408538bdf
Rover: failsafe clears rc-overrides
2018-11-02 10:31:37 +09:00
Randy Mackay
6167e6ac0b
Rover: gcs fs not triggered if rc-overrides arrive
...
also not triggered if manual-control messages arrive
also minor restructure of gcs_failsafe_check (non-functional)
also remove unnecessary failsafe_trigger call when heartbeats arrive
2018-11-02 10:31:37 +09:00
Randy Mackay
047f704236
Rover: last_heartbeat_ms moved to failsafe structure
2018-11-02 10:31:37 +09:00
Randy Mackay
ed8feda5b9
Rover: shorten failsafe timeouts
...
radio failsafes may trigger within 1sec (previously was 2 seconds)
default failsafe set to 1.5sec (was 5sec)
also minor improvement to FS_TIMEOUT parameter description
2018-11-02 10:31:37 +09:00
Randy Mackay
fa5de31cb9
Rover: rename control_failsafe to radio_failsafe_check
...
although this makes the name inconsistent with plane it is more precise because control can also come from rc-overrides which are covered by the GCS failsafe
2018-11-02 10:31:37 +09:00
Randy Mackay
69e5a4b262
Rover: sailboat tack triggered by any switch movement
2018-11-01 18:04:19 +09:00
Randy Mackay
2db6b7c7cb
Rover: move sailboat vars into struct
...
also fix airspeed library's parameter description
also log NaN when we do not have wind direction or speed estimates
also send timeout message to GCS when taking takes too long
2018-11-01 18:04:19 +09:00
Randy Mackay
4dbff6af7e
Rover: use AP_WindVane's send_wind
2018-11-01 18:04:19 +09:00
IamPete1
0dddc2eafe
Rover: add sailboat tacking
2018-11-01 18:04:19 +09:00
Peter Barker
9a263780d0
Rover: move handling of gimbal messages up
...
Rover: move handling of mav_cmd_do_mount_control up
Rover: move handling of deprecated mount messages up
Rover: move handling of command_do_set_roi up
Rover: move handling of command_do_set_roi up
Rover: mount no longer takes ahrs in constructor
2018-10-30 17:19:14 +11:00
Peter Barker
42b196a9a6
Rover: let AP_Mission handle common camera commands
2018-10-30 15:37:18 +11:00
Peter Barker
0eff11eebe
Rover: move servorelayevents mission handling into AP_Mission
2018-10-30 15:37:18 +11:00
Peter Barker
6cbcfb5d61
Rover: AC_Avoid is built on all vehicles
2018-10-30 12:10:42 +11:00
Randy Mackay
b64bdcdfda
Rover: remove proximity check from arming checks
...
it is OK for rovers to be armed very close to objects especially when they are beside the rover
2018-10-26 14:38:04 +09:00
Andrew Tridgell
7ae90237e3
Rover: use set_flying to allow for compass learning to run
2018-10-24 07:25:42 +10:00
Peter Barker
50cb391dea
Rover: leave AHRS to log and notify home changes
2018-10-16 10:55:13 +11:00
Randy Mackay
3e7cd5a721
Rover: fix typo on call to AP_WindVane
2018-10-07 15:46:57 +09:00
Raouf
fc5ce7b273
Rover: send obstacle_distance messages to proximity lib
2018-10-02 10:37:13 +09:00
Randy Mackay
925d4035a4
Rover: fix loiter comment
2018-09-28 10:40:12 +09:00
Randy Mackay
c3f3ee03d0
Rover: windvane calibration can be started with preflight-calibration msg
...
send COMMAND_LONG with MAV_CMD_PREFLIGHT_CALIBRATION command and set param6 field to 3
2018-09-28 10:40:12 +09:00
Randy Mackay
4a5b56c929
Rover: windvane update called from scheduler at 20hz
2018-09-28 10:40:12 +09:00
Randy Mackay
7163839117
AP_MotorsUGV: remove arg from output_mainsail
...
no need to pass in argument which is always a local variable
2018-09-28 10:40:12 +09:00
IamPete1
4366bae96d
Rover: add sailboat support
2018-09-28 10:40:12 +09:00
IamPete1
100c494127
Rover: add loiter radius parameter
2018-09-28 10:40:12 +09:00
IamPete1
e3d5db8db5
Rover: add AP_WindVane to build
2018-09-28 10:40:12 +09:00
Randy Mackay
a59b83af9a
AP_MotorsUGV: add mainsail to servo test
2018-09-28 10:40:12 +09:00
IamPete1
fa0fc5eade
AP_MotorsUGV: add mailsail support for sailboats
2018-09-28 10:40:12 +09:00
Randy Mackay
0665ac5229
Rover: rename rudder_arming to get_rudder_arming_type
2018-09-11 19:34:39 +10:00
Randy Mackay
b1a4cd55fd
Rover: support disabling rudder arming
2018-09-11 19:34:39 +10:00
Randy Mackay
9c13324b87
Rover: update simple call to calc_steering_to_heading
2018-09-11 16:43:17 +09:00
Randy Mackay
14fc117cd4
Rover: simple mode calcs clarified and const added
2018-09-11 16:43:17 +09:00
Randy Mackay
efdd3946fc
Rover: simple mode fixes
2018-09-11 16:43:17 +09:00
Ammarf
6ba5942ece
Rover: add simple mode
2018-09-11 16:43:17 +09:00
Randy Mackay
743de16c07
Rover: fix calls to calc_steering_to_heading
...
reversed flag was being passed into the wrong argument
2018-09-11 14:39:50 +09:00
Randy Mackay
cd64ce45ac
Rover: fix calc_steering_to_heading rate_max handling
...
units mix up led to deg/s parameter value being applies as rad/s
2018-09-11 14:39:50 +09:00
Peter Barker
7c60c85a12
Rover: use camera singleton to get camera rather than callback
2018-08-31 15:48:56 +10:00
Peter Barker
a5691500ad
Rover: GCS_MAVLink uses compass singleton, stop implementing get_compass
2018-08-31 15:48:56 +10:00
Ammarf
0f10d2316a
Rover: fix OmniX motor order
2018-08-31 08:38:17 +09:00
Randy Mackay
03e0437c19
Rover: fix RTL when AP_RALLY disabled
2018-08-30 10:33:37 +09:00
Randy Mackay
dd3163b065
Rover: rename AC_RALLY to AP_RALLY
2018-08-30 10:00:56 +09:00
Randy Mackay
587addbdfa
Rover: remove unused TURN_GAIN definition
2018-08-30 09:55:07 +09:00
Randy Mackay
f0ad8760e2
Rover: move rally to g2
2018-08-30 09:55:05 +09:00
Raouf
90fd64cf3a
Rover: add support for rally points
2018-08-30 09:54:51 +09:00
Thorsten Panitz
ee8d5d77d0
Rover: Activation of OSD
...
Rover: Activation of OSD
2018-08-30 08:19:02 +10:00
Randy Mackay
88a230e897
Rover: DPTH message only written if range finder last read time changed
2018-08-28 09:23:38 +09:00
Randy Mackay
19d943106b
Rover: pass vehicle speed to attitude control pitch control
2018-08-27 16:44:33 +09:00
Randy Mackay
5aa1286344
Rover: report left and right wheel control PID
2018-08-27 16:44:33 +09:00
Randy Mackay
e0fa829665
Rover: pitch PID_TUNING sends degrees
...
also send FF although it is rarely used
2018-08-27 16:44:33 +09:00