Commit Graph

3214 Commits

Author SHA1 Message Date
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
Randy Mackay
8c488ebd87 Copter: use common Log_Write_Camera
pair programmed with Craig Elder
2014-06-17 14:11:39 +10:00
Randy Mackay
8c48b65175 Copter: bug fix to remove home variable
pair programmed with Craig Elder
2014-06-11 12:01:48 +09:00
Randy Mackay
d0194b7a9d Copter: remove home variable
home has moved to ahrs
saves 15 bytes of RAM
2014-06-11 11:05:15 +09:00
Randy Mackay
5c305989b9 Copter: set home alt to absolute alt 2014-06-11 11:04:52 +09:00
Randy Mackay
09fc777ab9 Copter: slow motors after landing in AUTO
This resolves an issue in which the vehicle could tip over if the pilot
did not reduce the throttle to zero soon after landing in AUTO mode
2014-06-10 22:56:53 +09:00
Jason Short
a873942f73 Fix to restore Gimbal control after Mission with ROI 2014-06-10 20:03:05 +09:00
Randy Mackay
810c87969c Copter: Ch7/8 switch to enable/disable feed forward and accel limiting 2014-06-10 20:03:04 +09:00
Randy Mackay
91b1d20b70 Heli: integrate AttControl's set_yaw_target_to_current_heading 2014-06-10 20:02:52 +09:00
Randy Mackay
08801eebf2 Copter: integrate AttControl's set_yaw_target_to_current_heading 2014-06-10 20:02:51 +09:00
lthall
babe655b8f Copter: Remove acro acceleration slew todo
It has already been done :)
2014-06-10 20:02:37 +09:00
Randy Mackay
4221833028 Copter: flip records starting attitude
Previously flip relied on the attitude controller not updating the earth
frame target during the flip which can't be guaranteed.  Safer for flip
to maintain it's own copy of the original attitude .
2014-06-10 20:02:32 +09:00
Randy Mackay
75c328a752 TradHeli: integrate init_targets rename to relax_bf_rate_controller 2014-06-10 20:02:30 +09:00