Commit Graph

5686 Commits

Author SHA1 Message Date
Andrew Tridgell 4219cb55ce APM: use ahrs.airspeed_estimate() in two more places
this applies the wind constraint
2012-09-08 11:37:11 +10:00
Andrew Tridgell 8f70a24fd4 AHRS: added AHRS_WIND_MAX option
this allows APM to cope better with airspeed sensor failure, but
ensuring airspeed stays within AHRS_WIND_MAX of ground speed
2012-09-08 11:37:07 +10:00
Andrew Tridgell c983de9d8b APM_OBC: changed termination servo values, and added loop counter 2012-09-08 11:37:00 +10:00
Andrew Tridgell 9ffeecdf2f APM: fixed some compiler warnings 2012-09-08 10:14:32 +10:00
Andrew Tridgell 63ca982f21 APM: tidy up an if() statement 2012-09-08 10:14:20 +10:00
Andrew Tridgell 9d6bce87dc APM_OBM: Failsafe board sketch
this combines with the OBC failsafe module
2012-09-08 10:07:17 +10:00
Andrew Tridgell 8836851243 APM_OBC: handle separate terminate pin correctly 2012-09-08 10:07:14 +10:00
Andrew Tridgell 6a90b7722a OBC: added FS_TERM_PIN option
this sets a pin for flight termination
2012-09-08 10:07:08 +10:00
Andrew Tridgell b2a74951d1 APM: added RUDDER_STEER option
when enabled, this uses only the rudder to steer during takeoff and
landing, using aileron only for levelling
2012-09-08 10:07:03 +10:00
Andrew Tridgell 9b2a2b2c2e APM: support DO_SET_SERVO command 2012-09-08 10:06:53 +10:00
Andrew Tridgell 12c5e00db9 APM: added XTRK_MIN_DIST option
this allows you to disable crosstrack correction on short legs
2012-09-08 10:06:44 +10:00
Andrew Tridgell 88f4a3bc4a APM: allow serial buffer size to be configured
very useful for packet forwarding setups
2012-09-08 10:06:35 +10:00
Andrew Tridgell 2e7939cbf4 Mavlink: enable MAVLINK_SEPARATE_HELPERS
this fixes a seq number problem with SIMSTATE packets
2012-09-08 10:06:19 +10:00
Andrew Tridgell 880404d062 APM: added forwarding of unknown MAVLink types 2012-09-08 10:06:15 +10:00
Andrew Tridgell 1fecd135ef ACM: use compass.accumulate() in ArduCopter
this gives us a much less noisy magnetometer
2012-09-08 10:06:04 +10:00
Andrew Tridgell a71cee4579 APM: accumulate mag readings during spare cycles in ArduPlane
With this change we average over 100 mag readings per compass.read()
call, which means we are reading the compass at over 1kHz instead of
10Hz. The noise reduction is huge.
2012-09-08 10:05:58 +10:00
Andrew Tridgell b555d86ec0 Compass: added compass.accumulate() API
this allows us to accumulate mag readings using spare CPU cycles
2012-09-08 10:05:54 +10:00
Michael Oborne 35a8bf961c AP fix takeoff alt issue
issue 733
2012-09-06 20:19:12 +08:00
Michael Oborne 1d0d45a95f Fix Approach Altitude min 2012-09-06 17:43:58 +08:00
Pat Hickey b52738662a APM_Config.h for ArduCopter/ArduPlane: better descr of APM2_BETA_HARDWARE 2012-09-05 15:36:57 -07:00
Michael Oborne a8c234c303 Mission Planner 1.2.11
Fix ac crosstrack display
tweak ap_mount
speed up Terminal
2012-09-04 06:46:56 +08:00
Michael Oborne e10829afd7 firmware build 2012-09-02 13:34:03 +08:00
Michael Oborne 5b347a1483 firmware build 2012-09-02 13:05:33 +08:00
rmackay9 af2502c739 ArduCopter: upgraded firmware version to 2.7.3 2012-09-02 12:58:16 +09:00
rmackay9 3e6966c33d 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 6c1bd815c1 ArduCopter: remove unnecessary references to CH_CAM_PITCH, CH_CAM_ROLL, CH_CAM_YAW 2012-09-02 12:47:27 +09:00
rmackay9 20936fb87d 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 48bb6d04a2 firmware build 2012-09-01 20:10:02 +08:00
Craig Elder c83d1402fb Arducopter: Release 2.7.2 2012-08-31 19:18:10 -07:00
Michael Oborne a5bd3c67c6 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 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