Commit Graph

1627 Commits

Author SHA1 Message Date
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
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