Commit Graph

15402 Commits

Author SHA1 Message Date
Andrew Tridgell 3f906f6bd1 Copter: added CLI_ENABLED option 2015-03-09 17:58:37 +11:00
Andrew Tridgell 16cdf64d63 Plane: added CLI_ENABLED option
this disables using CLI by default, even if compiled in. This is
needed to make standard firmwares work well with companion computers
where the CLI may cause startup issues
2015-03-09 17:58:37 +11:00
Andrew Tridgell d9950ea07f Rover: set gyros disabled when calibrating 2015-03-09 17:58:37 +11:00
Andrew Tridgell 47e9409d00 Copter: set gyros disabled when calibrating 2015-03-09 17:58:36 +11:00
Andrew Tridgell fa70c95c8e Plane: set gyros disabled when calibrating 2015-03-09 17:58:36 +11:00
Andrew Tridgell aec7907571 AP_InertialSensor: updated comment on accel check in gyro cal 2015-03-09 17:58:36 +11:00
Andrew Tridgell 494e909703 AP_InertialSensor: ensure accel cal completion messages get through 2015-03-09 07:36:50 +11:00
Andrew Tridgell 38bde56523 AP_InertialSensor: continue finding best gyro after convergence
with multiple gyros if we are still calibrating one of the gyros then
keep looking for better values for the already converged gyros.
2015-03-08 07:49:38 +11:00
Andrew Tridgell 20a4c98bac AP_InertialSensor: use accelerometers to prevent bad gyro cal
if the board is rotating at a steady rate we can end up with a bad
gyro calibration. This can happen on a steadily moving platform such
as a ship.

This uses the accelerometers to detect the steady movement and not
accept the gyro calibration
2015-03-08 07:48:16 +11:00
Andrew Tridgell e6b291f270 AntennaTracker: use new interactive accelcal 2015-03-07 21:56:40 +11:00
Andrew Tridgell 9b9aa3dc33 Copter: use new interactive accelcal 2015-03-07 21:56:40 +11:00
Andrew Tridgell 8ef8a964f1 Plane: use new interactive accelcal 2015-03-07 21:56:40 +11:00
Andrew Tridgell 434d094993 AP_InertialSensor: allow MAVLink packets to flow during accelcal
this uses the snoop functionality of GCS_MAVLink to allow the delay
callback to be used during accel calibration
2015-03-07 21:56:39 +11:00
Andrew Tridgell af7765c57c GCS_MAVLink: fixed typo 2015-03-07 13:54:58 +11:00
Andrew Tridgell ac848dc103 GCS_MAVLink: zero packet data before reply in serial control 2015-03-07 13:53:44 +11:00
Randy Mackay 033bcd849b Copter: add 0.6 to EKF and DCM CHECK_THRESH param description 2015-03-06 17:58:37 +09:00
Randy Mackay e0acd250d1 Copter: set Notify firmware_update flag before reboot 2015-03-06 17:26:53 +09:00
Randy Mackay 7675160e33 Notify: add firmware update flag and implement for OreoLED 2015-03-06 17:26:51 +09:00
Randy Mackay 61ed812fc4 Copter: set Notify's autopilot_mode flag 2015-03-06 17:26:49 +09:00
Jace A Mogill 442d07a6c9 Notify: OreoLED fast startup with solid green
For manual flight modes: Solid white in front, red in rear
For automatic flight modes: Breathing white in front, red in rear
Loss of RC: Alternating red/black in front and rear

merge with fast green
2015-03-06 17:26:45 +09:00
Leonard Hall 778edfda72 Copter: default yaw rate filter to 5hz 2015-03-06 16:08:32 +09:00
Jonathan Challinger e2383581cc AC_AttitudeControl: relax_bf_rate_controller resets rate integrators 2015-03-06 14:02:57 +09:00
Leonard Hall 3ad9b1a06b AP_MotorsMatrix: remove incorrect throttle limit flag 2015-03-06 14:02:55 +09:00
Leonard Hall 20de383084 AC_AttControl: accel limiting for angular control only if feed forward enabled 2015-03-06 14:02:52 +09:00
Jonathan Challinger d148039f65 AP_Motors: stricter batt_voltage misconfiguration check 2015-03-06 14:02:49 +09:00
Leonard Hall 7de5bccc93 AC_PosControl: remove THR_HOVER parameter
Parameter is set by main code so no need to store to eeprom
2015-03-06 14:02:46 +09:00
Leonard Hall 9866eaded1 AC_PosControl: rename p_alt_pos to p_pos_z
Also pid_alt_accel to pid_accel_z
2015-03-06 14:02:44 +09:00
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