khancyr
58b643c458
Rover: replace divide with multiply in calc_throttle
...
non functional change
8 years ago
Randy Mackay
6eceaef484
Rover: remove redundant SYS_NUM_RESETS
...
this is handled by AP_Stats library
8 years ago
Randy Mackay
e2d4182c75
Rover: fix parameter conversion
8 years ago
Randy Mackay
c9927e6af6
Rover: bug fix to steering mode top speed
...
Also non-functional change to calc_throttle to make call to calc_speed_nudge consistent
8 years ago
Randy Mackay
167a856cdb
Rover: remove THR_MIN, THR_MAX parameters from vehicle
...
enforcing these limits is now handled by AP_MotorsUGV class
8 years ago
Randy Mackay
c0fe1b7ec8
AP_MotorsUGV: minor comment fix
8 years ago
Randy Mackay
c8eceeabb6
AP_MotorsUGV: add THR_MIN, THR_MAX parameters
8 years ago
Randy Mackay
c61f965828
AP_MotorsUGV: re-order implementation to match declaration
...
non-functional change
8 years ago
Peter Barker
f3a0d2b02b
Rover: use GCS_MAVLINK subclasses to handle set_mode
8 years ago
Grant Morphett
2463bfd2ec
Rover: fix SITL Make build on Windows
...
PE linker can't remove unused methods so we add the necessary libraries
8 years ago
Peter Barker
4c2747bfe8
Rover: use rangefinder backend accessors
8 years ago
Michael du Breuil
a98c8427dd
Rover: Expose the AFS instance to MAVLink
8 years ago
Randy Mackay
348dbdaf22
Rover: fix do-nav-wp comment
8 years ago
Randy Mackay
57b2b02509
Rover: remove out-of-date comment
8 years ago
Randy Mackay
492fe40f93
Rover: re-organise private member declarations
...
declarations are grouped by file (which are in turn organised alphabetically) and in the order they appear within each file
non-functional change
8 years ago
Randy Mackay
6c7db05207
Rover: re-organise includes
...
non-functional change
8 years ago
Randy Mackay
06a7e46447
Rover: remove PID from build
8 years ago
Randy Mackay
95c5ada3e9
Rover: modes use stop_vehicle to stop gently
...
modes slow to a stop instead of immediately setting motors to zero
vehicle centers steering when stopping
8 years ago
Randy Mackay
0b917cfd36
Rover: mode auto guided and rtl slow before destination
...
new mode class member _desired_speed_final holds target speed at destination
main vehicle code passes heading to next waypoint into auto mode.
we do not provide heading when delaying at waypoint which signals we wish
auto-mode calculates final speed at destination which allows vehicle to
make turn within value of WP_OVERSHOOT parameter assuming vehicle turns at
maximum lateral acceleration.
8 years ago
Randy Mackay
d99108f3bc
Rover: use AR_AttitudeControl for throttle control
...
also direct throttle nudge replaced with speed nudge
calc_speed_max estimates vehicle's top speed based on cruise-speed and
cruise-throttle
steering mode now provides total target speed instead of using speed plug
throttle nudge
motor limits provided to attitude control to stop i-term buildup
uses negative desired speed instead of reversed flag
reporting to GCS uses new throttle controller
braking is simply enabled and allows a reverse motor output regardless of vehicle
speed
8 years ago
Randy Mackay
61d1ced7aa
Rover: add turn radius param for steering mode
...
removes reliance on old steerController
8 years ago
Randy Mackay
9097269d6d
Rover: use AR_AttitudeControl for steering control
8 years ago
Randy Mackay
c56d8cb6b1
Rover: add AC_PID and AR_AttitudeControl to build
8 years ago
Randy Mackay
a5783939ef
AP_MotorsUGV: add limit flags
...
These flags become true when the steering servo or motors hit their
limits. used to stop I-term build-up in higher level controllers.
8 years ago
Peter Barker
fa2b500e93
Rover: remove CLI
8 years ago
Randy Mackay
59a1f260d1
Rover: remove unused compat.h
8 years ago
Randy Mackay
b895da64e1
Rover: minor comment fix to parameters list
8 years ago
Randy Mackay
e79e92a789
Rover: remove unused SPEED_TURN_DIST parameter
8 years ago
Randy Mackay
28d74722bd
AP_MotorsUGV: minor formatting fix
8 years ago
Randy Mackay
bff74115bc
Rover: remove unused distance_past_wp
8 years ago
Randy Mackay
a00c7e0acb
Rover: mode calc_reduced_speed_for_turn gets some const for local variables
8 years ago
Randy Mackay
66bb3e8ee0
Rover: minor formatting fix to parameters.cpp
8 years ago
Peter Barker
edab526b01
Rover: send gps messages as separate queued messages
8 years ago
Peter Barker
f7fd663f45
Rover: move sending of gps_raw up
8 years ago
Peter Barker
89a5272ab5
Rover: move sending of system_time up
8 years ago
Peter Barker
341a9ae032
Rover: move sending of camera_feedback up
8 years ago
Peter Barker
ece800ba90
Rover: move sending of meminfo up
8 years ago
Peter Barker
c642dc616a
Rover: use new retry_deferred method
8 years ago
khancyr
6b429bd372
Rover: remove redundant GPS check before camera update
...
this same check is included within AP_Camera
8 years ago
khancyr
7c3374668e
Rover: formatting fixes and const local variables
8 years ago
khancyr
848df551ac
Rover: formatting and comment fixes to mode class
8 years ago
Randy Mackay
efc790a84a
Rover: add comment to mode
8 years ago
Randy Mackay
30852d4713
Rover: auto-reversed moved to mode
8 years ago
Randy Mackay
4f5e82f406
Rover: mode fixes for reversing
8 years ago
Randy Mackay
66f1437e4f
Rover: remove unused throttle variable
8 years ago
Randy Mackay
1e8e3609c6
Rover: remove duplicate setting of ground_speed
...
update_ahrs already does this using a slightly different method, having both likely leads to small twitches in ground speed at 10hz
8 years ago
Randy Mackay
e88b1572b6
Rover: remove navigate
8 years ago
Randy Mackay
fe6465b748
Rover: remove next_WP, wp_distance, navigate
...
Also remove prev_WP, wp_totalDistance which are all handled within mode class
8 years ago
Randy Mackay
b4af441eb9
Rover: remove unused update_navigation
8 years ago
Randy Mackay
2640ec9ed9
Rover: rename update_commands to update_mission
8 years ago