From 561a5a740bd9b1fc9d1aff9bb571f2ef692c4aa8 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Tue, 1 Nov 2011 09:28:23 -0700 Subject: [PATCH] removed accel.z references --- ArduCopter/Attitude.pde | 3 --- 1 file changed, 3 deletions(-) diff --git a/ArduCopter/Attitude.pde b/ArduCopter/Attitude.pde index 4bc8c1da3a..030d6c36aa 100644 --- a/ArduCopter/Attitude.pde +++ b/ArduCopter/Attitude.pde @@ -202,9 +202,6 @@ static int alt_hold_velocity() //s: -13.1310, g:47.8700, e:1.0000, o:-158 #else - Vector3f accel_filt; - accel_filt = imu.get_accel_filtered(); - accels_rot = dcm.get_dcm_matrix() * imu.get_accel_filtered(); return 0; #endif }