Commit Graph

311 Commits

Author SHA1 Message Date
Michael du Breuil 8cf7c47f96 Rover: Fix RangeFinder init 2019-04-06 09:15:22 +11:00
Peter Barker 578438c178 APMrover2: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
Peter Barker 4d4a63cc33 Rover: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker 58de6f1e68 Rover: remove unused channel_aux member 2019-03-27 10:01:41 +11:00
Peter Barker 47f55b5fed Rover: remove copy of home 2019-03-19 15:27:16 +09:00
Peter Barker 9c36887a90 Rover: move devo telemetry handling to GCS 2019-03-19 14:39:14 +11:00
Peter Barker 5e73648d2a Rover: move FRsky telemetry up into common GCS telemetry class 2019-03-19 14:39:14 +11:00
Randy Mackay eb96dcf173 Rover: consolidate compass calls in sensors.cpp 2019-03-16 13:26:08 +09:00
Randy Mackay c36345b2cc Rover: move declaration of rpm_update 2019-03-16 13:26:08 +09:00
Randy Mackay 7a80eb0169 Rover: move update_mission to APMrover2.cpp 2019-03-16 13:26:08 +09:00
Peter Barker fb5532356a Rover: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker 5bd0db4117 Rover: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker 1debd88083 Rover: move sending of send_pid_tuning up 2019-03-05 10:41:56 +11:00
Michael du Breuil 1420ac868d APMRover2: Allow scripting to run 2019-03-05 08:45:54 +11:00
Peter Barker 323d6850d5 Rover: move update_sensor_status_flags into GCS subclasses 2019-02-19 14:09:59 +11:00
Peter Barker 7d6140e029 Rover: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11:00
Peter Barker d1cada0e25 Rover: move try_send_message of nav_controller_output up 2019-02-19 10:08:00 +11:00
Peter Barker 76910f9283 Rover: move visual odometry update function into AP_VisualOdom 2019-02-16 15:13:59 +11:00
Peter Barker a722fd1323 Rover: make setting of home boolean in preparation for sanity checks 2019-02-15 08:28:45 +11:00
Peter Barker 277f3799a5 Rover: devo telemetry no long requires singleton classes to be passed in 2019-02-13 19:24:07 +00:00
Peter Barker 6fcdfbbe32 Rover: attempt to set home position regardless of GPS lock
The AHRS may be supplying as a home position through mechanisms other
than a GPS lock.  Don't assume in the caller to update_home().

Rover: fold update_home_from_EKF back into sole caller

This method is confusingly similarly named to update_home - and they do
pretty much the opposite thing.

Rover: remove incorrect and misleading comments on set_home_to_current_location

Rover: rewrite update_home to not set home if no origin set

Also checks that home is set before using values from it

Rover: zero stack variables when updating home

If these are a problem we have significant problems through the code
2019-02-13 09:42:26 +11:00
Peter Barker dab23b817c Rover: AP_Frsky_Telem uses singletons 2019-02-12 17:53:23 +00:00
Peter Barker 9105284a7d Rover: remove rc out initialisation wrappers 2019-02-12 08:21:30 +09:00
Peter Barker 9496ffea14 Rover: enable gripper support 2019-02-09 11:02:22 +09:00
Tom Pittenger d5c67e0b07 Rover: move wheelEncoder logging to library 2019-02-06 10:41:59 +09:00
Tom Pittenger 12f66acfb7 Rover: remove wheel_encoder_rpm 2019-02-05 08:32:37 -08:00
jmachuca77 692281b273 Rover: adding AP_RPM 2019-02-05 08:32:37 -08:00
Peter Barker 7ea223eac6 Rover: move sending of sys_status message up 2019-02-05 11:07:39 +11:00
Peter Barker 9b16d1bbd3 Rover: move sending of fence_status up 2019-01-31 13:44:29 +09:00
Pavlo Kolomiiets c0dcb93e4c Rover: send mavlink WHEEL_DISTANCE message 2019-01-28 19:35:18 +09:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
TsuyoshiKawamura 41fd596c06 Rover: improve cruise speed/throttle learning. fix #9777 2019-01-10 20:23:36 +09:00
TsuyoshiKawamura e64f50860f Rover: move mode_from_mode_num function to its alphabetical order. 2019-01-09 08:45:01 +09:00
TsuyoshiKawamura 17f8b89b17 Rover: move mode_from_mode_num to mode.cpp 2019-01-07 12:53:45 -08:00
Michael du Breuil 216cb23806 APMRover2: Remove unneeded AP_Buffer include 2018-12-31 11:41:43 +09:00
Tatsuya Yamaguchi 3ff1bb7714 Rover: add ekf failsafe 2018-12-20 15:15:00 +09:00
Peter Barker f8f5faa6b9 Rover: split DISTANCE_SENSOR onto its own ap_message id 2018-12-19 07:24:37 +11:00
Randy Mackay 66a2c10203 Rover: proximity logging uses LOG_BITMASK for rangefinder 2018-12-14 09:18:23 +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 b67876316a Rover: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09: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
Randy Mackay 002223204b Rover: add comments to failsafe structure 2018-11-14 20:32:53 +09:00
Peter Barker 78313dab4a Rover: stop passing ahrs to OpticalFlow constructor 2018-11-13 10:40:23 +11:00
Peter Barker 67e5b18268 Rover: factor out do_aux_function_change_mode 2018-11-08 10:01:16 +09:00
Randy Mackay 047f704236 Rover: last_heartbeat_ms moved to failsafe structure 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 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