Peter Barker
9d54b4820f
Rover: move automatic declination setting into AP_Compass itself
6 years ago
Randy Mackay
1ef6204c1d
Rover: add Randy to maintainer list comment
6 years ago
Lyuyang Hu
5f37ed2bb8
Rover: rename APMrover2.cpp to Rover.cpp
6 years ago
Lyuyang Hu
43719d5e5d
Rover: move contents of Rover.cpp to APMrover2.cpp
6 years ago
Peter Barker
22c5954c8f
Rover: move Arming functions into AP_Arming file
6 years ago
Peter Barker
9851ec1ddb
Rover: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
6 years ago
Tom Pittenger
818b1a77ea
Rover: move heartbeat sending to gcs instead of by vehicles
6 years ago
Randy Mackay
a94ebc5bc3
Rover: integrate navigation library
6 years ago
Peter Barker
47d9960eb9
Rover: call compass cal routine directly from sched table
6 years ago
Peter Barker
7d2138bed9
Rover: fill Notify flag for flying
6 years ago
Randy Mackay
eb96dcf173
Rover: consolidate compass calls in sensors.cpp
6 years ago
Randy Mackay
7a80eb0169
Rover: move update_mission to APMrover2.cpp
6 years ago
Peter Barker
5bd0db4117
Rover: use enum class for ArmingMethod and ArmingRequired
6 years ago
IamPete1
4f9b8e1b6c
Rover: add E-stop
6 years ago
Peter Barker
75af170900
Rover: AHRS set_orientation renamed to update_orientation
6 years ago
Peter Barker
323d6850d5
Rover: move update_sensor_status_flags into GCS subclasses
6 years ago
Peter Barker
76910f9283
Rover: move visual odometry update function into AP_VisualOdom
6 years ago
Peter Barker
a722fd1323
Rover: make setting of home boolean in preparation for sanity checks
6 years ago
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
6 years ago
Peter Barker
9105284a7d
Rover: remove rc out initialisation wrappers
6 years ago
Peter Barker
9496ffea14
Rover: enable gripper support
6 years ago
Tom Pittenger
d5c67e0b07
Rover: move wheelEncoder logging to library
6 years ago
jmachuca77
692281b273
Rover: adding AP_RPM
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Tatsuya Yamaguchi
3ff1bb7714
Rover: add ekf failsafe
6 years ago
Randy Mackay
66a2c10203
Rover: proximity logging uses LOG_BITMASK for rangefinder
6 years ago
Peter Barker
f2dc8f9282
Rover: call GCS update functions at much higher rate to support lower intervals
6 years ago
Peter Barker
9665d8d2e9
Rover: adjust for new update entry points into GCS
6 years ago
Peter Barker
86994ba195
Rover: remove pointless wrappers around RC_Channels functions
6 years ago
Peter Barker
5dcf4dfffc
Rover: remove pointless wrappers around gcs functions
6 years ago
Randy Mackay
6167e6ac0b
Rover: gcs fs not triggered if rc-overrides arrive
...
also not triggered if manual-control messages arrive
also minor restructure of gcs_failsafe_check (non-functional)
also remove unnecessary failsafe_trigger call when heartbeats arrive
6 years ago
Randy Mackay
047f704236
Rover: last_heartbeat_ms moved to failsafe structure
6 years ago
IamPete1
0dddc2eafe
Rover: add sailboat tacking
6 years ago
Andrew Tridgell
7ae90237e3
Rover: use set_flying to allow for compass learning to run
6 years ago
Randy Mackay
4a5b56c929
Rover: windvane update called from scheduler at 20hz
6 years ago
IamPete1
4366bae96d
Rover: add sailboat support
6 years ago
Randy Mackay
85ac24d96e
Rover: update wheel encoders at 50hz
7 years ago
Randy Mackay
9ae9f84498
Rover: fix G_Dt when SCHED_LOOP_RATE increased
...
This fixes a bug in the G_Dt calculation which is used in the motors library and PID controllers. The issue occurred in cases where the ahrs_update was not being run which could happen because it's estimated time was too long.
This also properly runs the critical functions (update ahrs, run flight mode code, send outputs to motors) at up to 400hz
7 years ago
Randy Mackay
473e8d18a1
Rover: reduce scheduler estimated time for gcs tasks
7 years ago
Peter Barker
ca7842afac
Rover: add support for Sprayer
7 years ago
Randy Mackay
936dca7531
Rover: remove compass accumulate
7 years ago
Peter Barker
1f0908bba2
Rover: move handling of RC Switches into RC_Channel
...
Rover: use base-class auxsw handling
Rover: factor out do_aux_function_change_mode
Rover: move mode number enumeration to be in Mode:: namespace
Rover: move mode switch handling to RC_Channel
Rover: rename control_modes.cpp to RC_Channel.cpp
Rover: move motor_active() to be a method on the motors class
7 years ago
Peter Barker
ca264b1932
Rover: use compass singleton for logging
7 years ago
Raouf
9d51e87762
Rover: Save compass offsets when disarmed and learning is on
7 years ago
Peter Barker
87a3fcdd02
Rover: remove usb-mux checking
...
Nobody ever uses the result from this
7 years ago
Peter Barker
9b269b1b56
Rover: use AP_RTC
...
Rover: AP_GPS now sets the system time directly
7 years ago
Peter Barker
cf1f2f9aeb
Rover: move motors_active to be motors.active
...
This will help when we come to subclass the Motors library.
7 years ago
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
7 years ago
Randy Mackay
24dd9a1c2c
Rover: update GPS at 50hz
7 years ago