Randy Mackay
4b6f03cc11
Copter: remove do_land's use of RTL_ALT_MAX
11 years ago
Randy Mackay
7d5d0d12a2
Copter: spline bug fixes
...
Next waypoint's location must be passed in even if it's a straight
segment.
mission.get_next_nav_cmd's start_index should be the current command +1
11 years ago
Randy Mackay
176a450ad2
Copter: remove spline handling from regular wp_nav
11 years ago
Randy Mackay
d541fefab4
Copter: add do_spline_wp and verify_spline_wp functions
11 years ago
Randy Mackay
8f946a3a8c
Copter: remove original_wp_bearing
...
To-Do: extend wpnav yaw control to only repoint nose towards waypoint if
it is more than 5m or 10m away
11 years ago
Randy Mackay
0822adfb34
Copter: integrate spline navigation
11 years ago
Randy Mackay
88527cd01c
Copter: integrate Mission cmd field changes
11 years ago
Randy Mackay
a3573f9ebd
Copter: minor typo in do_change_speed processing
...
It is unlikely that the "f" at the end of the 100 is required to
maintain the full precision of the target speed but added just in case
11 years ago
Randy Mackay
08b78db43c
Copter: use mission command specific structures
11 years ago
Randy Mackay
2f8daf2fa9
Copter: integrate dataflash Log_Write_MavCmd
11 years ago
Randy Mackay
f3813593b7
Copter: use Dataflash lib's Log_Write_Cmd
11 years ago
Randy Mackay
c3162f67e8
Copter: integrate move of p1 from Location to mission cmd
11 years ago
Randy Mackay
359f1a27ec
Copter: process cmds from mission lib
11 years ago
Randy Mackay
6efc26d3a6
Copter: restore mount's mode to default after ROI completes
11 years ago
Randy Mackay
fdae812814
Copter: DO_SET_ROI persists across waypoints
...
Users should add a DO_SET_ROI command with zero lat, lon and alt to
restore the yaw control to the default control (which is normally
look-at-next-wp)
11 years ago
Andrew Tridgell
c6e25483b4
Copter: use a common home with AHRS
11 years ago
Randy Mackay
aa4c3eaffe
Copter: resolve RTL state compiler warnings
11 years ago
Randy Mackay
1acd33e290
Copter: do_yaw takes yaw target from AttControl
11 years ago
Randy Mackay
81c7df7678
Copter: comment fix
11 years ago
Randy Mackay
bca309eb1e
Copter: replace takeoff_complete with landed_complete
11 years ago
Randy Mackay
54be8402a2
Copter: integrate control_guided
11 years ago
Randy Mackay
212ced63f6
Copter: bug fix for do_loiter_time alt target
11 years ago
Randy Mackay
70d1e53b74
Copter: commands_logic to use auto_rtl
11 years ago
Randy Mackay
bae867712d
Copter: integrate circle mission command
11 years ago
Randy Mackay
055ce4e53e
Copter: integrate control_rtl
11 years ago
Randy Mackay
cdc0f8e414
Copter: use new control_auto takeoff and land
11 years ago
Randy Mackay
f3bcbb2ce4
Copter: remove setting roll, pitch yaw modes in set_mode
11 years ago
Randy Mackay
65f7bf92f4
Copter: replace yaw_mode with auto_yaw_mode
11 years ago
Randy Mackay
0a2adbac1b
Copter: renaming functions after moving xy control
11 years ago
Randy Mackay
5fd9410ff5
Copter: much renaming as xy pos controller moves
11 years ago
Andrew Tridgell
e8b8cc1a5d
Copter: converted to AP_ServoRelayEvents
11 years ago
Andrew Tridgell
e3804e2846
Copter: fixes for AP_Relay API change
11 years ago
Randy Mackay
6d55895d30
Copter: simplify do-set-servo mission command
...
This potentially changes the servo number that must be supplied if using
an APM1 but it now shares the same logic as arduplane and also adds
protection that the servo is not attached to the motor.
removed debug message from previous commit.
11 years ago
Randy Mackay
59cea4b88c
Copter: remove CopterLED from main code
11 years ago
Randy Mackay
7ef04bb73b
Copter: rename nav_yaw to control_yaw
11 years ago
Robert Lefebvre
0e2ddb0378
Copter: verify_takeoff() should set ap.takeoff_complete to True after the takeoff is complete.
11 years ago
Randy Mackay
65980ace68
Copter: remove some commented out send_text code
11 years ago
Andrew Tridgell
3b9566bc09
Copter: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
11 years ago
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
12 years ago
Randy Mackay
284aa2217f
Copter: remove old comments
12 years ago
Randy Mackay
6052017b13
Copter: allow override of auto throttle mode
12 years ago
Randy Mackay
7ea971d948
Copter: check set_mode for failure
...
Previously if set_mode failed it would return the copter to stabilize
mode. With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
12 years ago
Randy Mackay
1dcc5886d0
Copter: ensure take-off alt is at least 1m
...
fixes issue #377
12 years ago
Randy Mackay
47ab02d686
Copter: bug fix to ROI to pull target from conditional command queue
12 years ago
Randy Mackay
f1969d5662
Copter: switch from NAV_ROI to DO_SET_ROI
12 years ago
Randy Mackay
ab1a7baf71
Copter: project stopping point for loiter command
12 years ago
Randy Mackay
022148ec0d
Copter: LAND only control horizontal position if we have GPS lock
12 years ago
Randy Mackay
993bccc60e
Copter: point nose at landing point if specified
12 years ago
Randy Mackay
9f59f2724f
Copter: bug fix for take-off when throttle is zero
...
Verify_takeoff was always returning false if throttle was zero. The
pilot should be able to move their throttle back to zero immediately
after initiating the mission
12 years ago
Dr Gareth Owen
79bd8b4fd0
rtl resets yaw to same as when armed - unless user specifies otherwise
12 years ago