Randy Mackay
93f8d53d1b
Mission: make get_prev_nav_cmd_index const
2014-03-30 23:09:54 +09:00
Randy Mackay
b15d4379d8
AC_WPNav: use atan2f, make methods const
2014-03-30 23:09:51 +09:00
Randy Mackay
3ad635feeb
AC_AttControl: 45deg/sec yaw rate for Auto, RTL
2014-03-30 15:44:14 +09:00
Randy Mackay
d27ca53a9d
AC_WPNav: spline sets origin vel to zero when no prev segment
...
Issue caught by Michael Oborne
2014-03-30 15:19:18 +09:00
Randy Mackay
7dfde39e19
AC_WPNav: advance_spline to use dt
2014-03-30 15:02:07 +09:00
Randy Mackay
c0458b786a
AC_WPNav: check acceleration is non zero
2014-03-30 11:52:44 +09:00
Randy Mackay
f0f3688172
AC_WPNav: rounder corners for short spline segments
2014-03-30 11:52:41 +09:00
priseborough
9c5f564dc5
AP_NavEKF : Fixes bug in initial earth magnetic field states
...
The calculation for these states was not being bias corrected
2014-03-30 07:43:52 +11:00
Randy Mackay
7bff8e9312
AC_AttControl: constrain earth frame yaw angle error
...
This temporarily resolves the wobble we see in Auto when the target
heading is suddenly changed leading to a large yaw angle error
2014-03-29 20:42:21 +09:00
Randy Mackay
197683d539
WPNav: clean up spline comments
2014-03-29 17:57:47 +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
priseborough
e1819bb53a
AP_NavEKF : Add initial parameter defaults for Copter, Rover and Plane
2014-03-29 14:06:43 +11:00
Andrew Tridgell
14671d0bcd
Plane: fixed previous_mode error in geofence
...
when we were in MANUAL we would switch back to STABILIZE
2014-03-29 13:53:19 +11:00
NosDE
613fda4889
PX4: enabling mkblctrl for fmuv1/fmuv2
...
See the comments in mk/PX4/ROMFS/init.d/rc.APM for details
2014-03-29 06:45:30 +11: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
4f68b8ea7f
AutoTest: update copter_spline mission
2014-03-28 09:23:38 +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
ac339a0289
Mission: add decoding of NAV_SPLINE command
2014-03-28 09:23:30 +09:00
Randy Mackay
e7be622eef
GCS_MAVLink: generate after adding NAV_SPLINE cmd
2014-03-28 09:23:28 +09:00
Randy Mackay
519d5fc444
GCS_MAVLink: add MAV_CMD_NAV_SPLINE_WAYPOINT cmd
...
This is the same as a NAV_WAYPOINT except that the vehicle flies a
spline curved path to the destination
2014-03-28 09:23:23 +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
Randy Mackay
24eb195aa3
WPNav: add yaw control for straight line wp nav
2014-03-28 09:23:13 +09:00
Randy Mackay
3753550a72
Copter: integrate get_spline_yaw
2014-03-28 09:23:11 +09:00
Randy Mackay
b42b12f7be
AC_WPNav: add get_spline_yaw
2014-03-28 09:23:07 +09:00
Randy Mackay
2ce827d2ae
AutoTest: add copters spline test
2014-03-28 09:23:05 +09:00
Randy Mackay
c0f12911ec
Copter: minor format change
2014-03-28 09:23:02 +09:00
Randy Mackay
0822adfb34
Copter: integrate spline navigation
2014-03-28 09:22:59 +09:00
Randy Mackay
f2d9ad41aa
Mission: minor comment update
2014-03-28 09:22:56 +09:00
Randy Mackay
e5e71ce371
WPNav: add spline support
2014-03-28 09:22:53 +09:00
Andrew Tridgell
bcbdb15c7d
Plane: changed version to 2.79beta1
2014-03-28 09:47:59 +11:00
Mike McCauley
ffcac91120
AntennaTracker: update_GPS now sets HOME position and compass.set_initial_location on first good GPS fix
2014-03-27 13:01:57 +11:00
Mike McCauley
7116fdecde
AntennaTracker: added documentation about compass calibration to AntennaTracker.txt
2014-03-27 13:01:57 +11:00
Mike McCauley
2e3989f78d
AntennaTracker: initial position was not being set on normal startup
2014-03-27 13:01:57 +11:00
Mike McCauley
6648170102
AntennaTracker: remove call to set fly forward, else if the tracker is moving it will use the GPS direction for yaw instead of the compass
2014-03-27 13:01:57 +11:00
Mike McCauley
cc21f68ed4
AntennaTracker: minor cleanups in tracker.pde
2014-03-27 13:01:56 +11:00
Mike McCauley
25c46cdc00
AntennaTracker: Added supportfor manual control message to force antenna bearing and pitch in manual mode
2014-03-27 13:01:56 +11:00
Andrew Tridgell
61ebf365d9
Plane: fixed reverting modes when FENCE_SET_RALLY is enabled
...
we need to keep the guided destination we are using
2014-03-27 10:41:24 +11:00
Andrew Tridgell
8639676eb3
Plane: we need 5 points for a valid geofence
...
the first and last points need to be the same for it to be a closed
polygon
2014-03-27 10:40:00 +11:00
Michael Day
268b1e85a1
Plane: Changes needed prior to merging with master identified by Tridge.
2014-03-27 09:26:20 +11:00
Michael Day
f921d4fbac
Plane: FENCE_RET_RALLY param. Plane returns to rally point on breach.
2014-03-27 09:26:20 +11:00
Michael Day
25f23cf16c
Plane: Sends MAV_SYS_STATUS_GEOFENCE and also allows GCS to enable/disable fence.
2014-03-27 09:26:20 +11:00
Michael Day
e1d193f539
GCS_MAVLink: Generated code from message additions for autofence.
2014-03-27 09:26:20 +11:00
Michael Day
c5ebd120f1
GCS_MAVLink: XML for MAV_CMD_DO_FENCE_ENABLE and MAV_SYS_STATUS_GEOFENCE
2014-03-27 09:26:20 +11:00
Andrew Tridgell
72c12fb2b3
AntennaTracker: added boardconfig object
...
this allows the safety switch to be disabled
2014-03-27 08:06:50 +11:00
priseborough
55c60b8f07
AP_NavEKF : Reduce Magnetometer innovation consistency check threshold
2014-03-26 21:29:47 +11:00
priseborough
45b1a2fa46
AP_NavEKF : Reduce GPS position innovation consistency fail threshold
...
This patch reduces the maximum acceptable GPS jump from approximately 16 to 8 metres
This will provide copters with more protection for close in loiter situations
2014-03-26 21:29:45 +11:00
Andrew Tridgell
8c0c9c317e
RC_Channel: prevent a numerical exception with bad mount parameters
2014-03-26 17:38:27 +11:00
Andrew Tridgell
bafc664750
AP_NavEKF: use APM_BUILD_TYPE() macro
2014-03-26 12:42:11 +11:00