Andrew Tridgell
9a87b3f3c1
AP_Compass: use const on more functions and remove old calculate_heading()
...
the calculate_heading() based on roll/pitch is not needed anywhere
2013-05-09 09:24:06 +10:00
Andrew Tridgell
f78de63a09
AP_Compass: more efficient calculate_heading() implementation
...
Thanks to piersh for this improvement. See
b5f0635455 (commitcomment-3171806)
2013-05-09 09:24:06 +10:00
Randy Mackay
1b2d8636ca
Copter: set wp to "fast" if they have no delay
2013-05-09 00:18:36 +09:00
Randy Mackay
9f735c8d03
WPNav: add fast waypoints flag
...
Waypoint is considered "reached" when the intermediate point reaches the
destination
2013-05-09 00:18:02 +09:00
Randy Mackay
4704b729c2
WPNav: reduce max acceleration to 2.5m/s
...
Also includes bug fix to ramp up of speed of intermediate point
2013-05-08 23:20:29 +09:00
Andrew Tridgell
635b3fabda
Plane: fixed APM1-1280 build
2013-05-08 21:44:45 +10:00
Randy Mackay
9824f6c223
Copter: add flight mode strings to Parameter info
2013-05-08 16:41:45 +09:00
Randy Mackay
0a148cce19
Copter: log target alt in meters
2013-05-08 16:41:16 +09:00
Andrew Tridgell
095505129c
DataFlash: hopefully fixed cause of frequent dataflash erase
...
Wait for 0.1s after erase and before we start writing parameters to
the log
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-05-08 17:00:36 +10:00
Andrew Tridgell
7fdf1b6f78
DataFlash: fixed example build
2013-05-08 16:45:40 +10:00
Andrew Tridgell
8f57b72e3f
AP_InserialSensor: fixed example build
2013-05-08 16:45:31 +10:00
Andrew Tridgell
c3738ed344
AP_InertialNav: fixed example build
2013-05-08 16:45:21 +10:00
Andrew Tridgell
ed93f80ba9
AP_Baro: fixed example build
2013-05-08 16:45:07 +10:00
Andrew Tridgell
55d148abdd
AC_WPNav: fixed example build
2013-05-08 16:44:59 +10:00
Andrew Tridgell
56694fd9b1
AC_Fence: fixed example build
2013-05-08 16:44:50 +10:00
Andrew Tridgell
81c1fd5fc4
Plane: support 3D accel calibration over MAVLink
2013-05-08 16:25:35 +10:00
Andrew Tridgell
9feb46c834
Copter: use new accel cal interact over MAVLink
2013-05-08 16:19:26 +10:00
Andrew Tridgell
2ddeaa7f4d
AP_InertialSensor: show calibration offsets for success and failure
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-05-08 16:19:06 +10:00
Andrew Tridgell
f3f4b7205c
AP_InsertialSensor: added support for MAVLink user interaction
...
allows APM to ask user to print enter to continue via MAVLink messages
during accel calibration
2013-05-08 16:18:40 +10:00
Andrew Tridgell
4bc53acbda
SITL: support vsnprintf with %S on SITL
2013-05-08 16:17:36 +10:00
Andrew Tridgell
9cd0af1132
HAL_PX4: make PX4 snprintf support %S format
...
just maps it to %s for normal printf
2013-05-08 16:17:06 +10:00
Andrew Tridgell
223dfe4de5
AP_Rangefinder: added units for settle time
2013-05-08 14:21:32 +10:00
Andrew Tridgell
c5f1570f32
Plane: fixed flash logging of ATT
...
fixed types to be int16
2013-05-08 14:21:32 +10:00
Randy Mackay
328d900647
WPNav: flexible loiter speed
...
Also includes bug fix to allow speeds > 10m/s during missions
2013-05-07 17:11:24 +09:00
Andrew Tridgell
087a428360
Rover: prepare for 2.41 release
2013-05-07 13:03:18 +10:00
Randy Mackay
1f8161b493
AC_WPNav: remove unnecessary speed constraint
2013-05-07 11:58:04 +09:00
priseborough
854c50501d
Plane: Added a constraint to demanded bank angle during FBW-A mode to prevent roll limits being exceeded
2013-05-07 11:01:05 +10:00
priseborough
aee23361dd
APM_Control: Corrected typographical error in APM_Control/TuningGuide.txt
2013-05-07 11:00:57 +10:00
Andrew Tridgell
6f1cee6406
AP_AHRS: fixed position estimate with 2D fix or low satellite count
...
we should still use the GPS for position fixes when we have a low
number of satellites, but we should stop using it for velocity
estimates and attitude correction.
2013-05-07 10:52:14 +10:00
Andrew Tridgell
055da3c4b6
SITL: added SIM_GPS_NUMSATS parameter
...
this allows testing of the DCM code with less than 6 satellites
2013-05-07 10:38:36 +10:00
Randy Mackay
324200b52c
Copter: disable centrifugal correction when disarmed
2013-05-06 15:32:08 +09:00
Randy Mackay
ceda7d26b0
AHRS: add correct_centrifugal and flags structure
2013-05-06 15:32:06 +09:00
Andrew Tridgell
7e36935140
autotest: keep images in history
2013-05-06 14:04:39 +10:00
Andrew Tridgell
2a9298f3d5
autotest: display flight tracks on autotest web page
2013-05-06 12:32:42 +10:00
Andrew Tridgell
fdd509a7c1
Plane: move baro init earlier in startup
...
this ensures it is initialised when CLI takeover by MP happens
Thanks to Prof Avi Levi for reporting this bug
2013-05-06 10:57:57 +10:00
Andrew Tridgell
0cf49308af
Plane: mark a 2.73beta release
2013-05-05 22:36:22 +10:00
Andrew Tridgell
0e6a64fc14
Plane: reset roll/pitch integrators for APM_Control in takeoff
...
when airspeed is below airspeed minimum. This is consistent with the
previous controllers
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-05-05 22:03:13 +10:00
Andrew Tridgell
46c6aa8a9a
APM_Control: tweak the parameter names
2013-05-05 21:51:09 +10:00
Andrew Tridgell
9c6f80c42b
Plane: moved some default values to Parameters.pde
2013-05-05 21:51:09 +10:00
Andrew Tridgell
6251d0510a
Plane: obey pitch trim and throttle pitch feed forward in new controllers
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-05-05 21:51:09 +10:00
Andrew Tridgell
e87a6d5564
Plane: added links to new APM controller docs
2013-05-05 21:51:09 +10:00
Andrew Tridgell
400777b059
APM_Control: support inverted flight in AP_PitchController
...
auto-reverse pitch control when inverted. This is useful not just for
inverted flight mode, but also for recovering from poor manual flight
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-05-05 21:51:09 +10:00
Andrew Tridgell
604bfd0700
APM_Control: adjust recommended ranges
2013-05-05 21:51:09 +10:00
Andrew Tridgell
11ad9d5a2d
Plane: auto-invert pitch control when upside down
...
this helps to recover when flying inverted, for example when in manual
and hitting the lower altitude geofence
2013-05-05 21:51:09 +10:00
Andrew Tridgell
7af3c667a5
APM_Control: added roll controller parameter docs
2013-05-05 21:51:09 +10:00
Andrew Tridgell
52c3f8841f
APM_Control: added yaw parameter docs
2013-05-05 21:51:09 +10:00
Andrew Tridgell
b618d1d81f
APM_Control: added inline docs to pitch controller
2013-05-05 21:51:09 +10:00
Andrew Tridgell
6c6c0079ee
APM_Control: improved formatting of tuning guide
...
be a bit more web friendly
2013-05-05 21:51:09 +10:00
Andrew Tridgell
742df0ac05
APM_Control: rename to avoid spaces in filenames
2013-05-05 21:51:09 +10:00
Andrew Tridgell
4e2b88f6e6
Plane: added ATT_CONTROLLER option to select attitude controller
...
set to 1 for the new APM_Control library
2013-05-05 21:51:09 +10:00