Jonathan Challinger
fddaca4cf7
Copter: rename get_throttle_surface_tracking to get_surface_tracking_climb_rate
2015-04-14 16:10:01 +09:00
Randy Mackay
0447f6216a
Copter: get_pilot_desired_lean_angles uses angle_max of at least 10deg
...
Removes the unlikely event of a divide by zero if ANGLE_MAX is set to
zero and sticks were in middle
2015-03-11 22:24:44 +09:00
Jonathan Challinger
ecefe78417
Copter: interpret input in stabilize as a tilt vector
2015-03-11 22:24:42 +09:00
Leonard Hall
d5bbe6de03
Copter: remove TRIM_THROTTLE
...
throttle_trim is replaced by throttle_average which is initialised to
the throttle_mid parameter value at startup
2015-03-06 14:02:19 +09:00
Leonard Hall
c78480e14f
Copter: rename loiter_pos to pos_xy
...
Also renamed throttle_rate to vel_z, throttle_accel to accel_z
2015-03-06 14:02:17 +09:00
Randy Mackay
7e11ec9a6f
Copter: surf tracking, do-land use inav alt
...
Also CTUN logging of inav alt switched to get directly from inertial nav
lib instead of using current_loc.alt
2015-02-12 15:07:00 +09:00
Jonathan Challinger
f77b359e83
Copter: increase get_roi_yaw from 40hz to 100hz
2015-02-03 14:46:17 +09:00
Randy Mackay
84f82dd129
Copter: correct get_pilot_desired_throttle calc
...
Also minor format and commenting addition
2014-11-17 18:16:14 -08:00
Jonathan Challinger
3a529b2cef
Copter: utilize get_control_mid for throttle calculations
2014-11-17 18:16:11 -08:00
Randy Mackay
83051c306d
Copter: minor rename of a circular limits variable
2014-11-10 18:36:15 -08:00
Jolyon Saunders
d46c659d0f
Copter: Add circular limits pilot's roll/pitch inputs
2014-11-10 18:36:10 -08:00
Randy Mackay
818b3b74f6
Copter: sanity check throttle deadzone
2014-09-02 12:40:15 +09:00
Randy Mackay
cf98cc29b5
Copter: throttle deadzone parameter
...
Allows increasing or decreasing the deadband size in AltHold, Loiter,
PosHold flight modes
2014-08-29 15:54:34 +09:00
Randy Mackay
6fc5014a84
Copter: increase sonar timeout to 1sec
...
Contributed by Julien Dubois.
2014-08-14 19:37:00 +09:00
Randy Mackay
610e747f27
Copter: minor formatting fix
2014-08-04 21:04:10 +09:00
lthall
edd7334544
Copter: add pre_takeoff throttle feedback
...
pair-programmed with Randy Mackay
2014-07-18 11:41:28 +09:00
Ju1ien
fd9502d3fa
Copter: Improve surface tracking dynamics
...
This little fix will allow much higher sonar_gain without the
oscillating effect it used to bring.
2014-06-06 15:32:49 +09:00
Andrew Tridgell
640b64f5e4
Copter: convert to new GPS API
2014-04-01 06:38:24 +11:00
Randy Mackay
3910ab807f
Copter: replace input filtering with smoothing gain
2014-03-04 22:23:50 +09:00
Randy Mackay
fdae812814
Copter: DO_SET_ROI persists across waypoints
...
Users should add a DO_SET_ROI command with zero lat, lon and alt to
restore the yaw control to the default control (which is normally
look-at-next-wp)
2014-02-18 21:36:02 +09:00
Randy Mackay
5e8fede19e
Copter: comment fix to Attitude.pde
2014-02-15 05:27:50 +11:00
Randy Mackay
38d5148b99
Copter: remove reset_I_all
...
Each controller should reset the I terms as needed
2014-02-15 05:27:47 +11:00
Randy Mackay
90c5fe4be4
Copter: surface_tracking takes current_alt_target param
2014-02-15 05:27:46 +11:00
Randy Mackay
223c6fd4de
Copter: remove deadwood, update_thr_cruise always runs
2014-02-15 05:27:45 +11:00
Randy Mackay
c632211c8c
Copter: get_of_roll, get_of_pitch moved to control_ofloiter
2014-02-15 05:27:42 +11:00
Randy Mackay
96c61fcf28
Copter: removed get_throttle_land
...
Now in the control_land.pde
2014-02-15 05:27:38 +11:00
Randy Mackay
d92e894af6
Copter: get_throttle_surface_tracking returns climb rate
2014-02-15 05:27:37 +11:00
Randy Mackay
65f7bf92f4
Copter: replace yaw_mode with auto_yaw_mode
2014-02-15 05:27:37 +11:00
Randy Mackay
b29a963fd6
Copter: remove unused Attitude.pde functions
2014-02-15 05:27:36 +11:00
Randy Mackay
b34664ea07
Copter: remove unused altitude error
2014-02-15 05:27:34 +11:00
Randy Mackay
abb42bcb41
Copter: remove unused run_rate_controllers
2014-02-15 05:27:34 +11:00
Randy Mackay
77c38f4de4
Copter: integrate init take-off
2014-02-15 05:27:34 +11:00
Randy Mackay
faf1e99f1a
Copter: surface tracking to use pos_control
2014-02-15 05:27:33 +11:00
Randy Mackay
7784fc7645
Copter: update pos_control's hover throttle
2014-02-15 05:27:33 +11:00
Randy Mackay
cbe56bba25
Copter: integrate AC_AttitudeControl
2014-02-15 05:27:32 +11:00
Randy Mackay
7b9a48107e
Copter: move angle_max parameter to AP_Vehicle
2014-02-15 05:27:32 +11:00
Randy Mackay
2219f21744
Copter: add RC_FEEL_RP parameter
...
Values from 0 ~ 100 control amount of filtering on roll and pitch input.
100 = no filter so crisp feel, 0 = a lot of filtering so very sluggish
response
2014-02-12 16:28:41 +09:00
Randy Mackay
8f5585423c
Copter: use ahrs trig values
2014-02-08 18:16:49 +09:00
Ju1ien
311bba1419
Copter: landing_complete stays true until thr is raised
...
The idea of the fix is we can't leave land while throttle is 0 and then
we ignore the baro and it's disturbances.
2014-01-22 14:38:35 +09:00
Randy Mackay
a9f1a2ee5e
Copter: disarm on land even if pilot throttle not zero
...
default behaviour remains as before, this is an compile time option only
2014-01-15 11:31:00 +09:00
Randy Mackay
df9d1614e2
Copter: remove PID logging
...
Almost never used and eats up limited log description space
2014-01-13 17:23:39 +09:00
Randy Mackay
7ef04bb73b
Copter: rename nav_yaw to control_yaw
2013-11-27 22:48:20 +09:00
Randy Mackay
81fc24586e
TradHeli: remove calls to get_manual_collective in auto throttle
...
set_collective_for_landing method makes this unnecessary
2013-11-15 22:58:36 +09:00
Randy Mackay
60bc9f4539
TradHeli: angle error to zero while motors runup
...
Set angle error to zero in get_roll_rate_stabilized_bf,
get_pitch_rate_stabillize_bf, get_yaw_rate_stabilized_bf.
Original commit by Rob Lefebvre
2013-11-15 22:58:34 +09:00
Robert Lefebvre
9ae66c1773
TradHeli: add support for drive tail rotors
...
Repurposed external gyro and made it multi-funcitonal.
required PWM on Ch8 to start the motor in RSC Mode moved up from 100 to 400. This is to facilitate two-stage switching of the motors with PWM>100 starting the tail motor, and PWM>400 starting the main motor.
Additional amendments by Randy
2013-11-15 22:58:04 +09:00
Randy Mackay
eaef5315bf
TradHeli: bugfix to update swash in run_rate_controllers
2013-11-15 22:57:47 +09:00
Randy Mackay
46118b59d7
TradHeli: integrate motor lib changes
2013-11-15 22:57:43 +09:00
Robert Lefebvre
ffb605d06d
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-15 22:57:22 +09:00
Randy Mackay
8f2c9591ff
TradHeli: dynamic_flight flag based on inertial nav speed
...
Created new heli.pde for heli_integrated_swash and check_dynamic_flight
2013-11-15 22:57:20 +09:00
Robert Lefebvre
f7c63be357
TradHeli: leaky-I-term based on dynamic_flight_detector
2013-11-15 22:57:14 +09:00