Leonard Hall
349f1aeceb
AC_PosControl: use 2-axis PI controller
2015-03-06 14:02:42 +09:00
Leonard Hall
8d4f0ec80c
AC_PosControl: integrate PID input filter
2015-03-06 14:02:39 +09:00
Randy Mackay
e4d48fdc92
AC_AttControlHeli: separate accel max for roll, pitch
...
renamed _accel_y_max to _accel_yaw_max
2015-03-06 14:02:36 +09:00
Leonard Hall
51455af51a
AC_AttConHeli: integrate PID input filter
2015-03-06 14:02:35 +09:00
Leonard Hall
792b2a2eb3
AC_AttControl: separate accel max for roll, pitch, yaw
...
Also add:
Rate filters
rename rate filter defines
d-term only filter for roll, pitch rate control
accessors to save max accel for roll, pitch, yaw
fix for duplicate ACCEL_Y_MAX param
2015-03-06 14:02:33 +09:00
Leonard Hall
9833c91b2b
AC_AttControl: get_max_rate_step_bf_roll, pitch and yaw
2015-03-06 14:02:30 +09:00
Leonard Hall
f00025e5c9
AC_AttControl: accessor for rate feedforward
2015-03-06 14:02:27 +09:00
Leonard Hall
691fb8947e
AC_AttControl: accessor for rate_bf_targets
2015-03-06 14:02:25 +09:00
Leonard Hall
784a4ce51a
AC_AttControl: increase max angle overshoot to 30deg
2015-03-06 14:02:23 +09:00
Leonard Hall
eb084f7c58
AC_AttControl: bf yaw control uses input filtered PID
2015-03-06 14:02:21 +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
Leonard Hall
e232867661
Copter: move LOITER_RATE to 2-axis PI controller
...
Also rename LOITER_RATE to VEL_XY for parameters, definitions, variables
2015-03-06 14:02:15 +09:00
Leonard Hall
1ec5eedd23
Copter: ch6 tuning of yaw rate filter
2015-03-06 14:02:13 +09:00
Leonard Hall
2b0fb45fe8
Copter: integrate PID input filter
2015-03-06 14:02:11 +09:00
Leonard Hall
d233ca3133
Copter: add Time and rate_target to AutoTune logging
2015-03-06 14:02:09 +09:00
Leonard Hall
8ba195a3a2
Copter: add Mot and Rate dataflash logging
2015-03-06 14:02:07 +09:00
Leonard Hall
1ebf2c40f5
Copter: Autotune rewrite
...
Includes the following:
Increase Autotune Limits
Low Rate_P_Max prevents correct Rate_D prediction.
make adjustment proportional
increase the maximum value of Rate_P
adjustment for zero overshoot
Speed up autotune
Reduce D bounce back requirement
adapt matthewlloyd's switching
Includes many enhancements to the basic code but doesn't bring in his
speed up ideas
Reduce Stab P down
Add Calibration
Repeat side to increase speed
Update Autotune PI ratios
fixup comments
autotune incorporate aggressiveness parameter
sets max accel for roll, pitch, yaw
Update accel calc and set Yaw D to zero
Calculate Accel correctly on SP Limit
Send saved gains msg to GCS
updates PID filter
increase accel backoff
save max accel if rate feedfwd enabled
keep stabilizing
2015-03-06 14:02:04 +09:00
Leonard Hall
a9a6e8856b
Copter: add AUTOTUNE_AGGR parameter
2015-03-06 14:02:02 +09:00
Leonard Hall
864168e5ea
Copter: add AUTOTUNE_AXES bitmask parameter
...
This is used to allow tuning just some axis
2015-03-06 14:02:01 +09:00
Leonard Hall
11a19803e0
Motors: add accessors for motor logging
...
accessor include get_roll, get_pitch, get_yaw, throttle input
2015-03-06 14:01:58 +09:00
Leonard Hall
34a5bc8b33
AC_PI_2D: 2-axis PI controller
2015-03-06 14:01:56 +09:00
Leonard Hall
046949ea8a
AC_HELI_PID: add input filter and restructure
...
Also removed unused initial_ff from construtor
2015-03-06 14:01:54 +09:00
Leonard Hall
517448e536
AC_PID: add input filtering and restructure
2015-03-06 14:01:52 +09:00
Andrew Tridgell
644d0c223a
PX4: update FMUv2 bootloader
...
this one adds the CHIP command so we can differentiate rev3 silicon
2015-03-05 22:12:08 +11:00
Kevin Hester
76f1088ec6
Vagrant: bash gets confused if you pass in .sh files from windows
...
This change prevents git from adding carriage returns to .sh files
2015-03-05 12:50:19 +11:00
Andrew Tridgell
2aae594371
GCS_MAVLink: handle serial loopback in routing
2015-03-04 20:24:11 +11:00
Andrew Tridgell
086f878bdc
HAL_PX4: split IO thread into separate IO and storage threads
...
this prevents a blocked microSD card from blocking IO to the FRAM,
causing parameter changes not to be sticky
2015-03-04 20:18:17 +11:00
Andrew Tridgell
58c92b0158
GCS_MAVLink: added SCALED_IMU3 logging
2015-03-04 19:30:08 +11:00
Andrew Tridgell
79be500e04
GCS_MAVLink: re-generate headers
2015-03-04 19:29:28 +11:00
Andrew Tridgell
eeacbe518b
GCS_MAVLink: update from upstream XML
2015-03-04 19:21:24 +11:00
Grant Morphett
e0f828f4d2
APMrover2: Creating release 2.49 of Rover.
2015-03-04 11:48:47 +11:00
Marco Walther
339dac18f7
Rover: Fix the yellow binking lights after the AP_Notify updates
2015-03-04 09:03:49 +11:00
Marco Walther
8629637cec
Rover: Fix for a minor sonar problem
2015-03-04 09:03:49 +11:00
Randy Mackay
f5f7cd540f
Motors: fix example sketches
2015-03-03 21:39:24 +09:00
Leonard Hall
cf8c211c35
Motors: fix thrust curve and add constraint
2015-03-03 15:49:07 +09:00
Leonard Hall
3e960dfc3b
Motors: add get_voltage_comp_gain
...
This clarifies that lift_max is the inverse of the battery voltage gain
compensation
2015-03-03 15:49:04 +09:00
Leonard Hall
997c6f0868
Motors: move battery resistance calcs to parent
...
Moving from MotorsMatrix to parent Motors class allows these to be used
from other frame types
Also initialise battery resistance
2015-03-03 15:49:02 +09:00
Randy Mackay
09d7cdbc23
Motors: batt_voltage_filt becomes filter object
2015-03-03 15:49:00 +09:00
Randy Mackay
4b78b2ce80
Filter: add get method to LowPassFilter
2015-03-03 15:48:58 +09:00
Randy Mackay
c711179ffe
Copter: set_mid_throttle renamed to set_hover_throttle
2015-03-03 15:48:56 +09:00
Leonard Hall
529c6fed3a
Motors: move over current throttle limiting to parent
...
Moving from MotorsMatrix to parent Motors class allows this to be used
from other frame types
2015-03-03 15:48:54 +09:00
Randy Mackay
812473fd9a
MotorsMatrix: use get_hover_throttle_as_pwm
2015-03-03 15:48:52 +09:00
Randy Mackay
1a9d3125ef
Motors: _hover_out to pct * 10 instead of pwm
2015-03-03 15:48:50 +09:00
Leonard Hall
6b7bdf64bd
Motors: move batt voltage lift_max calcs to parent
...
Moving from MotorsMatrix to parent Motors class allows them to be used
by other frame types
Also added sanity check of batt_voltage_min
2015-03-03 15:48:48 +09:00
Randy Mackay
c549b58eb7
MotorsMatrix: remove check of throttle_curve_enabled
2015-03-03 15:48:46 +09:00
Randy Mackay
5fb3de48ee
MotorsTri, Single, Coax: use new thrust curve
2015-03-03 15:48:44 +09:00
Randy Mackay
2eaa4a8445
Motors: remove old throttle curve
2015-03-03 15:48:42 +09:00
Leonard Hall
751dbb7df7
Motors: move thrust curve and volt scaling to parent
...
Moving from MotorsMatrix to Motors allows it to be used from other frames
2015-03-03 15:48:41 +09:00
Randy Mackay
80b498f598
Motors: add loop_rate to test sketch
2015-03-03 15:48:39 +09:00