Peter Barker
c4734484e7
AC_Avoid: take an AP_AHRS in place of an AP_AHRS_NavEKF
7 years ago
Peter Barker
8a4ab685c7
AP_AHRS: implement get_hgt_ctrl_limit on base class
...
If no limits are required false can be returned, so an trivial
implementation is possible
7 years ago
Peter Barker
89e12163cd
AP_AHRS: correct comment
7 years ago
Peter Barker
c3eff57f60
AP_InertialNav: remove unused get_hgt_ctrl_limit
7 years ago
Peter Barker
a1c982be4a
AC_Avoid: work in metres to avoid extra work
7 years ago
Peter Barker
0fe45ef6b6
AC_Avoid: eliminate get_position and get_alt_above_home
7 years ago
Peter Barker
54010451bf
AC_Avoid: check result of AHRS calls
...
Work in metres to avoid computation
7 years ago
khancyr
b44ba29a05
AC_Avoidance: replace AP_InertialNav by AHRS
7 years ago
Randy Mackay
34c2fba9a7
Rover: boats stay active at destination in guided, rtl, smartrtl
7 years ago
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.
7 years ago
Randy Mackay
aa38239629
Rover: add FRAME_CLASS to differentiate boats from rovers
7 years ago
Andrew Tridgell
4289190654
HAL_PX4: added LIS3MDL on FMUv4
7 years ago
Mark Whitehorn
b0e2f06a7a
AP_Compass: add LIS3MDL probe for Pixracer
7 years ago
Tom Pittenger
512b327cd4
Plane: failsafe events to use enums instead of magical numbers : Non-functional change
7 years ago
Peter Barker
103e2cc711
Copter: calculate wp bearing and distance on demand
...
Move responsibility for calculating wp bearing/distance
into the FlightMode object doing the navigation
Calculating these variables was being done at 50Hz where they
were used at 10Hz max.
7 years ago
Peter Barker
4ae2be55aa
Copter: fix up autotune namespacing
...
This moves static variables into the autotune flightmode object.
It also adjusts namespacing on everything to take advantage of
having everything encapsulated in the AutoTune object
7 years ago
Randy Mackay
57067fb8bc
Rover: add WP_SPEED and RTL_SPEED
...
This separates the default/maximum speed used in Auto, Guided, RTL and SmartRTL from the CRUISE_SPEED which is used as the base for the speed-to-throttle controller (along with CRUISE_THROTTLE)
7 years ago
Randy Mackay
22ef276484
Rover: add const to mode::speed_error
7 years ago
Randy Mackay
8f08f5189a
Rover: constify some temporary variables
7 years ago
Peter Barker
7b637334f4
Copter: eliminate mode_has_manual_throttle
7 years ago
Peter Barker
4fd61ed6dc
Copter: make exit_mode take FlightMode objects as arguments
7 years ago
Peter Barker
adf4140b9b
Copter: fix heli-flags compilation issue
7 years ago
Peter Barker
477ae8f7be
Copter: pass heli_flags into flightmode constructor
7 years ago
Peter Barker
83d0a71e10
Copter: FlightMode - simplify flight mode initialization
7 years ago
Peter Barker
0ca5605b8d
Copter: FlightMode: remove virtual from many methods
7 years ago
Peter Barker
ef1489e87a
Copter: eliminate mode_requires_gps
7 years ago
Peter Barker
a4859e13c1
Copter: eliminate mode_allows_arming
7 years ago
Peter Barker
9c60c1de58
Copter: FlightMode - convert SMARTRTL flight mode
7 years ago
Peter Barker
b0e34bd307
Copter: FlightMode - convert GUIDED_NOGPS flight mode
7 years ago
Peter Barker
cf423ce681
Copter: FlightMode - convert THROW flight mode
7 years ago
Peter Barker
1de99c737e
Copter: remove unimplemented heli desired_yaw_rate
7 years ago
Peter Barker
37c706c24e
Copter: FlightMode - convert AVOID_ADSB flight mode
7 years ago
Peter Barker
51cd143012
Copter: FlightMode - convert BRAKE flight mode
7 years ago
Peter Barker
cafce01357
Copter: FlightMode - convert POSHOLD flight mode
7 years ago
Peter Barker
67063d6b1e
Copter: FlightMode - convert AUTOTUNE flight mode
7 years ago
Peter Barker
018c70d224
Copter: FlightMode - convert FLIP flight mode
7 years ago
Peter Barker
5e3e831152
Copter: FlightMode - convert SPORT flight mode
7 years ago
Peter Barker
6a38664ff4
Copter: FlightMode - convert DRIFT flight mode
7 years ago
Peter Barker
682f3c0e7e
Copter: FlightMode - convert RTL flight mode
7 years ago
Peter Barker
3b1ca99b95
Copter: FlightMode - convert LAND flight mode
7 years ago
Peter Barker
2db09ba0f7
Copter: FlightMode - convert GUIDED flight mode
7 years ago
Peter Barker
f2495b2d08
Copter: FlightMode - convert LOITER flight mode
7 years ago
Peter Barker
871ba5630f
Copter: FlightMode - convert CIRCLE flight mode
7 years ago
Peter Barker
e2b70c3a0a
Copter: FlightMode - convert AUTO flight mode
7 years ago
Peter Barker
a95a35c134
Copter: FlightMode - convert STABILIZE flight mode
7 years ago
Peter Barker
79c06974b7
Copter: FlightMode - convert ALT_HOLD flight mode
7 years ago
Peter Barker
d74f0c72da
Copter: FlightMode - convert ACRO flight mode
7 years ago
Peter Barker
527a536b78
Copter: FlightMode - remove function parameters
...
Use current control_mode in place of parameters
Once conversion is complete these functions will disappear
7 years ago
Peter Barker
99a22a263d
Copter: a FlightMode base class
7 years ago
Peter Barker
e0233f1dc4
Copter: create a takeoff_state_t type
7 years ago