Andrew Tridgell
547c6b5afe
Rover: removed ADC.h include
2018-08-02 12:38:53 +09:00
Michael du Breuil
b5bc9e5147
Rover: Remove unneeded battery failsafe flag clearing
2018-06-27 11:39:35 +10:00
Peter Barker
87a3fcdd02
Rover: remove usb-mux checking
...
Nobody ever uses the result from this
2018-06-20 02:12:56 +01:00
Peter Barker
ab6cf171da
Rover: use AP_FWVersion singleton
2018-06-18 19:10:37 +01:00
Randy Mackay
c51b38cd1c
Rover: rename Log_Arm_Disarm to Log_Write_Arm_Disarm
2018-06-12 08:29:08 +09:00
Peter Barker
36705af8ff
Rover: create an enumeration to hold vehicle mode constants
...
This gives us type-safety on the mode numbers. This is advantageous as
some of these symbols exist with different values elsewhere in the code.
2018-06-08 08:41:16 +09:00
Randy Mackay
73bdc3be09
Rover: set ahrs flyforward if thr over 15% for 2 seconds
...
or if throttle is positive and desired speed over 0.5m/s
2018-05-29 16:37:31 +09:00
Peter Barker
3afe591368
Rover: correct compilation when logging is disabled
2018-05-10 17:55:13 +09:00
Andrew Tridgell
a575608110
Rover: fixed build warnings
2018-05-07 11:43:23 +10:00
night-ghost
2aee8d1018
APMrover2: devo telemetry support (RX705/707)
2018-04-24 10:44:28 +10:00
Peter Barker
63e8fffbe4
Rover: Baro does its own dataflash logging now
2018-04-12 19:12:12 +01:00
Michael du Breuil
05173f24c6
Rover: Use RC_Channels instead of hal.rcin
2018-04-11 21:47:07 +01:00
Peter Barker
c10f404b12
Rover: tidy handling of barometer calibrations
2018-04-02 23:25:05 +01:00
Randy Mackay
96ae9cef14
Rover: send correct mav-type for boats
2018-03-22 09:11:52 +09:00
night-ghost
bab54ea647
Rover: allow AP_Stats to be optional
2018-03-02 07:23:35 +11:00
Peter Barker
9511e72113
Rover: use PerfInfo for performance monitoring
2018-02-13 17:15:05 +11:00
Peter Barker
df304c5e6b
Rover: remove shims used in scheduler table
2018-02-12 15:39:26 +09:00
Peter Barker
89c830e949
Rover: make SmartRTL mode decide whether to save position or not
...
This changes things to work like the Copter equivalent
2018-02-12 15:39:26 +09:00
khancyr
5503a0069d
Rover: add proximity library
2018-01-22 17:18:41 +09:00
khancyr
c3fb985ec5
Rover: add fence support
2018-01-22 17:18:41 +09:00
Dylan Herman
3edaff0309
Rover: sets SmartRTL home after ahrs home is set
...
Now uses AP_SmartRTL::set_home. It is called when arming and when GCS
requests home to be set to the current location
2018-01-17 11:03:56 +09:00
Randy Mackay
241456f55f
Rover: remove auto trim at startup
...
Also add additional checks to auto trim
2017-12-15 20:26:40 +09:00
Randy Mackay
f6f40afcda
Rover: rename control_mode_from_num to mode_from_mode_num
2017-12-12 10:39:26 +09:00
Randy Mackay
aa38239629
Rover: add FRAME_CLASS to differentiate boats from rovers
2017-12-08 08:48:05 +09:00
Randy Mackay
ed558dd9a0
Rover: play sad tune when arming fails
2017-12-01 21:59:55 +09:00
Peter Barker
e38cefea8a
Rover: add SmartRTL mode
...
called at 3hz from scheduler
2017-12-01 09:28:56 +09:00
Peter Barker
45d76bdf25
Rover: add name4() to Mode and use it for AP_Notify calls
2017-11-29 14:03:43 +09:00
Randy Mackay
04e9228fa0
Rover: add Acro mode
...
ACRO_TURN_RATE allows user control of maximum turn rate
2017-11-29 14:03:43 +09:00
André Kjellstrup
aab22d7dad
Rover: Option to trig by distance only when in AUTO mode
2017-11-14 00:10:22 +00:00
Tom Pittenger
f7d07fc146
Rover: always log MODE and include reason when logging is enabled
2017-10-25 21:18:29 +11:00
Lucas De Marchi
f5c2ffffb9
global: remove DataFlash from AP_Mount::init()
2017-09-26 03:01:21 +01:00
Lucas De Marchi
27be369be7
APMrover2: do not include version.h/ap_version.h
...
The interface provided by each vehicle should be used to get the
version.
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
14c74a5967
Rover: remove learning mode
...
saving waypoints can be done in manual or steering mode
2017-08-25 14:05:23 +09: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
khancyr
4c977f16ce
Rover: reduce ADC warm up time
2017-08-24 20:41:16 +09:00
Randy Mackay
6eceaef484
Rover: remove redundant SYS_NUM_RESETS
...
this is handled by AP_Stats library
2017-08-17 09:39:40 +09:00
Peter Barker
f3a0d2b02b
Rover: use GCS_MAVLINK subclasses to handle set_mode
2017-08-16 11:58:10 +10:00
Peter Barker
fa2b500e93
Rover: remove CLI
2017-08-14 10:23:50 +09:00
Randy Mackay
30852d4713
Rover: auto-reversed moved to mode
2017-08-05 11:20:58 +09:00
khancyr
23532bf45c
Rover: add reason to set_mode
2017-07-31 18:01:17 +09:00
Peter Barker
07f4603533
Rover: integrate mode class
2017-07-21 10:13:20 +09:00
Peter Barker
9173c7caaf
Rover: move starting of new logs into DataFlash
2017-07-19 16:37:28 +01:00
khancyr
40b860e240
Rover: rename sonar to rangefinder
2017-07-14 17:40:05 +01:00
Randy Mackay
ebbbe0584a
Rover: integrate wheel encoder
2017-07-14 07:27:26 +09:00
khancyr
b28656eb11
Rover: reoder rc and servo init
2017-07-10 19:48:35 +09:00
Peter Barker
9509f7f1bf
Rover: use send_text method on the GCS singleton
2017-07-09 17:17:29 -04:00
Pierre Kancir
267a1532b9
Rover: integrate motors library
...
move throttle_slew_limit and THR_SLEWRATE parameter
move have_skid_steering to library
move mix_skid_steering to library's output_skid_steering method
move radio.cpp's output channel initialisation to motor's init method
use motors.get_throttle and get_steering instead of getting from Servo objects
use motors.set_throttle and set_steering instead of setting to Servo object
AP_Arming::arming_required is replaced with SAFE_DISARM parameter
2017-07-08 16:07:13 +09:00
Peter Barker
cfeb449979
Rover: create GCS subclass, use inheritted methods
2017-07-07 16:18:37 +01:00
Eugene Shamaev
b6c397c85a
APMrover2: move of CAN parameters into separate group
2017-07-03 11:44:32 +01:00