Leonard Hall
38cc5a817f
Copter: consolidate mode state decisions
...
bnsgeyer and rmackay9 contributed to these changes
make_safe_shut_down waits for spool down before disarming
remove use of attitude_control::set_throttle_out_unstabilized to consolidate logic between multicopters and tradhelis
6 years ago
Peter Barker
3b33f4ca4d
Copter: add floating-point-constant designators
6 years ago
Peter Barker
d95160b33c
Copter: move check for high-throttle on mode change up
6 years ago
Peter Barker
34d9ce27af
Copter: make get_pilot_desired_throttle a method on Mode
6 years ago
Peter Barker
281dbfcef8
Copter: support send_extended_sys_state
6 years ago
Peter Barker
e744df585c
Copter: avoid int32_t<->float conversions
6 years ago
Randy Mackay
384bca9482
Copter: stop at waypoint depending upon next command
6 years ago
Randy Mackay
a903c91c40
Copter: remove unused auto_spline_start declaration
6 years ago
Peter Barker
2c814e9de2
Copter: get_alt_above_ground to get_alt_above_ground_cm
6 years ago
Arjun Vinod
d02d897928
Copter: make LOITER_TIME send "Reached command" message to GCS
6 years ago
Randy Mackay
ee6fd5ad8d
Copter: Guided_NoGPS does not require GPS
6 years ago
Peter Barker
f4f40f749b
Copter: Flip: fix FIXME by moving state into mode class
6 years ago
Peter Barker
3521d98b52
Copter: move handling Write_Event into AP_Logger
6 years ago
Peter Barker
845f015648
Copter: adjust for Location_Class and Location unification
6 years ago
Randy Mackay
50c5ad7076
Copter: TradHelis force spool up before takeoff
6 years ago
bnsgeyer
12f4d8518e
Copter: Tradheli moves init_targets_on_arming flag to motors
6 years ago
Peter Barker
bba3546279
Copter: do not permit copying of a Mode
6 years ago
Andrew Tridgell
cc4db3e458
Copter: implement get_wp() for follow
...
this allows the GCS to plot the position target
6 years ago
Andrew Tridgell
b897551e0b
Copter: log PIDs at full rate during AUTOTUNE twitch
6 years ago
Andrew Tridgell
89d54767b1
Copter: convert to use AC_AutoTune library
...
this maintains existing behaviour
6 years ago
Randy Mackay
7a6e212da9
Copter: follow return wp_distance and wp_bearing
6 years ago
Peter Barker
73940df48e
Copter: move mission into mode_auto
6 years ago
Peter Barker
b0494c1491
Copter: add override keyword where required
6 years ago
Peter Barker
7e581da1cf
Copter: implement misson LOITER_TO_ALT
6 years ago
Peter Barker
a339d77f08
Copter: let AP_Mission handle common camera commands
6 years ago
Peter Barker
1eec264d6c
Copter: mission library handles gripper
6 years ago
Peter Barker
7af119b497
Copter: factor out loc_from_cmd from three functions
6 years ago
Peter Barker
26ca75efae
Copter: make libraries get EKF control limits themselves
6 years ago
Randy Mackay
d3f7214bcf
Copter: revamp zigzag mode
...
more accurately stops on target
uses current z target when moving to edge
loses unnecessary auto_yaw.set_mode
ensure A and B are different
6 years ago
CAO MUQING
71beab7502
Copter: create and update Zigzag flight mode
6 years ago
Peter Barker
87f8e523de
Copter: clarify takeoff comments
7 years ago
Peter Barker
22f7f29045
Copter: move all of waypoint-takeoff into Mode namespace
7 years ago
Peter Barker
11aeec6dd1
Copter: factor out auto_takeoff_run from auto and guided
...
This code was identical.
7 years ago
Peter Barker
ff17c78c67
Copter: create Copter::Mode::_TakeOff subobject from takeoff_state
7 years ago
Peter Barker
7883582c65
Copter: move takeoff state into Mode class
7 years ago
Peter Barker
597e876953
Copter: clean up do_user_takeoff
7 years ago
Peter Barker
cff1969a29
Copter: make do_user_takeoff a member of Mode
7 years ago
Peter Barker
cb26ff64b3
Copter: current_mode_has_user_takeoff -> Mode::has_user_takeoff
7 years ago
Pierre Kancir
2d5cbd2cf8
ArduCopter: report crosstrack_error
7 years ago
Peter Barker
7c8583d51d
Copter: implement sending of position_target_global_int
7 years ago
Pierre Kancir
3be6c0e26b
ArduCopter : clean unused definitions
7 years ago
Peter Barker
948b90ed97
Copter: rename roi_WP to just roi
...
A Vector3f is not a waypoint.
This should really be "Point Of Interest" rather than "Region Of
Interest"
7 years ago
Peter Barker
ba8b3e2415
Copter: create an AutoYaw helper object to hold auto-yaw state
7 years ago
Peter Barker
80549a479e
Copter: move throw logging into ModeThrow
7 years ago
Leonard Hall
83fac326a4
Copter: autotune check for vel overshoot in angle P
...
this change reduces the chance of over tuned angle P
7 years ago
Randy Mackay
59e4749fd0
Copter: integrate AC_Loiter
...
includes param conversion
7 years ago
Ebin
1ff4019ddf
ArduCopter: moved landing control fns from Copter to Mode
...
land_run_horizontal_control(),land_run_vertical_control(),get_alt_above_ground() moved to Mode
7 years ago
Ebin
d8f56b3511
ArduCopter: changed signature for get_pilot_desired_lean_angles()
...
Removes first two redundant input parameters, makes fn non static, makes fn const
7 years ago
Leonard Hall
93de23e7c4
Copter: get-pilot-desired-lean-angles accepts another angle-max
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago