Commit Graph

1024 Commits

Author SHA1 Message Date
Lucas De Marchi 4f6c32cb35 ArduCopter: remove dangling ifdefs for 100Hz main loop
ArduCopter doesn't support main loop of 100Hz anymore. Remove the
missing ifdefs checking for MAIN_LOOP_RATE.
2015-05-08 14:55:41 +09:00
Leonard Hall 7fd632200c Copter: Add additional check to Throttle Mix/Comp 2015-05-08 14:14:19 +09:00
Andrew Tridgell 6dc3cff000 Copter: added LOG_BITMASK 1<<19 for logging raw accel/gyro data
useful for checking vibration handling
2015-05-07 12:09:00 +10:00
Andrew Tridgell 5a36b9955e Copter: fix for HAL_SITL rename 2015-05-05 09:45:57 +10:00
Randy Mackay 054f05d285 Copter: AC3.3-rc3 version 2015-05-02 17:20:26 +09:00
Randy Mackay 606086cd6f Copter: version to AC3.3-rc2 2015-05-02 11:34:19 +09:00
Robert Lefebvre 4e51ce6d75 Copter: rename "estop" to "emergency stop".
No functional change
2015-05-01 14:30:41 +09:00
Robert Lefebvre a357ef43a4 Copter: Move Aux Switch flags into new Enum 2015-05-01 14:30:34 +09:00
Robert Lefebvre 16cf9471ae Copter: Remove ap.motors_interlock, use only flag in AP_Motors 2015-05-01 14:30:31 +09:00
Robert Lefebvre 9b15ea6f5c Copter: Change throttle_zero to check interlock and E-stop status 2015-05-01 14:30:30 +09:00
Robert Lefebvre 7349827eb1 Copter: Add Aux Switch E-Stop Function 2015-05-01 14:30:26 +09:00
Robert Lefebvre 7d745587a4 Copter: Add using_interlock flag, employ it in arming process 2015-05-01 14:30:22 +09:00
Robert Lefebvre e4c5915330 Copter: initial creation of motor_interlock 2015-05-01 14:30:21 +09:00
Jonathan Challinger 73d961cebc Copter: mavlink initiated takeoff in alt-hold modes
adds PILOT_TKOFF_ALT for target altitude above home in cm for pilot initiated takeoff
2015-05-01 12:56:18 +09:00
Randy Mackay 276b2dcf5e Copter: move lost copter check to separate function
Also run from scheduler instead of from arm/disarm stick checks
Run at 10hz instead of 1hz
soundalarm_counter to uint8
Disable if equivalent aux switch is setup
Remove SEVERITY_LOW message because the GCSs never print these anyway
2015-04-29 00:05:03 +09:00
Julien Dubois b7a6e3bf2c Copter: fix update_thr_average to run at 100hz
Committed by Randy on Julien's behalf
2015-04-28 22:44:59 +09:00
Tom Pittenger 66c7090f00 Copter: fix compile warnings by converting .f to .0f 2015-04-24 14:24:52 +09:00
Randy Mackay 37e8d1a338 Copter: PosController alt limit from fence and EKF 2015-04-24 10:58:03 +09:00
Paul Riseborough 133b8f5ad7 Copter: Allow EKF to pull data from range finder object 2015-04-24 10:56:53 +09:00
Niels Joubert 704e75d140 ArduCopter: Remove kruft from old RTK driver 2015-04-24 08:01:32 +10:00
Randy Mackay bfd24801ea Copter: minor format fix 2015-04-21 21:47:19 +09:00
Arthur Benemann 7cf883a61c Copter: increase the telemetry receive function rate to 400Hz
gimbal loop runs at 100Hz so to respond in time the gcs_check_input must run at a faster rate, the process are asyncronus
2015-04-21 21:45:31 +09:00
Randy Mackay a27f383612 Copter: remove duplicate IMU/ATT logging
Previously IMU and ATT data could be logged at both a high rate
and a low rate.  This patch makes it skip the low rate logging
if the high rate is enabled
2015-04-20 13:49:09 +09:00
Randy Mackay dfb720bab6 Copter: rename FULL_IMU logging to IMU_FAST
This naming is consistent with the earlier ATTITUDE_FAST option and
clarifies that it's the rate that's increased rather than the content.
2015-04-20 13:49:04 +09:00
Randy Mackay 2dbff9c544 Copter: remove scheduler table for 100hz CPUs
We only support high performance CPUs capable of 400hz
2015-04-20 13:49:01 +09:00
Peter Barker 5a45de5e00 Copter: IMU full-rate logging LOG_BITMASK flag 2015-04-20 13:48:58 +09:00
Randy Mackay 1c6c03b0eb Copter: firmware back to V3.3-dev 2015-04-18 11:51:53 +09:00
Jonathan Challinger 9a025024b5 Copter: use LowPassFilterVector3f for land detector accel filter 2015-04-17 10:46:56 +09:00
Jonathan Challinger eafbd94d51 Copter: run land detector at 400hz 2015-04-17 10:46:53 +09:00
Leonard Hall 93d5c39248 Copter: add filter for the land detector
Individual access filtering will be replaced with a single 3-axis low pass
filter in the near future
2015-04-16 21:00:48 +09:00
Jonathan Challinger e5a6023827 Copter: pass inertial_nav to fence 2015-04-14 16:10:03 +09:00
Randy Mackay 5a4039d99c Copter: version to APM:Copter 3.3-rc1 2015-04-12 09:21:44 +09:00
Randy Mackay b0c777259f Copter: update home constantly while disarmed 2015-04-09 10:57:06 +09:00
Randy Mackay 2bec00e1c5 Copter: set ahrs home from ekf location 2015-04-09 10:57:02 +09:00
Randy Mackay 74b98b89d0 Copter: remove dcm check 2015-03-27 00:04:37 -07:00
Randy Mackay 522ef8f91f Copter: rename MOT df msg to MOTB
This will slightly reduce confusion with the MOT message from AC3.1.5
that eventually became RCOUT
2015-03-18 21:25:45 +09:00
Randy Mackay b679fd0be0 Copter: log RATE with ATT 2015-03-18 21:25:42 +09:00
Randy Mackay e6c3f4f97b Copter: move aux switch enum to defines.h 2015-03-17 21:18:49 +09:00
Robert Lefebvre 97cd3614eb Copter: Change Aux Switch function list to enum. 2015-03-17 21:18:46 +09:00
Robert Lefebvre a5af151a91 Copter: Initial expansion of Aux Switch to Ch7-12 2015-03-17 21:18:41 +09:00
Víctor Mayoral Vilches 79e152cd93 Copter: Update compass to the new interface 2015-03-13 18:46:16 +11:00
Randy Mackay 088a49abbf Copter: remove APM1, APM2 support 2015-03-13 16:41:03 +09:00
Randy Mackay fbfc94cf69 Copter: remove GPS glitch and failsafe
The EKF failsafe now captures all failures that could lead to a bad
position including GPS glitches and a bad compass meaning we do not need
this protection in the main flight code.
2015-03-13 16:40:46 +09:00
Randy Mackay 6f6847c025 Copter: use only InertialNav_EKF
remove calls to unsupported functions including ignore_next_error,
set_altitude, etc.
2015-03-13 16:40:37 +09:00
Randy Mackay d7f624be39 Copter: remove baro_glitch protection 2015-03-13 16:40:27 +09:00
Leonard Hall c537c38646 Copter: add update_throttle_low_comp
sets the priority of throttle vs attiude control so that attitude is
favoured (i.e. high throttle-low-comp) during dynamic flight while
throttle is favoured when vehicle may be landing.
2015-03-10 12:20:24 +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 8ba195a3a2 Copter: add Mot and Rate dataflash logging 2015-03-06 14:02:07 +09:00