Commit Graph

5365 Commits

Author SHA1 Message Date
Michael Oborne d3e5746993 firmware build 2012-09-02 13:34:03 +08:00
Michael Oborne 38942a1ea6 firmware build 2012-09-02 13:05:33 +08:00
rmackay9 5073e56c06 ArduCopter: upgraded firmware version to 2.7.3 2012-09-02 12:58:16 +09:00
rmackay9 c9d34c1737 ArduCopter: fixes to allow AP_Mount to work on APM1 with original default channels and fix to reenable support for 3-axis gimbals on APM2.
Channels 5 to 11 changed to RC_Channel_aux.
Removed channel 9 because APM_RC doesn't support it in any case.
Updated EEPROM format version to 119 because of the change to RC_Channel_aux and because k_param_rc_11 moved to be after k_param_rc_10.
2012-09-02 12:51:23 +09:00
rmackay9 9013d9be43 ArduCopter: remove unnecessary references to CH_CAM_PITCH, CH_CAM_ROLL, CH_CAM_YAW 2012-09-02 12:47:27 +09:00
rmackay9 5994117f6f RC_Channel_aux: bug fix which could cause channel to be assigned to the wrong function and miss others 2012-09-02 12:46:04 +09:00
Michael Oborne 6501310745 firmware build 2012-09-01 20:10:02 +08:00
Craig Elder 274b2e2143 Arducopter: Release 2.7.2 2012-08-31 19:18:10 -07:00
Michael Oborne f4334c9aaf Mission Planner 1.2.10
add useritems to HUD
change hdop scale
fix posible follow me bug (, vs .)
fix posible friendly params bug (, vs .)
tweak flightdata log playback timming
fix gridv2 bug. if no waypoint had been done, the grid wold fail
tweak some mission upload potential issues
add ability to get param list from a log (from startup)
add ability to get the first wp list in a log, if wps where received in that log.
tweak video capture library timing
2012-08-30 20:51:29 +08:00
Andrew Tridgell 83153eebd4 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 9a987ce116 APM: fixed docs for LIM_PITCH_MIN 2012-08-30 14:55:08 +10:00
Michael Oborne 1e7adac365 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 97aa98015d Rover: added TELEM_DELAY to rover code 2012-08-30 09:36:18 +10:00
Andrew Tridgell e8d928cca4 ACM: added TELEM_DELAY to ArduCopter 2012-08-30 09:03:01 +10:00
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