fix for Camera Roll

This commit is contained in:
Jason Short 2011-10-15 20:45:45 -07:00
parent 4ad9f2db7c
commit 97670246ff
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ camera_stabilization()
*/
// dont allow control mixing
g.rc_camera_roll.servo_out = (float)g.rc_camera_roll.servo_out * g.camera_roll_gain;
g.rc_camera_roll.servo_out = (float)-dcm.roll_sensor * g.camera_roll_gain;
// limit
//g.rc_camera_roll.servo_out = constrain(-dcm.roll_sensor, -4500, 4500);