Commit Graph

3226 Commits

Author SHA1 Message Date
Robert Lefebvre
022425584b TradHeli: Move two static bools into heli_flags structure to save 2 bytes RAM. 2014-07-13 17:11:30 +09:00
Robert Lefebvre
4b9aea2c55 Parameters: Update Tune Comments with new options 2014-07-13 17:11:27 +09:00
Robert Lefebvre
aff98e34e5 TradHeli: Force recalc scalers after setting main loop time in MotorsHeli so that ramp scalers are right for 32-bit. 2014-07-13 17:11:25 +09:00
lthall
f53181ec66 Copter: Acro balance fix 2014-07-13 15:51:49 +09:00
Andrew Tridgell
71d2333ea8 Copter: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Andrew Tridgell
28f251005b Copter: fixed typos in parameter markup 2014-07-12 11:26:15 +10:00
Randy Mackay
7f9cd20377 Copter: set UARTs non-blocking at end of initialisation
Previously we were setting to non-block after arming but this reduce the
chance of bumping into a NuttX USB driver issue that can cause the uart
to become unresponsive and also makes Copter consistent with Plane
2014-07-11 15:27:29 +09:00
Randy Mackay
34bc136a6c Copter: AC3.2-rc3 version and release notes 2014-07-11 14:18:48 +09:00
Randy Mackay
65e5367619 Copter: rename hybrid to poshold 2014-07-11 14:09:01 +09:00
Randy Mackay
0fc73a0a21 Copter: rename control_hybrid to poshold 2014-07-11 14:06:53 +09:00
Randy Mackay
b565d43d5d Copter: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
remove deprecated ardupilot specific SET_MAG_OFFSETS
2014-07-10 20:25:18 +09:00
Randy Mackay
2c085c300d Copter: only save compass offsets when learning is on 2014-07-10 20:25:16 +09:00
Randy Mackay
b799020e25 Copter: pre-arm check uses compass configured method 2014-07-10 20:24:53 +09:00
svefro
e892b4cd04 Copter: Ch7/8 option to retract mount
-Define AUX_SWITCH_RETRACT_MOUNT in defines.h
-Added 27=Retract Mount to Parameters.pde CH7 and CH8
-added int on CH7/8opt AUX_SWITCH_RETRACT_MOUNT
-Added Case #if Mount == ENABLE to set mount mode
made set_mode public in AP_Mount.h lib
2014-07-10 13:03:28 +09:00
Randy Mackay
e1a6b07e60 Copter: setting ESC param to 2 skips high throttle check
This allows the all-at-once ESC calibration to be performed on a setup
in which the RC input takes some time to come online.
2014-07-09 13:25:08 +09:00
Robert Lefebvre
4b5167e529 TradHeli: Change behavior of Acro and Stabilize modes when disarmed. Servos should move realistically for testing when disarmed. 2014-07-08 20:18:32 +09:00
Robert Lefebvre
5b13b2b3da TradHeli: Stabilize mode should use get_pilot_desired_collective, not get_pilot_desired_throttle. 2014-07-08 20:18:29 +09:00
Robert Lefebvre
032f321348 TradHeli: Acro mode uses full collective range. 2014-07-08 20:18:27 +09:00
Robert Lefebvre
c7ccd22d96 TradHeli: Set main loop rate time in motors class. 2014-07-08 20:18:24 +09:00
Robert Lefebvre
7ef4c11c92 TradHeli: Initialize Rate FF filters. 2014-07-08 20:18:16 +09:00
Robert Lefebvre
8eb557d1e0 TradHeli: Add Heli.h file 2014-07-08 20:18:10 +09:00
Robert Lefebvre
1f422c86c1 Arducopter: Add independent rate roll and pitch P, I, D tuning options. Add rate feedforward tuning options for tradheli. 2014-07-08 20:18:08 +09:00
Robert Lefebvre
08e135151a TradHeli: Add Mode Filter on RC8 input for RSC Controller. 2014-07-08 20:18:00 +09:00
Robert Lefebvre
ff71b0fa35 TradHeli: Create new function to move data between AP_MotorsHeli and AP_AttitudeControl. 2014-07-08 20:17:57 +09:00
Robert Lefebvre
1aa3961151 Arducopter: Improve comments for scheduler. Add timing table for AVR processors. 2014-07-08 20:17:54 +09:00
Jonathan Challinger
c07ded9a79 Copter: Don't use land detector to stop stabilizing in stabilize 2014-07-08 19:41:41 +09:00
Andrew Tridgell
6416a4d0e6 Copter: fixed apm1-hil build 2014-07-08 15:41:39 +10:00
Andrew Tridgell
a4b9b989b7 Copter: convert to new AP_RangeFinder API 2014-07-08 15:08:18 +10:00
Andrew Tridgell
9f5eb3b464 Copter: remove log CLI code when CLI disabled 2014-07-08 14:28:19 +10:00
Jonathan Challinger
09a01a4668 Copter: Wait 4 seconds before beginning to land during failsafes 2014-07-06 20:25:04 +09:00
Jonathan Challinger
cd08ec5a5f Copter: allow auto-disarm in autotune mode 2014-07-06 19:27:27 +09:00
Jonathan Challinger
ff1f54b390 Copter: allow disarm in autotune mode 2014-07-06 19:27:23 +09:00
Jonathan Challinger
5b36e65cb9 Copter: Add parameter LAND_REPOSITION to enable/disable user input during auto-mode landings and descents 2014-07-06 19:20:25 +09:00
Randy Mackay
2dfef17caf Copter: guided reset yaw only when initialised 2014-07-06 17:02:13 +09:00
Randy Mackay
81355d1adf Copter: DO_SET_ROI accepted outside missions
Moved ROI logic to new set_auto_yaw_roi function.
2014-07-06 17:02:06 +09:00
MousS
ae8fb3f1c5 Copter: MAV_CMD_CONDITION_YAW accepted outside missions 2014-07-06 17:01:15 +09:00
Randy Mackay
46badc05bc Copter: guided mode sets desired velocity instead of target velocity 2014-07-06 17:01:12 +09:00
Randy Mackay
f5640dadbf Copter: guided mode velocity controller 2014-07-06 17:01:08 +09:00
Randy Mackay
b027c71491 Copter: restore pv_get_horizontal_distance_cm function 2014-07-06 17:01:05 +09:00
Randy Mackay
12720bbbe1 Copter: accept condition-yaw commands in guided 2014-07-06 17:00:46 +09:00
Randy Mackay
279926e386 Copter: accept guided pos updates when doing NAV_GUIDED cmd 2014-07-06 17:00:35 +09:00
Randy Mackay
fdc0ec837b Copter: add nav_guided suport to Auto mode 2014-07-06 17:00:31 +09:00
Randy Mackay
af4490a3d5 Copter: remove mode from guided_set_dest
This duplicate check stopped us from reusing guided
guided_set_destination as part of Auto's nav_guided command
2014-07-06 17:00:29 +09:00
Andrew Tridgell
21b0b3bc15 Copter: log up to 3 mags 2014-07-04 12:07:59 +10:00
Niels Joubert
10b4757706 ArduCopter: Move MAVLink size check into library 2014-06-30 10:30:17 +10:00
Niels Joubert
4abbda616f ArduCopter: GPS Callback for calculating base position 2014-06-30 10:29:56 +10:00
Andrew Tridgell
edafe7100b Copter: update for AP_Mount change 2014-06-18 12:04:48 +10:00
Randy Mackay
e0f4a570c6 Copter: loiter turns radius from command's p1 field 2014-06-17 20:53:56 +10:00
Randy Mackay
01da4e29fb Copter: use relative_alt flag when decoding change_alt command 2014-06-17 20:53:41 +10:00
Randy Mackay
50e024fe8f Copter: flag current alt as relative
This is required so common Log_Write_Camera can calculate relative and
abs altitudes provided by either copter or plane

pair programmed with Craig Elder
2014-06-17 14:11:42 +10:00