Andrew Tridgell
c3d839456b
Copter: support logging while disarmed
2014-10-17 16:29:59 +09:00
Randy Mackay
6659473420
Copter: support GUIDED_ENABLE and GUIDED_LIMITS
...
Split of NAV_GUIDED into these two command necessitated guided mode
store the limits
2014-10-13 21:40:24 +09:00
Jonathan Challinger
8e3d163c3d
Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero
2014-10-08 20:54:24 +09:00
Randy Mackay
ef0e37b478
Copter: bugfix to condition-yaw for relative angles
...
Thanks to roque-canales for raising the issue and paradisephil for finding
the specific piece of code that went wrong and suggesting the fix.
2014-09-26 12:22:58 +09:00
Randy Mackay
bbe4438a6b
Copter: add support for DO_GRIPPER command
2014-09-17 21:14:19 +09:00
Andrew Tridgell
e9fedbdb79
Copter: removed use of removed MAV_CMD_NAV_ commands
2014-07-24 21:40:16 +10:00
Randy Mackay
81355d1adf
Copter: DO_SET_ROI accepted outside missions
...
Moved ROI logic to new set_auto_yaw_roi function.
2014-07-06 17:02:06 +09:00
MousS
ae8fb3f1c5
Copter: MAV_CMD_CONDITION_YAW accepted outside missions
2014-07-06 17:01:15 +09:00
Randy Mackay
f5640dadbf
Copter: guided mode velocity controller
2014-07-06 17:01:08 +09:00
Randy Mackay
12720bbbe1
Copter: accept condition-yaw commands in guided
2014-07-06 17:00:46 +09:00
Randy Mackay
279926e386
Copter: accept guided pos updates when doing NAV_GUIDED cmd
2014-07-06 17:00:35 +09:00
Randy Mackay
fdc0ec837b
Copter: add nav_guided suport to Auto mode
2014-07-06 17:00:31 +09:00
Randy Mackay
e0f4a570c6
Copter: loiter turns radius from command's p1 field
2014-06-17 20:53:56 +10:00
Randy Mackay
8c488ebd87
Copter: use common Log_Write_Camera
...
pair programmed with Craig Elder
2014-06-17 14:11:39 +10:00
Randy Mackay
5c305989b9
Copter: set home alt to absolute alt
2014-06-11 11:04:52 +09:00
Arthur Benemann
e1b7e53c04
Copter: only acceept Guided waypoints in Guided mode
...
Fix #1068 . When receiving guided waypoints do not change to GUIDED mode. This serves as a safety precaution for GCS, since they must switch to guided mode before sending the waypoints.
2014-05-17 12:02:53 +09:00
Randy Mackay
466e9db1f9
Copter: integrate AC_WPNav get_speed_xy name change
2014-04-30 21:46:07 +09:00
Randy Mackay
817c893f21
Copter: bug fix for conditional_distance command
...
Due to a race condition, the wp_distance was not being updated before
the conditional_distance
2014-04-17 22:23:28 +09:00
Randy Mackay
c53a0fcfd9
Copter: conditional yaw fix
...
waypoint command was setting auto_yaw_mode when it was run after the
do-cmd
yaw_look_at_heading was being set to current heading which was
overwriting the caller's desired heading
2014-04-17 16:41:36 +09:00
Randy Mackay
7f00bd7f5d
Copter: default WAYPOINT to current pos if lat, lon, alt are zero
2014-04-16 20:33:43 +09:00
Randy Mackay
e6d2692eab
Copter: Loiter_Turns moves to edge of circle if location provided
2014-04-16 16:28:08 +09:00
Randy Mackay
2b4d2697b2
Copter: process MAV_CMD_DO_PARACHUTE commands
2014-04-07 13:36:56 +09:00
Andrew Tridgell
640b64f5e4
Copter: convert to new GPS API
2014-04-01 06:38:24 +11:00
Randy Mackay
4b6f03cc11
Copter: remove do_land's use of RTL_ALT_MAX
2014-03-31 20:34:21 +09:00
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
2014-03-29 17:57:45 +09:00
Randy Mackay
176a450ad2
Copter: remove spline handling from regular wp_nav
2014-03-28 09:23:41 +09:00
Randy Mackay
d541fefab4
Copter: add do_spline_wp and verify_spline_wp functions
2014-03-28 09:23:33 +09:00
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
2014-03-28 09:23:21 +09:00
Randy Mackay
0822adfb34
Copter: integrate spline navigation
2014-03-28 09:22:59 +09:00
Randy Mackay
88527cd01c
Copter: integrate Mission cmd field changes
2014-03-19 12:14:25 +09:00
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
2014-03-19 12:12:55 +09:00
Randy Mackay
08b78db43c
Copter: use mission command specific structures
2014-03-19 12:12:54 +09:00
Randy Mackay
2f8daf2fa9
Copter: integrate dataflash Log_Write_MavCmd
2014-03-19 12:12:46 +09:00
Randy Mackay
f3813593b7
Copter: use Dataflash lib's Log_Write_Cmd
2014-03-19 12:12:11 +09:00
Randy Mackay
c3162f67e8
Copter: integrate move of p1 from Location to mission cmd
2014-03-19 12:10:48 +09:00
Randy Mackay
359f1a27ec
Copter: process cmds from mission lib
2014-03-19 12:10:11 +09:00
Randy Mackay
6efc26d3a6
Copter: restore mount's mode to default after ROI completes
2014-03-05 16:02:14 +09:00
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)
2014-02-18 21:36:02 +09:00
Andrew Tridgell
c6e25483b4
Copter: use a common home with AHRS
2014-02-15 05:48:15 +11:00
Randy Mackay
aa4c3eaffe
Copter: resolve RTL state compiler warnings
2014-02-15 05:27:48 +11:00
Randy Mackay
1acd33e290
Copter: do_yaw takes yaw target from AttControl
2014-02-15 05:27:47 +11:00
Randy Mackay
81c7df7678
Copter: comment fix
2014-02-15 05:27:46 +11:00
Randy Mackay
bca309eb1e
Copter: replace takeoff_complete with landed_complete
2014-02-15 05:27:43 +11:00
Randy Mackay
54be8402a2
Copter: integrate control_guided
2014-02-15 05:27:42 +11:00
Randy Mackay
212ced63f6
Copter: bug fix for do_loiter_time alt target
2014-02-15 05:27:41 +11:00
Randy Mackay
70d1e53b74
Copter: commands_logic to use auto_rtl
2014-02-15 05:27:41 +11:00
Randy Mackay
bae867712d
Copter: integrate circle mission command
2014-02-15 05:27:41 +11:00
Randy Mackay
055ce4e53e
Copter: integrate control_rtl
2014-02-15 05:27:39 +11:00
Randy Mackay
cdc0f8e414
Copter: use new control_auto takeoff and land
2014-02-15 05:27:38 +11:00
Randy Mackay
f3bcbb2ce4
Copter: remove setting roll, pitch yaw modes in set_mode
2014-02-15 05:27:37 +11:00