Andrew Tridgell
0be8349678
APM: obey pitch limits in FBWA as well
...
this means pitch limits are constrained by LIM_PITCH_MIN and
LIM_PITCH_MAX
2012-08-30 20:15:42 +10:00
Andrew Tridgell
ae74db15e1
APM: fixed docs for LIM_PITCH_MIN
2012-08-30 14:55:08 +10:00
Michael Oborne
188cc69008
AP fix attitude hil.
...
we where waiting on new_data that had no way of getting there.
2012-08-30 07:54:20 +08:00
Andrew Tridgell
9d67f67741
Rover: added TELEM_DELAY to rover code
2012-08-30 09:36:18 +10:00
Andrew Tridgell
0b2cbbb677
ACM: added TELEM_DELAY to ArduCopter
2012-08-30 09:03:01 +10:00
Andrew Tridgell
332ad921cc
APM: added new TELEM_DELAY parameter
...
number of seconds to delay telemetry
2012-08-30 08:59:39 +10:00
Andrew Tridgell
d74fdf4523
APM: higher throttle on takeoff in ArduPlane autotest
2012-08-30 07:37:26 +10:00
Andrew Tridgell
5bf971c7e6
APM: fixed orientation on runway in autotest
2012-08-29 17:17:38 +10:00
Jason Short
0ab8b85a78
ACM Log.pde : whitespace clean up
2012-08-28 21:22:07 -07:00
Jason Short
91bc3705c1
ACM : revert back to the 2.6 climb rate calc
...
The current filter is outputting wild oscillations.
2012-08-28 21:22:07 -07:00
Jason Short
314ce65971
Mission Planner: Update XML for 2.7.2
2012-08-28 21:22:07 -07:00
Andrew Tridgell
39a4c6e861
SITL: use AP_Declination code to get right compass dec for autotest
2012-08-29 13:33:01 +10:00
Craig Elder
3403e1b78d
Arducopter: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
...
Arduplane: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
Ardurover: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
2012-08-28 20:09:10 -07:00
rmackay9
4978e0c23f
ArduCopter: increased Stabilize Roll and Pitch I term to 0.05 (was 0.01) based on feedback from Jason
2012-08-29 11:34:53 +09:00
Craig Elder
94957b3529
Arducopter: Preparing for 2.7.2 Release
2012-08-28 18:30:41 -07:00
Pat Hickey
0cef8ea12d
APM_RC_APM1.cpp: Bugfix on mapping of SetFastOutputChannels to ICR reg
...
* Previously had the ICR register for ch1/2/9 (on timer5) swapped with
ch3/4/10 (on timer1).
* This bug probably didn't make a difference in operation since
SetFastOutputChannels is typically only used for copters, where at
least CH1,2,3,4 would be set to fast all at once.
2012-08-28 17:12:41 -07:00
Jason Short
b757c7130d
ACM : Logging updates
2012-08-28 15:40:08 -07:00
Jason Short
52def45ba0
ACM: Altitude Adjust
2012-08-28 15:40:08 -07:00
Jason Short
24486c75b5
ACM : Log Timing
2012-08-28 15:40:08 -07:00
Andrew Tridgell
7ab7770c3d
APM: added the ability to forcibly crash the plane on OBC failsafe breach
...
this allows a user to setup the OBC failsafe system to forcibly crash
the plane (surfaces at limits, zero throttle) when the failsafe system
triggers. This is to allow APM to be used in the Outback Challenge. In
the OBC an external failsafe board also does this using the heartbeat
control pin, so this is an extra safety mechanism.
To prevent users accidentially triggering a crash, this code only
activates if FS_TERM_ACTION is set to to the magic value 42.
2012-08-28 20:18:24 +10:00
Andrew Tridgell
3f54b83238
APM: added ALT_CTRL_ALG parameter
...
this allows you to select different altitude control algorithms. The
current choices are for the default (automatic based on if airspeed is
available), or to force a non-airspeed algorithm
The idea is to make it possible to use airspeed for some things (like
wind speed, speed scaling) but not for alt control
2012-08-28 20:18:24 +10:00
Andrew Tridgell
16dd911547
APM: fixed another problem with DO_JUMP
...
off by one error!
2012-08-28 20:18:24 +10:00
Andrew Tridgell
4945d66c80
APM: check for geofence fence total of 0
2012-08-28 20:18:24 +10:00
Andrew Tridgell
60a6fed34a
APM_OBC: don't use _saved_wp when zero
2012-08-28 20:18:23 +10:00
Andrew Tridgell
fc942b2ff9
APM: removed reset_I() and instead auto-reset integrator in PID library
...
this prevents us resetting key integrators on waypoint change, while
still preventing old integrators being used when a PID starts to be
used again
2012-08-28 20:18:23 +10:00
Andrew Tridgell
93cde71180
autotest: removed the --wind options
...
SIM_WIND_* options now control wind
2012-08-28 20:18:23 +10:00
Andrew Tridgell
ac2ad44c3c
APM: cleanup throttle suppression code and don't use airspeed to unsupress
...
this removes the throttle suppression when any of the conditions are
met once, as otherwise flying slow below 10m could zero the throttle.
It also removes the use of airspeed for disabling throttle
supression. Otherwise a strong gust of wind can cause ArduPlane to
try to takeoff!
2012-08-28 20:18:23 +10:00
Andrew Tridgell
aaa4e64238
SITL: zero wind for first 15s
...
this allows for airspeed calibration on startup
2012-08-28 20:18:23 +10:00
rmackay9
6f236f0c3b
ArduCopter: increase SPI bus speed to 2Mhz after IMU initialisation has completed (MPU6000 accepts maximum of 1Mhz for some registers but up to 20Mhz for main sensor and interrupt registers)
2012-08-28 17:29:48 +09:00
rmackay9
67252c8a9b
AP_InertialSensor_MPU6000: bug fix. DMP was being enabled by default so although the results were not being used, this caused a delay in the main loop
2012-08-28 17:02:07 +09:00
Craig Elder
a4834b5219
Revert "APM1: Delay serial3 init to not brick Xbee radios"
...
This reverts commit 25d14a9d6a4a1ea60eb78485296298c98c1595d0.
2012-08-27 15:00:23 -07:00
Andrew Tridgell
7a99160ea2
autotest: loiter can be a bit slow to circle sometimes
2012-08-27 13:19:21 +10:00
Andrew Tridgell
5636d311c8
APM-autotest: fixed inside loop test
...
pitch 80 may not be reached due to granularity of the MAVLink logging
2012-08-27 11:45:07 +10:00
Amilcar Lucas
90aa5f2004
ArduPlane: Fix 1280 builds
...
Added fine-granular features in the AP_Mount class to reduce code size on 1280 chips
Remove camera trigger support on 1280 chips
2012-08-27 01:33:45 +02:00
Amilcar Lucas
25916e9a92
Improve comments, no functional changes
2012-08-27 01:32:27 +02:00
Amilcar Lucas
18c8389c26
Improve comment aligment
2012-08-27 00:37:10 +02:00
Michael Oborne
bd180bcd3d
Mission Planner 1.2.9
...
add est distance traveled
add est flight time
AP_Mount now updated
add expermental firmware options.
fix hud avi record framerate
add 2 direction wp circle
tweak gridv2
2012-08-26 12:59:21 +08:00
rmackay9
ccc659e8a9
ArduCopter: reduced Rate Roll and Pitch PID values
...
RATE_ROLL_P, RATE_PITCH_P reduced to 0.165 (was 0.185)
RATE_ROLL_D, RATE_PITCH_D reduced to 0.004 (was 0.008)
2012-08-26 10:45:45 +09:00
Michael Oborne
b9fb1750d5
Mission Planner Cleanup
2012-08-25 21:48:06 +08:00
Andrew Tridgell
7715a2b75f
APM_OBC: ensure pins are setup as outputs
...
constructor is run before parameters are loaded
2012-08-25 17:49:26 +10:00
Andrew Tridgell
a6a583650c
APM: report estimated airspeed if airspeed not available
2012-08-25 17:49:26 +10:00
Andrew Tridgell
2b30561171
APM: use airspeed estimate for speed scaling if available
2012-08-25 17:49:26 +10:00
Andrew Tridgell
9cf8cc590f
APM: added XTRK_USE_WIND parameter
...
when enabled this will use the wind estimation code to adjust the
navigation bearing, allowing the navigation code to cope with much
higher levels of wind while using a compass
2012-08-25 17:49:26 +10:00
Andrew Tridgell
be6f3aed72
AHRS: added airspeed_estimate() function
...
this allows the APM code to use an airspeed estimate for navigation
2012-08-25 17:49:26 +10:00
Andrew Tridgell
b8decb4fd7
SITL: added SIM_WIND_* parameters
...
this allows control of the simulated wind during a flight
2012-08-25 17:49:26 +10:00
Craig Elder
dc60fe5616
APM1: Delay serial3 init to not brick Xbee radios
2012-08-24 17:55:20 -07:00
Andrew Tridgell
f1ba9c08e5
APM: support forcing MANUAL of FBWA mode over MAVLink
2012-08-24 15:18:22 +10:00
Andrew Tridgell
1e6ce649ad
APM: ensure fence_total is positive
...
thanks to David Buzz for the suggestion
2012-08-24 14:56:46 +10:00
Michael Oborne
989b799130
Mission Planner 1.2.8
...
fix mjpeg stream from VLC.
add grid mode V2
fix hdop scaling
2012-08-24 07:51:21 +08:00
Michael Oborne
61277af526
firmware build
2012-08-23 11:40:10 +08:00