Andrew Tridgell
f6c3197cd2
APM: added new TELEM_DELAY parameter
...
number of seconds to delay telemetry
2012-08-30 08:59:39 +10:00
Andrew Tridgell
a9af6e95cb
APM: higher throttle on takeoff in ArduPlane autotest
2012-08-30 07:37:26 +10:00
Andrew Tridgell
681e67201d
APM: fixed orientation on runway in autotest
2012-08-29 17:17:38 +10:00
Jason Short
51969dca22
ACM Log.pde : whitespace clean up
2012-08-28 21:22:07 -07:00
Jason Short
082913efd4
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
0443815cb3
Mission Planner: Update XML for 2.7.2
2012-08-28 21:22:07 -07:00
Andrew Tridgell
d5b218c80b
SITL: use AP_Declination code to get right compass dec for autotest
2012-08-29 13:33:01 +10:00
Craig Elder
4ad516c445
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
2ad6dcb7c4
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
d8a2bfb9e8
Arducopter: Preparing for 2.7.2 Release
2012-08-28 18:30:41 -07:00
Pat Hickey
7b3009a238
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
fd4bc69d77
ACM : Logging updates
2012-08-28 15:40:08 -07:00
Jason Short
9d64bea2ef
ACM: Altitude Adjust
2012-08-28 15:40:08 -07:00
Jason Short
98cc65862d
ACM : Log Timing
2012-08-28 15:40:08 -07:00
Andrew Tridgell
e2b8817a89
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
fce01464b1
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
85e9fa8c3b
APM: fixed another problem with DO_JUMP
...
off by one error!
2012-08-28 20:18:24 +10:00
Andrew Tridgell
ded64fd9ea
APM: check for geofence fence total of 0
2012-08-28 20:18:24 +10:00
Andrew Tridgell
71500347ec
APM_OBC: don't use _saved_wp when zero
2012-08-28 20:18:23 +10:00
Andrew Tridgell
d13d117e61
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
d93861f4d2
autotest: removed the --wind options
...
SIM_WIND_* options now control wind
2012-08-28 20:18:23 +10:00
Andrew Tridgell
dcbd0fbd44
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
dd7c815c5f
SITL: zero wind for first 15s
...
this allows for airspeed calibration on startup
2012-08-28 20:18:23 +10:00
rmackay9
2e9e3ce5a6
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
c965963d7b
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
2da75b3c3c
Revert "APM1: Delay serial3 init to not brick Xbee radios"
...
This reverts commit 25d14a9d6a4a1ea60eb78485296298c98c1595d0.
2012-08-27 15:00:23 -07:00
Andrew Tridgell
51247ad6c1
autotest: loiter can be a bit slow to circle sometimes
2012-08-27 13:19:21 +10:00
Andrew Tridgell
c1405bddb3
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
b48a1f1fc4
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
769f04b7d6
Improve comments, no functional changes
2012-08-27 01:32:27 +02:00
Amilcar Lucas
7a0c47d049
Improve comment aligment
2012-08-27 00:37:10 +02:00
Michael Oborne
27091b1abd
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
b4b394e67e
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
b12698ef6c
Mission Planner Cleanup
2012-08-25 21:48:06 +08:00
Andrew Tridgell
747a926809
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
ecc6a52904
APM: report estimated airspeed if airspeed not available
2012-08-25 17:49:26 +10:00
Andrew Tridgell
3c7d7ba228
APM: use airspeed estimate for speed scaling if available
2012-08-25 17:49:26 +10:00
Andrew Tridgell
c9cf483822
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
2be785899b
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
697b2074a5
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
b2c38d7dd4
APM1: Delay serial3 init to not brick Xbee radios
2012-08-24 17:55:20 -07:00
Andrew Tridgell
abe5bbfa4d
APM: support forcing MANUAL of FBWA mode over MAVLink
2012-08-24 15:18:22 +10:00
Andrew Tridgell
b4134de550
APM: ensure fence_total is positive
...
thanks to David Buzz for the suggestion
2012-08-24 14:56:46 +10:00
Michael Oborne
9d3fc38580
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
8ec8fb9e4d
firmware build
2012-08-23 11:40:10 +08:00
Andrew Tridgell
c35530c362
APM: fixed wheeled takeoff with Jons new controllers
2012-08-22 17:34:01 +10:00
Andrew Tridgell
c730d9072e
APM: prepare for ArduPlane 2.60
2012-08-22 16:28:38 +10:00
Andrew Tridgell
2d8f99433c
APM: removed factor of 0.5 in non-airspeed takeoff pitch
...
this limited the pitch far below the specified target pitch
2012-08-22 16:28:38 +10:00
Andrew Tridgell
4668f8b7db
APM: ensure takeoff_complete is reset
2012-08-22 16:17:55 +10:00
Andrew Tridgell
95c941664f
APM: fixed bug in do_jump() navigation
...
this avoids a problem where the jump can cause the next command to be
reset to 0
2012-08-22 15:29:46 +10:00