Randy Mackay
eb3aca7acf
Copter: add GUIDED_OPTIONS to allow arming from transmitter
2020-10-20 23:04:45 +09:00
Randy Mackay
ab54f8805a
Copter: guided mode checks dest before changing submode
2020-09-15 08:36:39 +09:00
Randy Mackay
30c8d7bf40
Copter: dev option so set-attitude-target thrust field used as thrust
2020-08-01 08:32:23 +09:00
Randy Mackay
dcbbd047b4
Copter: simplify guided mode takeoff using rangefinder
2020-04-23 15:01:46 +09:00
Tatsuya Yamaguchi
29dcbd1398
Copter: use rangefinder to takeoff altitude in guided mode
2020-04-23 15:01:46 +09:00
Randy Mackay
db2229f684
Copter: ModeGuided::do_user_takeoff_start arg rename
...
this makes it more consistent with the method it is overriding
2020-03-19 15:17:11 -07:00
Randy Mackay
8d99f204b0
Copter: integrate landing gear option and make edge based
...
also guided mode now retracts landing gear after takeoff
previously landing gear deployment was "level based" meaning the pilot could not override the gear's position
2020-02-26 08:01:00 +09:00
Sachchit Vekaria
f6125b26e8
Copter: Allowing Terrain Following in Guided Mode
...
Uses frame type of MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT message to decide the value of terrain_alt boolean.
2020-02-17 14:42:42 +09:00
Bogdan Grigoruta
5183703243
Copter: move Mode::auto_takeoff_run to takeoff.cpp
2019-11-18 09:14:08 +09:00
Randy Mackay
de5945bea5
Copter: use const reference when retrieving wpnav destination
2019-11-12 08:50:05 +08:00
Randy Mackay
709c874d8b
Copter: integrate AP_OAPathPlanner
2019-08-17 09:42:43 +09:00
Peter Barker
676d75c391
Copter: correct namespacing of Copter modes
...
This makes us look like Rover and Plane in terms of namespacing for the
Mode classes, and removes a wart where we #include mode.h in the middle
of the Mode class.
This was done mechanically for the most part.
I've had to remove the convenience reference for ap as part of this.
2019-06-11 09:18:22 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
402b1cba3f
Copter: replace 4 divisions with multiplications
2019-04-24 08:52:41 -07:00
Pierre Kancir
caf925eda5
Copter: factorize arm or land check
2019-04-16 10:17:47 +09:00
Peter Barker
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
2019-04-14 12:18:03 +09:00
bnsgeyer
94738c3f86
Copter: change make_safe_shut_down to make_safe_spool_down
2019-04-08 09:42:21 +09:00
Randy Mackay
a6bfafefb0
Copter: move loiter and wpnav init out of make_safe_shut_down
...
resolves autotest RTLSpeed test failure
2019-04-08 09:42:21 +09:00
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
2019-04-08 09:42:21 +09:00
bnsgeyer
d949c80d54
Copter: tradheli replaces rotor_runup_complete with spool state
2019-04-08 09:42:21 +09:00
Peter Barker
c7e21d95ef
Copter: move Log_Write_Error into library
2019-03-27 12:36:40 +11:00
Peter Barker
366051c39f
Copter: use enum class for AltFrame enumeration
2019-03-19 10:31:18 +11:00
Peter Barker
281dbfcef8
Copter: support send_extended_sys_state
2019-03-12 09:16:13 +09:00
Peter Barker
7c05364612
Copter: reindent mode init functions (NFC)
2019-03-01 13:43:20 +09:00
Peter Barker
fab2d59a1c
Copter: move check for position up
2019-03-01 13:43:20 +09:00
murata
8644f4d76e
Copter: Disable option code
...
Copter: Revert change
Copter: Change mistakes
2019-02-26 10:00:00 +09:00
Randy Mackay
717fb4d823
Copter: integrate AC_WPNav::get_speed rename to get_default_speed
2019-01-31 19:34:32 +09:00
Peter Barker
845f015648
Copter: adjust for Location_Class and Location unification
2019-01-16 11:45:29 +11:00
Peter Barker
26ca75efae
Copter: make libraries get EKF control limits themselves
2018-10-09 10:47:38 +11:00
Michael du Breuil
7e1ed948f5
Copter: Cope with AC_PosControl renaming
2018-09-20 15:15:45 -07:00
Pierre Kancir
84ff9c6928
Copter: switch to pos control when takeoff finish
2018-07-31 10:40:57 +10:00
Peter Barker
22f7f29045
Copter: move all of waypoint-takeoff into Mode namespace
2018-07-27 13:08:27 +10:00
Peter Barker
11aeec6dd1
Copter: factor out auto_takeoff_run from auto and guided
...
This code was identical.
2018-07-27 13:08:27 +10:00
liang.tang
57598e5b9f
ArduCopter:mode_guided: yaw initialization already in pos_control_start()
2018-07-05 15:48:00 +01:00
Peter Barker
597e876953
Copter: clean up do_user_takeoff
2018-06-26 09:11:21 +09:00
Pierre Kancir
2d5cbd2cf8
ArduCopter: report crosstrack_error
2018-06-26 08:42:14 +09:00
Randy Mackay
0ba105f649
Copter: minor format fix to guided
...
no need to specify copter
non-functional change
2018-05-31 15:21:42 +09:00
Peter Barker
7c8583d51d
Copter: implement sending of position_target_global_int
2018-05-18 20:26:37 +10:00
Peter Barker
ba8b3e2415
Copter: create an AutoYaw helper object to hold auto-yaw state
2018-04-18 13:27:43 +09:00
Randy Mackay
d7ea8f073f
Copter: run guided velocity control at main loop rate
2018-03-16 13:50:57 +09:00
Randy Mackay
853d7ab573
Copter: remove setting of pos-con jerk
2018-03-16 13:50:57 +09:00
Leonard Hall
f9acc8a666
Copter: guided removes xy mode in calls to pos-con
...
Also limit angle to hold altitude
2018-03-16 13:50:57 +09:00
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
2018-03-16 13:50:57 +09:00
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
2018-03-05 15:08:08 +09:00
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
2018-02-08 17:36:33 +11:00
Randy Mackay
8d6f8e4d9c
Copter: move pos-control pids to pos-control library
2018-01-23 12:00:43 +09:00
Randy Mackay
e85b1ac740
Copter: pass dt to avoidance calls
2018-01-16 12:13:48 +09:00
Peter Barker
114628afe4
Copter: use zero_throttle_and_relax_ac in stab, guided, acro and auto
2018-01-08 12:02:49 +00:00
Peter Barker
71ad1b5815
Copter: use zero_throttle_and_relax_ac function
2017-12-27 12:09:06 +00:00
Randy Mackay
c3fbf2671c
Copter: rename control_xx.cpp files to mode_xx.cpp
2017-12-12 10:39:26 +09:00