bnsgeyer
f96da56ad6
Copter: Allow safe shutdown before disarming
6 years ago
Leonard Hall
593925567b
Copter: formatting fixes
6 years ago
Randy Mackay
a6bfafefb0
Copter: move loiter and wpnav init out of make_safe_shut_down
...
resolves autotest RTLSpeed test failure
6 years ago
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
c7e21d95ef
Copter: move Log_Write_Error into library
6 years ago
Peter Barker
366051c39f
Copter: use enum class for AltFrame enumeration
6 years ago
Randy Mackay
e57ec068f0
Copter: remove duplicate guided limit-init-time-and-pos
...
this is called from nav_guided_start()
6 years ago
Randy Mackay
8d66c5f547
Copter: move do_payload_place handler
...
commands are placed in numerical order
6 years ago
Peter Barker
281dbfcef8
Copter: support send_extended_sys_state
6 years ago
Peter Barker
fab2d59a1c
Copter: move check for position up
6 years ago
Randy Mackay
384bca9482
Copter: stop at waypoint depending upon next command
6 years ago
Arjun Vinod
d02d897928
Copter: make LOITER_TIME send "Reached command" message to GCS
6 years ago
Arjun Vinod
8044d98382
Copter: do an early-return if the time hasn't been reached
6 years ago
Peter Barker
5ae52038fa
Copter: make setting of home boolean in preparation for sanity checks
6 years ago
Peter Barker
228d7b676d
Copter: move responsibility for parachute deployment up
6 years ago
Peter Barker
587e02e92e
Copter: remove pv_ functions that duplicate Location functions
6 years ago
Randy Mackay
42c7f5ceb4
Copter: integrate WPNAV::set_speed_z split to set_speed_up and set_speed_down
6 years ago
Randy Mackay
717fb4d823
Copter: integrate AC_WPNav::get_speed rename to get_default_speed
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
845f015648
Copter: adjust for Location_Class and Location unification
6 years ago
Peter Barker
73940df48e
Copter: move mission into mode_auto
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
f97281eb48
Copter: move servorelayevents mission handling into AP_Mission
6 years ago
Peter Barker
1eec264d6c
Copter: mission library handles gripper
6 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
b74ae2d912
Copter: Obey and preserve DO_SET_ROI commands when executing LOITER_TURNS mission commands
6 years ago
Peter Barker
7af119b497
Copter: factor out loc_from_cmd from three functions
6 years ago
Peter Barker
5f552a6ce3
Copter: stop shadowing members of Copter
...
These references were taken to make the breaking out of Modes in Copter.
A lot of other code has already caused these sorts of things to go away,
but these particular ones seem reasonable to fix by pointing the users
at the copter object directly.
6 years ago
Peter Barker
e02a645354
Copter: use fabsf() instead of labs()
...
wrap_180_cd returns a float
substracting a float from an int32 returns a float
6 years ago
chobitsfan
d94663d5af
Copter: support changing vertical speed in DO_CHANGE_SPEED
6 years ago
Peter Barker
26ca75efae
Copter: make libraries get EKF control limits themselves
6 years ago
Leonard Hall
1b5b46dab5
Copter: Missing Loiter Init on accel
6 years ago
Michael du Breuil
470548a100
Copter: Allow starting mission commands to fail
7 years ago
Pierre Kancir
17c12dab2a
Copter: correct payload_place flytolocation
7 years ago
Pierre Kancir
84ff9c6928
Copter: switch to pos control when takeoff finish
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
078d90132c
Copter: use AP_RTC
...
Co-authored-by: patrickelectric@gmail.com
Copter: AP_GPS now sets the system time directly
Copter: use AP_RTC for mission delays
Copter: Remove ap_t bits counter (Patrick José Pereira)
Change bits in ap_t to bool and add a static assert
7 years ago
apinxiko
e440583a7c
Copter: Beeping when first reaching waypoint while in holding there
7 years ago
apinxiko
5df4b9f6fd
Beeping when first reaching waypoint even while in holding there
7 years ago
apinxiko
a1fd1cb9b2
Copter: avoid keeping buzzing while in holding at waypoint
7 years ago
Peter Barker
7c8583d51d
Copter: implement sending of position_target_global_int
7 years ago
Peter Barker
8648db06b4
Copter: create autoyaw.cpp from all the bits of Copter::Mode::AutoYaw
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
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
Bruno Camba
7b50517232
Copter: Moved commands_logic to mode_auto
...
Moved methods from commands_logic.cpp to
the mode_auto.cpp. Method order is
the same as declared in mode.h
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago