Faster roll on camera gimble

Camera gimble works well in tilt direction, but I need it to move more on the roll axis. If I tilt the quad 20 degrees, the camera gimble only tilts around 10 degrees, so it's not level.

I guess I have to do this by changing code? Probably one of these lines in camera file. Any suggestions?

g.rc_camera_roll.servo_out = constrain(-dcm.roll_sensor, -4500, 4500);

APM_RC.OutputCh(CH_6, g.rc_camera_roll.radio_out);

 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    g.rc_camera_roll.servo_out = constrain((dcm.roll_sensor * -2), -4500, 4500);

    try that.

    Jason

     

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…