Commit Graph

1637 Commits

Author SHA1 Message Date
Peter Barker
a98e9f498f Rover: DataFlash uses AP_Mission singleton 2018-12-13 14:45:30 +09:00
Peter Barker
29782c3d2e Rover: move AP_Mission object into ModeAuto class
This mirrors what we did for Copter
2018-12-13 13:44:46 +09:00
Peter Barker
0fa9f43815 Rover: GCS_MAVLink now uses Mission singleton 2018-12-13 10:52:52 +09:00
Randy Mackay
452382ff76 Rover: loiter provides bearing to target 2018-12-13 09:30:19 +09:00
Randy Mackay
6b5ff939f2 Rover: follow provides distance and bearing to target 2018-12-13 09:30:19 +09:00
Randy Mackay
b405286262 Rover: nav-controller-output message sourced from flight mode
future change will allow overriding these values so each mode can provide the best value
2018-12-13 09:30:19 +09:00
Randy Mackay
2b97e496ff Rover: nav-controller-output msg sends roll as zero and pitch for balance bot 2018-12-13 09:30:19 +09:00
Peter Barker
d1eb9c5c71 Rover: split MSG_SCALED_PRESSURE into three separate messages 2018-12-12 21:36:01 +11:00
Peter Barker
2e03061625 Rover: GCS_MAVLink uses dataflash singleton 2018-12-11 08:43:47 +09:00
Peter Barker
f2dc8f9282 Rover: call GCS update functions at much higher rate to support lower intervals 2018-12-10 12:52:41 +09:00
Peter Barker
434a263ef4 Rover: split MSG_RAW_IMU1 into per-IMU ap_messages 2018-12-10 12:52:41 +09:00
Peter Barker
a5b5688960 Rover: send both SYS_STATUS or POWER_STATUS or neither 2018-12-10 12:52:41 +09:00
Peter Barker
b67876316a Rover: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09:00
Peter Barker
9665d8d2e9 Rover: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker
0d8e3bdfd8 Rover: add parameter stream to list-of-all-streams 2018-12-10 12:52:41 +09:00
Peter Barker
dc4e58de13 Rover: rename MSG_EXTENDED_STATUS2 to MSG_MEMINFO 2018-12-04 18:01:38 +11:00
Peter Barker
54d4030ed1 Rover: rename MSG_RAW_IMU2 and MSG_RAW_IMU3 to reflect what they send 2018-12-04 17:45:32 +11:00
Randy Mackay
b1a5636d4d Rover: fix auto enter check 2018-12-04 11:21:13 +09:00
Andrew Tridgell
eb851cf1a6 Rover: log SITL state 2018-12-04 09:44:50 +11:00
TsuyoshiKawamura
ba0926e101 Rover: MIS_DONE_BEHAVE parameter to choose mode after mission done 2018-11-23 15:27:58 +09:00
Peter Barker
86994ba195 Rover: remove pointless wrappers around RC_Channels functions 2018-11-23 10:56:17 +11:00
Peter Barker
5dcf4dfffc Rover: remove pointless wrappers around gcs functions 2018-11-23 10:56:17 +11:00
DOMINATOR\Eugene
cdbffb4ecc APMrover2: move airspeed update to library 2018-11-17 07:52:42 +11:00
Randy Mackay
002223204b Rover: add comments to failsafe structure 2018-11-14 20:32:53 +09:00
Tatsuya Yamaguchi
c9299db3b9 Rover: ignore pilot's input during RC failsafe 2018-11-14 20:32:44 +09:00
Tatsuya Yamaguchi
32ba248c73 Rover: add continue-in-auto option to failsafe 2018-11-14 20:24:01 +09:00
Tatsuya Yamaguchi
44360a769d Rover: fix to use defined value of failsafe action 2018-11-14 11:18:43 +09:00
Peter Barker
78313dab4a Rover: stop passing ahrs to OpticalFlow constructor 2018-11-13 10:40:23 +11:00
Randy Mackay
1069ab0860 Rover: GCS invoked RTL returns failed when set-mode fails 2018-11-12 15:58:21 +09:00
Randy Mackay
4c3651c2be Rover: 3.5.0-rc1 release notes 2018-11-12 13:44:50 +09:00
Peter Barker
67e5b18268 Rover: factor out do_aux_function_change_mode 2018-11-08 10:01:16 +09:00
Peter Barker
86168cd180 Rover: add override keyword where required, fix bad method override 2018-11-08 11:30:12 +11:00
Michael du Breuil
65af2bc56b Rover: Fix sail motor test not being reachable
CID: 325623
2018-11-06 16:23:59 +09:00
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