Commit Graph

1698 Commits

Author SHA1 Message Date
Peter Barker 88575bd536 Rover: magically set home when toggling first waypoint in
Currently the first toggle will put home in rather than the first
waypoint
2019-02-16 11:23:00 +09:00
Peter Barker dbdf17d6c6 Rover: use visual odometry singleton 2019-02-15 16:56:13 +11:00
Peter Barker 1977123362 Rover: remove redundant home-setting sanity checks 2019-02-15 08:28:45 +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
Randy Mackay 2ba6aa7e8a Rover: guided heading-and-speed control fix
This removes the lane-based-speed-control from guided mode's heading-and-speed controller which does not use the navigation controller
2019-02-13 20:11:27 +09: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 4cdbcab723 Rover: move handling of command-int MAV_CMD_DO_SET_HOME up 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
Peter Barker 8244158969 Rover: move handling of fence point handling up 2019-02-08 11:47:59 +09:00
Peter Barker ded3ab99bb Rover: move handling of MAV_CMD_DO_SET_FENCE_ENABLED up 2019-02-08 11:47:59 +09:00
Randy Mackay d50a94aacf Rover: minor comment fix to set-position-target handling 2019-02-08 09:28:23 +09:00
Randy Mackay 90fc2be79d Rover: 3.5.0 release notes 2019-02-06 15:53:14 +09:00
Tom Pittenger d5c67e0b07 Rover: move wheelEncoder logging to library 2019-02-06 10:41:59 +09:00
Randy Mackay 9067e1099f Rover: fix LOIT_TYPE param description 2019-02-06 09:03:35 +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 76fe58a3bd Rover: move handling of RC_CHANNELS_OVERRIDE up 2019-02-05 13:59:21 +11:00
Peter Barker 7ea223eac6 Rover: move sending of sys_status message up 2019-02-05 11:07:39 +11:00
Randy Mackay 6cebd634cd Rover: avoid divide-by-zero in desired-speed-final calcs
The previous check using is_zero would not catch divide-by-zero cases in which the turn angle was very small but not quite zero
2019-02-01 06:10:42 -08:00
Peter Barker 9b16d1bbd3 Rover: move sending of fence_status up 2019-01-31 13:44:29 +09:00
Peter Barker bcc60fd90e Rover: fence no longer takes reference to ahrs in constructor 2019-01-31 11:25:38 +09:00
Randy Mackay c3016e9180 Rover: 3.5.0-rc3 release notes 2019-01-30 10:07:03 +09:00
Randy Mackay ce3de6b047 Rover: send_wheel_encoder_distance uses definition for array size 2019-01-28 19:35:18 +09:00
Pavlo Kolomiiets c0dcb93e4c Rover: send mavlink WHEEL_DISTANCE message 2019-01-28 19:35:18 +09:00
Randy Mackay 88e8a849bd Rover: make omni setup protected in AP_MotorsUGV 2019-01-26 09:50:33 +09:00
Randy Mackay bdf6c09a76 Rover: rename custom to omni in AP_MotorsUGV 2019-01-26 09:50:33 +09:00
Randy Mackay 23efb533d5 Rover: 3.5.0-rc2 release notes 2019-01-24 09:49:30 +09:00
Randy Mackay ac773ccd79 Rover: convert ch7_option param to rc7_option 2019-01-23 20:13:50 +09:00
Pavlo Kolomiiets 2c909cf83b AP_WheelEncoder: Wheel encoder's offsets are properly propagated to EKF3. 2019-01-23 17:01:13 +09:00
Peter Barker 1b6bed0d4b Rover: adjust LOG_BITMASK description to remove APM2 2019-01-20 09:35:32 +09:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker b789f75f32 Rover: Log_Write_SIMSTATE no longer takes dataflash pointer 2019-01-18 11:16:54 +11:00
Peter Barker cc011d1a3d Rover: remove PX4 FWVersion info 2019-01-16 11:47:55 +11:00
Peter Barker 4e94d5c0ce APMrover2: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
TsuyoshiKawamura 1e033e616f Rover: Loiter in AUTO mode for boat 2019-01-10 20:42:39 +09:00
TsuyoshiKawamura 5575eeddab Rover: fixed coverity issue around loiter logic 2019-01-10 20:24:57 +09: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
Michael du Breuil b00b7e827f APMRover2: Remove unneeded GCS rally override 2019-01-08 10:39:50 +11:00
Michael du Breuil d920795537 Rover: Reset all storage when format version is incorrect 2019-01-08 10:35:37 +11:00
murata f88863212e Rover: Delete NuttX version processing 2019-01-08 10:06:20 +11:00
TsuyoshiKawamura 17f8b89b17 Rover: move mode_from_mode_num to mode.cpp 2019-01-07 12:53:45 -08:00
Andrew Tridgell ce9352942f Rover: allow mavlink when in sensor error 2019-01-04 19:17:31 +11:00
Peter Barker ca0374a7af Rover: do not permit copying of a Mode 2019-01-03 13:35:33 +09:00
Michael du Breuil 216cb23806 APMRover2: Remove unneeded AP_Buffer include 2018-12-31 11:41:43 +09:00
Andrew Tridgell 088442880e build: removed makefile build system 2018-12-22 11:06:59 +11:00