Commit Graph

64 Commits

Author SHA1 Message Date
Tatsuya Yamaguchi 5ec1f95ee4 Rover: display the type of failsafe on GCS 2020-02-10 20:00:52 +09:00
Peter Barker ba883e2b89 Rover: let AP_Vehicle handle loop() 2020-02-06 14:41:06 +11:00
Peter Barker 0728514f74 Rover: move setup method up to AP_Vehicle base class 2020-01-28 11:34:51 +11:00
Andrew Tridgell b3c44d42d7 Rover: use HAL_SPRAYER_ENABLED 2020-01-18 13:48:48 +11:00
Peter Hall a2af641b18 Rover: set_likely_flying in vehicle 2020-01-14 22:34:37 -07:00
Andy Piper 7f6c7fc370 Rover: create generic vehicle management and move runcam to it 2019-12-30 13:02:04 +11:00
Peter Barker 2a25fed505 Rover: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
Peter Barker 3bf9a45ed1 Rover: move many members up to base class 2019-10-08 11:26:04 +11:00
Peter Barker b6bc0c638c Rover: call periodic fence update function 2019-09-28 07:58:48 +09:00
Randy Mackay 7cd6aec799 Rover: fix init of struct published to OSD 2019-09-26 15:35:55 +09:00
Henry Wurzburg 9ac79b1698 Rover: publish nav data to OSD 2019-09-25 15:15:55 +09:00
Peter Barker 4fc57b1aa8 Rover: stop updating sensor status flags
These are updated as required in the gcs library itself.
2019-08-17 17:45:03 +10:00
Peter Barker 9d54b4820f Rover: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Randy Mackay 1ef6204c1d Rover: add Randy to maintainer list comment 2019-08-06 17:11:34 +09:00
Lyuyang Hu 5f37ed2bb8 Rover: rename APMrover2.cpp to Rover.cpp 2019-07-11 11:43:32 +09:00
Lyuyang Hu 43719d5e5d Rover: move contents of Rover.cpp to APMrover2.cpp 2019-07-11 11:43:29 +09:00
Randy Mackay a94ebc5bc3 Rover: integrate navigation library 2019-05-10 06:55:35 +09: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 b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
TsuyoshiKawamura 1e033e616f Rover: Loiter in AUTO mode for boat 2019-01-10 20:42:39 +09:00
Peter Barker ab6cf171da Rover: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Ammarf 26c25daa36 Rover: add support for lateral control input 2018-05-31 13:48:17 +09:00
Andrew Tridgell 482ae876fb Rover: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Randy Mackay b60cb536ab Rover: RTL within auto mode 2017-11-23 10:20:19 +09:00
Lucas De Marchi e98ccb9ae6 ArduRover: use static method to construct controllers 2017-09-26 03:01:21 +01:00
Lucas De Marchi 18aa88b329 global: use static method to construct AP_Mount 2017-09-26 03:01:21 +01:00
Lucas De Marchi c3647f0185 global: use static method to construct AP_Camera 2017-09-26 03:01:21 +01:00
Lucas De Marchi cc53e7bc4b global: use static method to construct AP_ServoRelayEvents 2017-09-26 03:01:21 +01:00
Lucas De Marchi 9ce6019138 global: use static method to construct AP_Frsky_Telem 2017-09-26 03:01:21 +01:00
Lucas De Marchi b36a5919f5 global: use static method to construct AP_Mission
This also move the initialization to be in the header for those that
weren't already to maintain consistency.
2017-09-26 03:01:21 +01:00
Lucas De Marchi 53c82b4aaf global: use static method to construct DataFlash_Class 2017-09-26 03:01:21 +01:00
Lucas De Marchi 0c49b7a973 APMrover2: move version to a static member
We should never include version.h or ap_version.h headers directly
on a header since this will trigger a complete rebuild of the
codebase when we commit to the repository. The ap_version.h header
is auto-generated containing information from the current commit.

If we include it in a header, every other file that ends up including
that header (directly or indirectly) will need to be rebuilt. No
ccache's cache beats having to do nothing when the header is just
not included.

version.h contains information that is kept on a struct inside
each vehicle. Rather than using the macros from each vehicle,
the getter should be preferred, which returns an AP_FWVersion
referente.
2017-09-23 21:37:45 -07:00
Peter Barker d98c427514 Rover: add constant structure holding firmware version 2017-08-30 15:54:46 +01:00
Randy Mackay 524fe4cd82 Rover: aux switch saves waypoint in manual or steering modes
Also refactor aux switch methods
rename LEARN_CH to AUX_CH
2017-08-25 14:05:23 +09:00
Randy Mackay 9097269d6d Rover: use AR_AttitudeControl for steering control 2017-08-15 20:47:19 +09:00
Randy Mackay 66f1437e4f Rover: remove unused throttle variable 2017-08-05 11:20:58 +09:00
Randy Mackay 974453607e Rover: replace do-yaw with nav-set-yaw-speed 2017-08-05 11:20:58 +09:00
Peter Barker 81d52c282c Rover: camera is responsible for taking distance-based-images and logging 2017-07-28 14:27:53 +01:00
Peter Barker 07f4603533 Rover: integrate mode class 2017-07-21 10:13:20 +09:00
khancyr 40b860e240 Rover: rename sonar to rangefinder 2017-07-14 17:40:05 +01:00
Peter Barker cfeb449979 Rover: create GCS subclass, use inheritted methods 2017-07-07 16:18:37 +01:00
Peter Barker 8697faa44f Rover: move should_log check of log bitmask into DataFlash 2017-06-29 15:26:27 +01:00
Peter Barker 3a85d8ed39 Rover: handle knowledge of in_log_download in DataFlash 2017-06-27 03:10:43 +01:00
Randy Mackay 584974fd74 Rover: set home from ekf position 2017-06-14 09:12:20 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas aaa26af3f4 Rover: Fix constructor initialization order 2017-05-18 09:31:11 +09:00
Pierre Kancir 27e52695fe APMRover2: add initial support for MAV_CMD_CONDITION_YAW 2017-04-28 12:01:47 +10:00
Pierre Kancir c41e695c98 APMRover2: correct some style 2017-04-26 08:43:09 +10:00
Michael du Breuil 7b2da01836 Rover: Update for L1 constructor 2017-04-06 08:26:04 +10:00
murata a71e889f51 Rover: To nullptr from NULL. 2016-10-28 16:22:44 -03:00