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
Dr.-Ing. Amilcar Do Carmo Lucas
b27c00dc5f
Copter: add option to disable ACRO mode
7 years ago
Randy Mackay
af207caa1f
Copter: move get_pilot_desired_lean_angles higher in cpp
...
this makes the definition in the .h and implementation in .cpp files appear in the same order
7 years ago
Ebin
20995b909f
Copter: Moved get_pilot_desired_lean_angles to mode.cpp
7 years ago
Peter Barker
af56826107
Copter: follow mode fixups
...
add follow to FLTMODEx param descriptions
remove follow's set_velocity method
10hz logging of desired velocity in follow mode
follow mode uses pos error P gain
add send-debug-via-mavlink option
don't enter follow if follow lib is disabled
follow debug slowed to 1hz
disable follow on min-features builds
7 years ago
Randy Mackay
6ee101ca98
Copter: rename chase to follow
7 years ago
Randy Mackay
053983eb70
Copter: integrate AP_Follow into chase mode
7 years ago
Peter Barker
199455dc56
Copter: add chase mode
7 years ago
Peter Barker
eb9bbddcb7
Copter: add in_guided_mode mode callback
7 years ago
Peter Barker
06da2f50ce
Copter: correct compilation when logging is disabled
7 years ago
Peter Barker
e6ece4cf3d
Copter: correct use of parent class constructors (heli)
7 years ago
Andrew Tridgell
7938bd08bb
Copter: make flowhold mode conditional
...
reduces build size on px4-v2 by 4k
7 years ago
murata
c31c2a4cf1
Copter: optionalize the winch
7 years ago
Peter Barker
8f8917369c
Copter: correct use of parent class constructors
7 years ago
Peter Barker
5e55784707
Copter: remove unneeded and unwanted virtual keywords
7 years ago
Randy Mackay
4319e37f0c
Copter: non-functional FlowHold changes
...
class declaration moved to alphabetical position in mode.h
parameter descriptions include FlowHow at beginning to help distinguished from optical flow parameters
resolved compiler warnings
7 years ago
Andrew Tridgell
0ed75052f8
Copter: enable parameters inside mode objects
...
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
7 years ago
Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
7 years ago
Andrew Tridgell
f442b91ea5
Copter: added FLOWHOLD flight mode
...
This flight mode allows for position hold with optical flow without
needing a rangefinder for height. It can estimate its height from the
flow data and IMU
7 years ago
Peter Barker
a97301c0f2
Copter: do not allow arming in RTL
7 years ago
Peter Barker
41dc8554c0
Copter: pull out a zero_throttle_and_relax function
7 years ago
Peter Barker
d9235d3d41
Copter: make landing_gear_should_be_deployed a base-class method
7 years ago