Andrew Tridgell
5df4796b9a
RangeFinder: fixed a warning
2013-04-17 21:33:08 +10:00
Andrew Tridgell
da5a5ea368
DataFlash: added file based 'dataflash' logging
2013-04-17 21:32:53 +10:00
Andrew Tridgell
0af84177da
px4: fixed passing of EXTRAFLAGS for ArduCopter frame type
2013-04-17 13:19:45 +10:00
Andrew Tridgell
636573f0fd
autotest: added some useful test missions for ArduPlane
2013-04-17 11:49:34 +10:00
Andrew Tridgell
9d3b32bd27
SITL: change default wind speed to zero
...
makes starting SITL easier for new users
2013-04-17 11:39:43 +10:00
Randy Mackay
82989d85f2
Copter: remove unused #defines
2013-04-16 22:34:12 +09:00
Randy Mackay
0663da7c9e
Copter: loiter rate IMAX to 4m/s/s and D to zero
2013-04-16 22:28:18 +09:00
Randy Mackay
b8974dec99
Copter: compass learn off by default
2013-04-16 18:47:39 +09:00
Andrew Tridgell
00dc9712de
scripts: test apm2beta build in autotest
2013-04-16 11:26:01 +10:00
Janne Mäntyharju
7a04fe9915
AP_Baro: Fixed build for APM2 Beta hardware
2013-04-16 11:24:38 +10:00
Kevin Hester
d3dad7afee
autotest: add @User autodocs to the apm.pdef.xml as user=foo
2013-04-16 11:19:15 +10:00
Randy Mackay
a7b32caf72
Copter: bug fix for loiter_time check
...
loiter_time_max was changed to hold the loiter time in seconds
(previously it was milliseconds) in order to allow the delay to be more
than 65 seconds but the verify_loiter_time check was missed from that
change
2013-04-15 23:57:22 +09:00
Randy Mackay
a185fa950c
Copter: Jason's fix to auto disarming
...
Added check so that it only starts counting down when motors are armed.
This removes the issue in which the copter sometimes disarms shortly
aftering being armed.
2013-04-15 23:36:45 +09:00
Randy Mackay
8046fe2cf3
AC_WPNav: increase max accel to 8m/s/s
2013-04-15 21:57:56 +09:00
Randy Mackay
8fe3e689f4
Copter: add WPNAV log message
2013-04-15 21:54:29 +09:00
Randy Mackay
b48864e1ad
Copter: allow CH6 tuning of compass declination
2013-04-15 21:50:44 +09:00
Andrew Tridgell
42344455c9
Plane: fixed structure init for arduino compiler
2013-04-15 21:59:07 +10:00
Andrew Tridgell
9f0f482dd7
Plane: fixed LOITER_TIME to start when loiter starts
...
thanks to Paul Riseborough for finding this bug!
2013-04-15 21:39:14 +10:00
Andrew Tridgell
75f4a43e2d
Plane: fixed LOITER_TURNS command
...
and cleanup more loiter variables
2013-04-15 21:31:11 +10:00
priseborough
9ff0888a17
AP_L1_Control : Fixed potential divide by zero in Nu1 angle calculation
2013-04-15 21:11:30 +10:00
Andrew Tridgell
82cd391cf8
Plane: use RADIUS_OF_EARTH define
2013-04-15 14:55:58 +10:00
Andrew Tridgell
8f091e70c8
Plane: move elevon variables into a structure
2013-04-15 14:53:56 +10:00
Andrew Tridgell
79c6f32400
Plane: made variables static and remove initial rc overrides
...
minor code size savings
2013-04-15 14:46:01 +10:00
Andrew Tridgell
e918293e86
Plane: explain verify_*() commands
2013-04-15 14:41:15 +10:00
Andrew Tridgell
19b92b5bd8
Plane: removed "circle waypoint" completion test
...
this is redundent with the location_passed_point() test
2013-04-15 14:39:18 +10:00
Andrew Tridgell
97bfd16bd1
L1_Control: constrain the roll to handle floating point errors
2013-04-15 14:29:39 +10:00
Andrew Tridgell
83dc7dbc92
AP_Math: handle NaN in constrain(), returning average
...
this makes it less likely a NaN will propogate
2013-04-15 14:28:51 +10:00
Andrew Tridgell
b69481f74d
AP_InertialNav: fixed build of example
2013-04-15 14:09:38 +10:00
Andrew Tridgell
bad15438d5
scripts: added flashlog magnetic fit code
...
this runs the same mag offset code APM uses, but on a flashlog
2013-04-15 14:07:45 +10:00
Andrew Tridgell
571c48b9d5
L1_Control: cleanup some unused code and variables
2013-04-15 10:52:32 +10:00
priseborough
a423d102e0
Plane : AP_L1_Control : Fix wrong way turn behaviour on loiter entry
2013-04-15 10:52:32 +10:00
Andrew Tridgell
994d8e354a
Plane: allow for negative WP_LOITER_RAD for conter-clockwise loiter
...
this follows the same convention as missions
2013-04-15 10:52:32 +10:00
Andrew Tridgell
d01d754ba8
HAL_PX4: if we have lost RC input then set channel 3 to 900
...
this allows failsafe to kick in
2013-04-15 10:52:32 +10:00
Andrew Tridgell
181f7368a3
AP_L1_Control: change turn_distance() to be min of wp_radius and L1 distance
...
this gives less surprising behaviour for users
2013-04-15 10:52:32 +10:00
Andrew Tridgell
13e6aaf682
autotest: precreate buildlogs directory
2013-04-15 10:52:32 +10:00
Andrew Tridgell
78538d0543
Plane: removed old HDNG2RLL PID control
...
not used with L1
2013-04-15 10:52:32 +10:00
Andrew Tridgell
b2ad43f625
Plane: removed ahrs.set_barometer()
2013-04-15 10:52:32 +10:00
Andrew Tridgell
cf6ae4a746
Copter: remove ahrs.set_barometer()
2013-04-15 10:52:32 +10:00
Andrew Tridgell
a4d25f5a82
AHRS: removed AHRS_BARO_USE option
...
this option has caused users too much trouble. The vertical velocity
is too noisy from the baro
2013-04-15 10:52:31 +10:00
Andrew Tridgell
87b0fb05ce
AHRS: changed default RP and YAW gain to 0.3
...
this reduces the impact of hard acceleration on takeoff, and reduces
the impact of GPS lag
Note that this doesn't affect copters, as they override to 0.1
2013-04-15 10:52:31 +10:00
Randy Mackay
8c7a1597dc
Copter: remove debug comment from RTL
2013-04-14 18:28:13 +09:00
Randy Mackay
0eab3e87b2
AC_WPNav: use prev wp as origin for next wp
2013-04-14 18:27:39 +09:00
Randy Mackay
629d23b7e2
Copter: remove WP_SPEED and WP_RADIUS parameters
...
AC_WPNav library has equivalent params with very similar names
2013-04-14 13:27:37 +09:00
Randy Mackay
0351c2ae33
AC_WPNav: allow setting of horizontal velocity
...
Also added accessor function for waypoint radius parameter
2013-04-14 13:24:14 +09:00
Randy Mackay
b58c26bcd5
Copter: remove pid_nav_lat, pid_nav_lon
2013-04-14 12:12:51 +09:00
Randy Mackay
bffe4fa412
Copter: remove NAV_LAT and NAV_LON
...
Loiter and navigation controllers now combined
2013-04-14 12:09:45 +09:00
Randy Mackay
7d39b76fde
autotest: add arducopter sim script for Randy
2013-04-14 11:43:18 +09:00
Randy Mackay
252e98ec57
AC_WPNav: use global gravity constant
2013-04-14 10:39:32 +09:00
Randy Mackay
700fb1b179
Copter: replace sin_yaw_y, cos_yaw_x in circle mode
2013-04-14 10:39:30 +09:00
Randy Mackay
366616e32c
Copter: reduce default loiter PIDs
2013-04-14 10:39:28 +09:00