coby7016 / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Camera Stabilizer #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
2.0.20

I see in the folder Camera.pde 

how can i activate the pitch stabilization

Original issue reported on code.google.com by trix4...@hotmail.com on 31 May 2011 at 3:13

GoogleCodeExporter commented 9 years ago
It's enabled by default. Just plug a servo into CH 5 out.

Original comment by jasonshort on 31 May 2011 at 3:47

GoogleCodeExporter commented 9 years ago
sry, but i use Y6 frame

and when i plug a servo into ch 5 out, it s don t move, and no resiste (i try 
with 2 different servo

need move a dip switch?

Original comment by trix4...@hotmail.com on 31 May 2011 at 5:17

GoogleCodeExporter commented 9 years ago
There may be a problem with the defines. I just notices that. 
in APM_config.h

change to this and re-upload:
#define CAMERA_STABILIZER 1
Does it fix the problem?

Original comment by jasonshort on 31 May 2011 at 5:45

GoogleCodeExporter commented 9 years ago
ok tks Jason

it fix the problem.
it s work now.

Original comment by trix4...@hotmail.com on 31 May 2011 at 6:20

GoogleCodeExporter commented 9 years ago

Original comment by jasonshort on 31 May 2011 at 6:21

GoogleCodeExporter commented 9 years ago
How i can setup all camera stabilizer parameters? CLI? Edit Code?

Original comment by teemu.j....@gmail.com on 2 Jun 2011 at 11:57

GoogleCodeExporter commented 9 years ago
You'll have to edit the camera.pde code directly. In the next major rev we'll 
make it easier.
Jason

Original comment by jasonshort on 3 Jun 2011 at 12:01

GoogleCodeExporter commented 9 years ago
Ok. Thanks a lot.

Original comment by teemu.j....@gmail.com on 3 Jun 2011 at 12:03

GoogleCodeExporter commented 9 years ago
Is there a line to fix gyro/accel. correction factor? Its too agressive.

Original comment by teemu.j....@gmail.com on 3 Jun 2011 at 12:06

GoogleCodeExporter commented 9 years ago
g.rc_camera_roll.servo_out = -dcm.roll_sensor * .5;

g.rc_camera_pitch.servo_out = g.rc_camera_pitch.control_mix(-dcm.pitch_sensor * 
.5);
or 
g.rc_camera_pitch.servo_out *= .5

Original comment by jasonshort on 3 Jun 2011 at 12:13