Peter Barker
cf1f2f9aeb
Rover: move motors_active to be motors.active
...
This will help when we come to subclass the Motors library.
2018-06-08 08:51:18 +09:00
Peter Barker
65b7ca3fbb
Rover: factor out a do_aux_function_change_mode
...
Less code is good
2018-06-08 08:50: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
Ammarf
26c25daa36
Rover: add support for lateral control input
2018-05-31 13:48:17 +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
9d83ee8cc7
Rover: move sending of vfr_hud up
2018-05-29 13:00:40 +10:00
Peter Barker
8101f2b573
Rover: move sending of simstate up
2018-05-23 18:36:50 +10:00
Randy Mackay
24dd9a1c2c
Rover: update GPS at 50hz
2018-05-23 17:17:29 +09:00
Peter Barker
1ecd371cd0
Rover: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK
2018-05-17 15:48:06 +01:00
Peter Barker
3799a13bc3
Rover: move send_attitude up to GCS_MAVLINK
2018-05-17 18:28:43 +10:00
Peter Barker
0d3051e46a
Rover: handle setting of ekf origin in GCS_MAVLink
2018-05-17 10:13:42 +10:00
Peter Barker
a52f3d8f70
Rover: move Log_Write_Home_And_Origin into AP_AHRS
2018-05-17 10:13:42 +10:00
Peter Barker
a78fe0896f
Rover: make scheduler track whether it has called the delay callback
2018-05-09 16:15:38 +10:00
Peter Barker
9e1811027d
APMrover2: move try_send_message handling of RC_CHANNELS_RAW up
2018-05-08 12:33:32 +01:00
Randy Mackay
c6638f66de
Rover: Loiter mode for boats
2018-05-06 16:58:00 +09: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
e74d07ff15
Rover: remove wrapper for Log_Write_Beacon
2018-04-04 16:20:33 +09:00
Peter Barker
a45e3cba15
Rover: factor vehicle's mavlink send_heartbeat
2018-04-03 13:05:19 +01:00
Peter Barker
c10f404b12
Rover: tidy handling of barometer calibrations
2018-04-02 23:25:05 +01:00
Michael du Breuil
b761a57da3
Rover: Support new battery interface
2018-03-27 22:12:21 +01:00
Peter Barker
9d0da4a71f
Rover: move home state into AP_AHRS
2018-03-19 10:32:37 +09:00
Peter Barker
ceb64fb7d9
Rover: use ins singleton
2018-03-16 00:37:35 -07:00
Peter Barker
81ba037582
Rover: use baro singleton
2018-03-08 21:20:05 -08:00
Peter Barker
90d26a5100
Rover: eliminate perf_update scheduler table shim
2018-02-13 17:15:05 +11:00
Peter Barker
d9bb546048
Rover: use AP_Scheduler's loop() function
2018-02-13 17:15:05 +11:00
Peter Barker
211e7416a9
Rover: use scheduler ticks in place of mainloop_count
2018-02-13 17:15:05 +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
Michael du Breuil
2e9e91b3a3
Rover: Move battery logging to AP_BattMonitor
2018-02-06 00:11:32 +00:00
Randy Mackay
489c42bdff
Rover: add avoidance library
2018-01-22 17:18:41 +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
Peter Barker
7cf2712bf1
Rover: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
Peter Barker
bce9a40ab5
Rover: remove unimplemented methods
2017-12-15 13:27:14 +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
f6f40afcda
Rover: rename control_mode_from_num to mode_from_mode_num
2017-12-12 10:39:26 +09:00
Randy Mackay
9710b16cac
Rover: THR dataflash logging replaces CTUN
2017-12-09 12:18:49 +09:00
Randy Mackay
8eb991b610
Rover: boats say active at destination in auto
...
previously the user would use the LOITER_UNLIMITED or LOITER_TIME mission commands to specify that the vehicle should remain active at the destination. This was cumbersome and not the best way to specify this behaviour because these two commands are valid for regular rovers that should not try to remain active at the destination.
2017-12-08 08:48:05 +09:00
Randy Mackay
aa38239629
Rover: add FRAME_CLASS to differentiate boats from rovers
2017-12-08 08:48:05 +09:00
Peter Barker
1d2ec9054b
Rover: tighten return types of mavlink functions and variables
2017-12-01 17:01:10 +00: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
Peter Barker
c00a4f3bb2
Rover: AP_Camera uses GPS singleton
2017-11-16 15:28:37 +00:00
Peter Barker
2d0a23fcc8
Rover: call ins's periodic function
2017-10-27 16:33:45 +11:00
Lucas De Marchi
e98ccb9ae6
ArduRover: use static method to construct controllers
2017-09-26 03:01:21 +01:00
Lucas De Marchi
bfd13dfe87
global: use static method to construct AP_AHRS_DCM
2017-09-26 03:01:21 +01:00
Lucas De Marchi
beabae6a98
global: use static method to construct AP_AHRS_NavEKF
2017-09-26 03:01:21 +01:00