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
Randy Mackay
cc53b9c39d
Rover: update current_loc in update_ahrs
...
this ensures the current_loc is updated before any of the flight mode code runs
7 years ago
Peter Barker
3afe591368
Rover: correct compilation when logging is disabled
7 years ago
Peter Barker
9e1811027d
APMrover2: move try_send_message handling of RC_CHANNELS_RAW up
7 years ago
Peter Barker
e73a02343a
Rover: GPS now logs its own data
7 years ago
Peter Barker
63e8fffbe4
Rover: Baro does its own dataflash logging now
7 years ago
Peter Barker
e74d07ff15
Rover: remove wrapper for Log_Write_Beacon
7 years ago
Randy Mackay
b9e32d1f44
Rover: reduce expected times in scheduler table
7 years ago
Michael du Breuil
b761a57da3
Rover: Support new battery interface
7 years ago
Peter Barker
ceb64fb7d9
Rover: use ins singleton
7 years ago
Randy Mackay
86c39c0314
Rover: run update_mission at 50hz
7 years ago
night-ghost
bab54ea647
Rover: allow AP_Stats to be optional
7 years ago
Andrew Tridgell
f190ca0867
Rover: use scheduler.get_last_loop_time_s()
7 years ago
Peter Barker
90d26a5100
Rover: eliminate perf_update scheduler table shim
7 years ago
Andrew Tridgell
80c45a7431
Rover: use filtered loop time
7 years ago
Peter Barker
7b6bc4adf1
Rover: pass log-performance-bit at init time rather than update time
7 years ago
Peter Barker
55c27dfc56
Rover: move logging of PM messages to AP_Scheduler
7 years ago
Peter Barker
b2e2b91d7e
Rover: move PERF: statustext sending into AP_Scheduler
7 years ago
Peter Barker
d9bb546048
Rover: use AP_Scheduler's loop() function
7 years ago
Peter Barker
211e7416a9
Rover: use scheduler ticks in place of mainloop_count
7 years ago
Peter Barker
9511e72113
Rover: use PerfInfo for performance monitoring
7 years ago
Peter Barker
df304c5e6b
Rover: remove shims used in scheduler table
7 years ago
Andrew Tridgell
65308f9411
Rover: removed compass learn_offsets()
7 years ago
Michael du Breuil
2e9e91b3a3
Rover: Move battery logging to AP_BattMonitor
7 years ago
khancyr
5503a0069d
Rover: add proximity library
7 years ago
khancyr
c3fb985ec5
Rover: add fence support
7 years ago
Randy Mackay
de196f818d
Rover: log STER dataflash message regardless of mode
...
It is useful to at least have the pilot's steering in request even in manual modes
7 years ago
Randy Mackay
9710b16cac
Rover: THR dataflash logging replaces CTUN
7 years ago
Peter Barker
e38cefea8a
Rover: add SmartRTL mode
...
called at 3hz from scheduler
7 years ago
Andrew Tridgell
01c4e51d08
Rover: don't disable compass on one bad reading
...
the compass can go back for a short time and recover
found by Michael
7 years ago
Peter Barker
2d0a23fcc8
Rover: call ins's periodic function
7 years ago
Randy Mackay
1600823b12
Rover: aux switch to learn cruise throttle and speed
8 years ago
Randy Mackay
524fe4cd82
Rover: aux switch saves waypoint in manual or steering modes
...
Also refactor aux switch methods
rename LEARN_CH to AUX_CH
8 years ago
Peter Barker
fa2b500e93
Rover: remove CLI
8 years ago
khancyr
6b429bd372
Rover: remove redundant GPS check before camera update
...
this same check is included within AP_Camera
8 years ago
Randy Mackay
30852d4713
Rover: auto-reversed moved to mode
8 years ago