From cdb6ad86d39303185fcc3c353a86484bc02eb396 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Mon, 27 Dec 2010 23:11:01 +0000 Subject: [PATCH] some bug fixes, added basic camera leveling example for pitch only. Added DCM test. Added better Yaw gain defaults. Split radio and RC inits into two calls. Removed inappropriate auto_trim function. git-svn-id: https://arducopter.googlecode.com/svn/trunk@1307 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/Camera.pde | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ArduCopterMega/Camera.pde b/ArduCopterMega/Camera.pde index 60dbcd95cf..5af5669e16 100644 --- a/ArduCopterMega/Camera.pde +++ b/ArduCopterMega/Camera.pde @@ -33,8 +33,9 @@ camera_stabilization() APM_RC.OutputCh(CH_5,rc_camera_pitch.radio_out); - - //rc_camera_yaw = rc_2.control_mix(nav_pitch); + //If you want to do control mixing use this function. + // set servo_out to the control input from radio + //rc_camera_yaw = rc_2.control_mix(pitch_sensor); //rc_camera_yaw.calc_pwm(); }