Commit Graph

9764 Commits

Author SHA1 Message Date
Robert Lefebvre
f9b547061e TradHeli: Add Motor Runup check to the auto_arming check. 2013-11-23 17:06:44 +09:00
Robert Lefebvre
0941615495 TradHeli: Modify Throttle_Auto to prevent helis from pushing hard downward while running up the motor. We will set the collective pitch to stab_col_min which should result in a mild downward pressure if the user has set their parameters correctly. 2013-11-23 17:06:43 +09:00
Robert Lefebvre
c6294eb561 TradHeli: Modify the constrain on the auto throttle controller to prevent it from commanding full down collective if we think we are on the ground still. 2013-11-23 17:06:41 +09:00
Randy Mackay
8e5b398b79 TradHeli: dynamic_flight flag based on inertial nav speed
Created new heli.pde for heli_integrated_swash and check_dynamic_flight
2013-11-23 17:06:39 +09:00
Robert Lefebvre
6f54d63f6f TradHeli: Bug Fix on Dynamic Flight / TakeOff Detector 2013-11-23 17:06:38 +09:00
Robert Lefebvre
2438330b40 TradHeli: Move Take-off Complete flag from the throttle controller, and into the Dynamic Flight check. This is to prevent false positive where the collective is pushed up before the motor is started. 2013-11-23 17:06:36 +09:00
Robert Lefebvre
c60ff46cc5 TradHeli: leaky-I-term based on dynamic_flight_detector 2013-11-23 17:06:35 +09:00
Randy Mackay
19716e21b5 HAL: MPU6k and Baro SPI to 8Mhz 2013-11-23 17:06:33 +09:00
Andrew Tridgell
5999a468ac HAL_AVR: force all devices on SPI0 to low speed when one is low speed
this forces MS5611 to low speed when MPU6K is low speed
2013-11-23 17:06:32 +09:00
Randy Mackay
bea7e4c9bc Copter: ARMING_CHECK made into bitmask
Allows arming checks to be individually enabled or disabled for baro,
compass, GPS, INS, parameters, RC and board voltage
2013-11-23 17:06:30 +09:00
Randy Mackay
32b99867b9 Copter: pre-arm check of INS health 2013-11-23 17:06:28 +09:00
Andrew Tridgell
844d93f362 AP_InertialSensor: use fabsf() 2013-11-23 17:06:27 +09:00
Andrew Tridgell
0cb1325ede AP_InertialSensor: added INS_PRODUCT_ID values 2013-11-23 17:06:25 +09:00
Randy Mackay
eed7ad36b9 CopterMotors: fix example sketch 2013-11-23 17:06:24 +09:00
Randy Mackay
f461a0b55a Copter: remove unused variable from Single copter 2013-11-23 17:06:22 +09:00
proficnc
0af6dff283 Update README.md
Updated build instruction link to the one on the Dev.Ardupilot wiki
2013-11-23 17:06:20 +09:00
Jason Short
44d64a84d9 Copter: Drift Mode
Changes Toy mode declarations to Drift mode.
Requires GPS, Mode 2 transmitter
Drift mode mixes Roll, Pitch and Yaw into a single stick on mode two transmitters.
2013-11-23 17:06:19 +09:00
Randy Mackay
10158185d5 Copter: reject change_command if not in AUTO 2013-11-23 17:06:17 +09:00
Randy Mackay
bc4b2ff05d Copter: disarm routine shortcut
Extra check so we only run the disarm check when we are actually armed.
The ground stations sometimes send many disarm messages which can be
ignored
2013-11-23 17:06:16 +09:00
Randy Mackay
ec73169c02 Copter: parameter files for beg, int, adv and camera ship 2013-11-23 17:06:14 +09:00
Randy Mackay
919b26d28f GPS Glitch: revert accel max to 10m/s/s
This may not be the best real world value but it keeps the autotester
from failing because it recovers from the glitch before the 5second
time-out on the GPS failsafe
2013-11-23 17:06:12 +09:00
Randy Mackay
f0970fc4be Copter: range check pilot requested lean angles
This fixes a bug uncovered by MHA in which the receiver output 900 pwm
for roll and pitch to the APM which was interpreted as requesting an 80
deg lean angle which the copter then attempted to do!
2013-11-23 17:06:11 +09:00
Randy Mackay
5a726ace9b Copter: add @User and @Increment to motor params description 2013-11-23 17:06:09 +09:00
Randy Mackay
19b02f47ea Copter: default SPIN_WHEN_ARMED to zero 2013-11-23 17:06:08 +09:00
Randy Mackay
17b0921f17 GPS Glitch: radius and accel max to 5m and 5m/s/s 2013-11-23 17:06:06 +09:00
Andrew Tridgell
6062dd6d00 build: added new copter frame type 'single' 2013-11-23 17:06:04 +09:00
Andrew Tridgell
aaa9bbac6e build: fixed build_all for heli 2013-11-23 17:06:03 +09:00
Andrew Tridgell
2a776c4466 build: support all copter frame types on all boards 2013-11-23 17:06:01 +09:00
Randy Mackay
898fa2f2a1 Copter: move SINGLE parameters to start at 75 2013-11-23 17:06:00 +09:00
Randy Mackay
e138a12f80 Copter: add SINGLE_FRAME definition 2013-11-23 17:05:58 +09:00
Randy Mackay
586e5a0162 SingleCopter: formatting changes
replace tab with 4-spaces
remove blank lines
2013-11-23 17:05:56 +09:00
ssq870424
374f341c76 Copter: add support for singlecopter airframe
this is the newest singlecopter airframe programme.
This kind of aerial vehicles include Honeywell T-hawk and Goldeneye.
2013-11-23 17:05:55 +09:00
Randy Mackay
0a911f83bf Iris: remove ATTTITUDE_FAST, PID and OPTFLOW logging 2013-11-23 17:05:53 +09:00
Randy Mackay
1bbc7d7185 Copter: gps failsafe disabled until we get first 3d lock 2013-11-23 17:05:52 +09:00
Randy Mackay
acd5846994 Copter: bug fix to take-off in Loiter and AltHold
Always set the target altitude after take-off to be current altitude +
20cm.  This resolves a bug in which the target altitude could end up
being a couple of meters higher than the current altitude if the user
entered Loiter / Alt Hold mode before inertial nav altitude estimate had
settled.
2013-11-23 17:05:50 +09:00
Randy Mackay
259988a0be Copter: GPS ok only when not glitching
Removed redundant checks to GPS_ok before setting flight mode to RTL
(this check is already performed inside the set_mode function)
Removed reset of home distance and bearing when GPS lock is lost, it now
remains at the last known value
2013-11-23 17:05:48 +09:00
Randy Mackay
b33ea01366 Copter: force gyro calibration on start-up 2013-11-23 17:05:47 +09:00
Andrew Tridgell
41f9eebb32 AP_InertialSensor: make PX4 healthy call _get_sample()
this prevents a false positive during times like arming where we are
not reading the sensors
2013-11-23 17:05:45 +09:00
Andrew Tridgell
8114df083f Plane: make batter failsafe docs clearer 2013-11-23 17:05:44 +09:00
Andrew Tridgell
8a68fd236d AP_L1_Control: fixed switchover from loiter capture to circling
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-11-23 17:05:42 +09:00
Paul Riseborough
4d2fe4a488 L1_Control : Added hysteresis for rear WP capture 2013-11-23 17:05:40 +09:00
Andrew Tridgell
49bd45cf3a AP_L1_Control: fixed waypoint approach logic
this could cause the RTL approach to not break off onto the circle
correctly
2013-11-23 17:05:39 +09:00
Andrew Tridgell
d435547cf8 AP_InertialSensor: fixed semaphore error on startup for MPU6000 2013-11-23 17:05:37 +09:00
Andrew Tridgell
cccdf27dd2 DataFlash: print FMT messages for wrapped logs
this ensures we have FMT messages in every log, even if the log was
wrapped and the FMT messages were overwritten
2013-11-23 17:05:36 +09:00
Andrew Tridgell
1bec20482f Copter: show git and firmware version in tlog 2013-11-23 17:05:34 +09:00
Andrew Tridgell
407bbed179 Rover: show git and firmware version in tlog 2013-11-23 17:05:32 +09:00
Andrew Tridgell
4cd6040064 Plane: send firmware and git version in tlog 2013-11-23 17:05:31 +09:00
Andrew Tridgell
dccc86957f build: added GIT_VERSION define to Makefile build 2013-11-23 17:05:29 +09:00
Andrew Tridgell
10d2e9a9b6 Plane: update comments on ALT_CTRL_ALG and NAV_CONTROLLER 2013-11-23 17:05:28 +09:00
Andrew Tridgell
a2ea323512 Plane: removed unused variable 2013-11-23 17:05:26 +09:00