Commit Graph

3063 Commits

Author SHA1 Message Date
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 f29ad3a2e0 Copter: bug fix for when WP_YAW_BEHAVIOR is 0 2014-04-17 16:53:06 +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 d2dad1b2c1 Copter: remove unused circle_desired_rotations
desired num rotations is already held in command so we save 1byte of RAM
2014-04-16 16:28:11 +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 f6676be400 Copter: integrate change in AC_Circle init
Removed init_loiter_target when vehicle landed.  We should add some
initialisation of the circle controller when landed.
2014-04-16 16:28:06 +09:00
jschall ff9838ea27 Copter: Document stream rate parameter functionality 2014-04-15 16:05:45 +09:00
Kevin Hester 4bfd6b8ddd Copter: fixup line endings to be newline 2014-04-15 15:54:13 +09:00
Randy Mackay cf86e304f0 Copter: add V-Tail to FRAME param's @Value 2014-04-15 12:18:31 +09:00
Randy Mackay 729026d80c Drift: get velocity using const reference 2014-04-14 11:34:17 +09:00
Emile Castelnuovo f5a68fdba1 Copter: clear RC in overrides on GCS failsafe. 2014-04-13 22:59:51 +09:00
TeamOSEOLA 7dda8afd60 Copter: Fixed GPS_ok() status checking
Fixed the GPS_ok() so that TRUE is returned in the cases of DGPS and Assisted GPS fixes, not just 3D fix.
2014-04-11 09:01:35 +10:00
Andrew Tridgell 1189978334 Copter: ensure we log both GPS at the time we receive a message 2014-04-10 10:30:10 +10:00
Randy Mackay e7d73aa856 Copter: enable GCS failsafe to RTL by default
This only triggers if the user has been using the GCS's RC override
2014-04-09 10:50:35 +09:00
Randy Mackay 037a0b4e5a Copter: dos2unix Parameters.h 2014-04-08 23:30:15 +09:00
Emile Castelnuovo a9bd4e9da1 VRBRAIN: added ignore board voltage check for VRBRAIN boards. 2014-04-08 16:19:20 +10:00
Emile Castelnuovo 9e31f032c2 Copter: added VRBRAIN board #includes and #defines 2014-04-08 16:19:20 +10:00
Randy Mackay 8a4d82f43a Copter: AC3.1.3 release notes 2014-04-07 14:28:12 +09:00
Randy Mackay 9bf9e0ede9 Copter: check parachute is enabled before manual_release 2014-04-07 13:37:15 +09:00
Randy Mackay 01e5ae6e5c Copter: integrate parachute alt_min units change 2014-04-07 13:37:12 +09:00
Randy Mackay 47c1cb8b99 Copter: log parachute events 2014-04-07 13:36:59 +09:00
Randy Mackay 2b4d2697b2 Copter: process MAV_CMD_DO_PARACHUTE commands 2014-04-07 13:36:56 +09:00
Randy Mackay 56768a8d61 Copter: add min alt check to parachute release 2014-04-07 13:36:50 +09:00
Randy Mackay 340f3a7f9d Copter: ch7/ch8 parachute release 2014-04-07 13:36:47 +09:00
Randy Mackay ac982656fd Copter: extend crash check to trigger parachute 2014-04-07 13:36:46 +09:00
Randy Mackay ff32b27272 Copter: integrate parachute lib 2014-04-07 13:36:44 +09:00
Andrew Tridgell ae350e42aa Copter: show next wp when not running a mission
this lets the GCS know what wp would be run if auto mode is selected
2014-04-07 11:41:05 +10:00
Andrew Tridgell 454d1f26c3 Copter: added support for SERIAL_CONTROL message 2014-04-05 07:34:34 +11:00
Andrew Tridgell 339689b578 Copter: fixed load average for different loop rates
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2014-04-04 21:37:56 +11:00
Andrew Tridgell 27ad8c39d6 Copter: enable passthrough auxillary channels 2014-04-03 12:19:44 +11:00
Andrew Tridgell 7bf12cfd8a Copter: update for gps.setHIL() API 2014-04-02 07:55:28 +11:00
Andrew Tridgell 852cdbaa7c Copter: added GPS parameters 2014-04-01 06:38:25 +11:00
Andrew Tridgell 640b64f5e4 Copter: convert to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell 198388b5e0 Copter: use AP_GPS_Auto for 2nd GPS 2014-04-01 06:38:23 +11:00
Kevin Hester 5fb3b031f1 Copter: disambiguate the various causes of "Bad GPS Pos"
I've seen a fair number of user questions where they are confused by
"Bad GPS Pos" on their GCS/not being allowed to arm.  This change splits
the remaining causes of this fault into separate messages.

Hopefully this increases the odds of the user self diagnosing...
2014-03-31 21:59:12 +09:00
Randy Mackay 9e7021cc20 Copter: Notify arming failure when using MAVLink 2014-03-31 20:34:31 +09:00
Jonathan Challinger 608b8b0a2c Copter: integrate Notify arming failure when using yaw sticks 2014-03-31 20:34:29 +09:00
Randy Mackay 4b6f03cc11 Copter: remove do_land's use of RTL_ALT_MAX 2014-03-31 20:34:21 +09:00
Jonathan Challinger 2601ac9959 Copter: Remove 80m altitude limit on RTL 2014-03-31 20:34:19 +09:00
Jonathan Challinger 045c6d8c3f Copter: Only play GPS tone when armed 2014-03-31 20:34:16 +09:00
Randy Mackay d9fd577fb0 Copter: add Drift throttle assist constraints 2014-03-31 15:40:00 +09:00
Jason Short 50dcbe6549 Copter: Drift throttle assist range increased
Throttle assist is applied from 213 ~ 787
Deadband and constraint added
2014-03-31 13:09:57 +09:00
Jason Short bccf1de563 Copter: add drift throttle assist 2014-03-31 13:09:54 +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 ac364c93dd Copter: bug fix for simple_mode when run at 400hz
Mark radio frame as consumed so that simple mode does not apply the yaw
correction more than once when run at very high rates (like 400hz on
Pixhawk)
2014-03-28 17:03:31 +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 392162747a Copter; integrate WPNAV's get_yaw 2014-03-28 09:23:17 +09:00