Iampete1
935ea02a71
Copter: RTL: ensure rally point is in absolute alt frame as RTL_ALT_TYPE takes precedence
2023-11-01 19:06:39 +11:00
Randy Mackay
0d43a2bec4
Copter: RTL accepts do-change-speed commands
2023-04-20 21:39:57 +10:00
tzarjakob
97b7e8d1d0
ArduCopter: configuration of Precision Landing for custom build server
2023-03-27 09:04:07 +11:00
murata
7a7f84adee
Copter: Clarify the exclusion determination in the ENUM definition
...
Co-authored-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2023-02-07 08:20:01 +09:00
Peter Barker
c32a11f37a
ArduCopter: make and use AP_LANDINGGEAR_ENABLED
2022-12-14 18:30:23 +11:00
Iampete1
e0b6145997
Copter: auto yaw fix issues after testing
2022-11-01 08:21:50 +09:00
Iampete1
55e72a9848
Copter: auto yaw re-work
2022-11-01 08:21:50 +09:00
Peter Barker
2d0f31c2ad
ArduCopter: correct compilation with rally disabled
2022-09-27 10:16:47 +10:00
Iampete1
1b160205ab
ArduCopter: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
murata
f3c23d1629
Copter: Append WHITE SPACE to the else statement
2022-07-18 09:06:14 +09:00
Leonard Hall
93cff95448
Copter: remove loiter_nav from auto
2022-03-07 16:14:23 +09:00
Leonard Hall
b5a4f24559
Copter: use position controller for landing reposition
2022-03-07 16:14:23 +09:00
Rishabh
309dfa63f3
Copter: Switch PrecLand to use updated Pos Controller
2022-01-31 14:38:29 +09:00
Leonard Hall
5d5ccc8c78
Copter: Update ACRO to use rate parameters and update expo function
2021-09-23 20:03:53 +09:00
Leonard Hall
f3dc47ce3d
Copter: Add units to the AC_AttitudeControl Library
2021-09-09 08:01:14 +09:00
Randy Mackay
8102629dfb
Copter: refactor/rename precland methods
2021-08-30 14:08:44 +09:00
Rishabh
40adad743e
Copter: Disable Prec Land State Machine when Prec Land disabled
2021-08-30 14:08:44 +09:00
Rishabh
c5b98c3490
Copter: Support Prec Land State Machine
2021-08-23 15:00:56 +09:00
bnsgeyer
ca007ee6f6
Copter: Allow Tradheli to spoolup in guided or auto mode
2021-08-23 12:26:00 +09:00
Tal Bass
4051b1ca0e
Copter: reset land_repo_active flag in RTL mode
2021-07-14 20:49:11 +09:00
Josh Henderson
2ba6ae6196
ArduCopter: mark get_wp() const
2021-07-13 08:05:25 +09:00
Andrew Tridgell
bada2670a6
Copter: update for new double precision position APIs
2021-06-24 21:34:30 +10:00
Andrew Tridgell
d89388c4cc
Copter: use cleaned up APIs
2021-06-24 20:28:45 +10:00
Leonard Hall
e294991b08
Copter: Fix before squash
2021-05-24 20:13:37 +10:00
Leonard Hall
4bae8f03a4
Copter: Use PosControl fixes
2021-05-24 20:13:37 +10:00
Leonard Hall
d0b9f6ced6
Copter: minor format fix to rtl
2021-05-13 10:34:02 +09:00
Pierre Kancir
4368629fb6
Copter: rename RTLState to SubMode
2021-05-12 17:50:47 +10:00
Pierre Kancir
c4cc3659fc
Copter: make RTLState an enum class
2021-05-12 17:50:47 +10:00
Leonard Hall
726074be91
Copter: Support Thrust Vector based navigation
2021-04-27 17:13:55 +09:00
Randy Mackay
7c14f4de0d
Copter: rtl passes speed to wpnav::init
2021-04-03 12:07:59 +09:00
Leonard Hall
328c0655e3
Copter: support for SCurves and position controller changes
...
wp_start provides next_dest_loc
send next_destination to wp_nav instead of setting fast_waypoint
fixup zigzag for S-curve changes
fixup guided
auto spline fixes
smart rtl rename of next_point to dest_NED
loc_from_cmd accepts default location
auto mode stops before starting land command
auto do_next_wp accepts default location
rename do_next_wp to set_next_wp
also rename get_spline_from_cmd argument
also improve failure to set next waypoint due to missing terrain data
also fixup comment in set_next_wp
also auto stops when moving from straight to spline segments
also auto mode spline fix
also auto mode calls AC_WPNav::set_spline_destination_next
Copter: AutoYaw provides rate from WPNav
2021-04-03 12:07:59 +09:00
Josh Henderson
f65c4df358
ArduCopter: make Location(Vector3f) require ALTFRAME
2021-03-30 08:56:35 +09:00
Tatsuya Yamaguchi
ed8384b45a
Copter: add option to disable LANDING_GEAR
2021-03-17 10:41:11 +09:00
James O'Shannessy
f14e1c2799
ArduCopter: Ensure fence has opportunity to auto disable for landing
2021-03-05 14:52:46 +11:00
Michael du Breuil
f9b4e81702
Copter: Add ignore pilot yaw to guided, auto and RTL options
2020-11-19 07:22:54 +09:00
Peter Barker
397b95154c
Copter: remove superfluous RETURN_TARGET_ALTTYPE_ from enum class names
...
Just repeats what's in the required prefix for the enum class
2020-09-08 10:01:59 +10: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
Andrew Tridgell
dd5fafe30e
Copter: added rangefinder height interpolated using inertial alt
...
this smooths rangefinder heights and allows for good estimated for
precision landing even with loss of some rangefinder samples during landing
2020-02-25 09:10:30 +09:00
Peter Barker
ce5f23810b
ArduCopter: log disarm method
2020-02-22 12:16:29 +11:00
Randy Mackay
ea22e888c7
Copter: improve RTL terrain following
...
RTL_ALT_TYPE replaces TERRAIN_FOLLOW param
return path built using rangefinder or terrain database
pre-arm checks for RTL_ALT_TYPE parameter
pre-arm checks of terrain data only run if RTL might use it
2019-12-17 20:02:01 +09:00
Peter Barker
e6c6189fe5
Copter: cope with change in namespace of LogEvent enum
...
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.
Also eliminate the Log_Write_Event wrappers.
2019-11-05 08:19:26 +08:00
Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Peter Barker
a1ce8dafb0
Copter: wrap_180_cd no longer returns floats for integer arguments
2019-09-18 12:57:02 +10:00
Peter Barker
b4537bebd8
Copter: move control_mode_t into being Mode::Number enum class
...
Fixes this compiler error:
In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
AUTO, // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
AUTO = 3, // fully automatic waypoint control using mission commands
^
1 error generated.
2019-09-13 13:12:08 +09:00
Randy Mackay
709c874d8b
Copter: integrate AP_OAPathPlanner
2019-08-17 09:42:43 +09:00
Leonard Hall
c56acb49d6
Copter: Add missing Loiter initialisation lines.
...
This command is missing to define the desired acceleration that loiter will initalise to.
loiter_nav->clear_pilot_desired_acceleration();
2019-07-20 16:40:51 +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
Peter Barker
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
2019-05-30 07:37:30 +09:00
Peter Barker
08a18d6a0a
Copter: avoid working with uninitialised home location
2019-05-29 09:04:37 +09:00
Peter Barker
d34c4b01f4
Copter: build return path in run() rather than init()
...
This avoids attempting to build a return path if we don't currently have
a home or origin
2019-05-29 09:04:37 +09:00