Now camera has pitch and roll stabilizer. In some shots camera looks plane. Camera can tilt 90 degrees to one direction and 45 to other, you can see the limits in sharp turns. It was windy day, 4 - 8 m/s or 14 - 29 km/h or 8 - 16 knots.

 

Program codes are in this blog

 

Views: 1472


Developer
Comment by Jason Short on May 14, 2011 at 10:44pm
Looks really nice.

Developer
Comment by Max Levine on May 15, 2011 at 12:47am
WOW, look good !
Comment by CrashingDutchman on May 15, 2011 at 12:50am
Very nice and smooth! I like it!
Comment by Jack Crossfire on May 15, 2011 at 12:51am

Probably as good as it can get with hobby servos.  The next step is software correction, but you would have to keep the image free of all parts of the aircraft.

 

 

 

Comment by Russell B. Sutton on May 15, 2011 at 8:53am

Good job man I really like it.

Comment by Ahmad Masalha on May 15, 2011 at 1:37pm
its amazing ,, fantastic job..
Comment by Alex on July 17, 2011 at 9:42pm
Alpo I tride to do the same, but may be I add to wrong row. Could you please show screen shot where you ad your small program.Thank you
Comment by Alpo Hassinen on July 18, 2011 at 2:54am

Here is the screenshot from codes. This is from version 2.12, but in the new version they are in the same place.

First line is roll, and second is pitch. I can adjust camera roll with RC channel 6.

Comment by Alex on July 18, 2011 at 7:11am

Ok, Thank you for help, now all work :-

I add first time as you recommend in your description

 APM_RC.OutputCh(CH_6, constrain(g.rc_6.radio_in - (dcm.roll_sensor * 0.1),900,2100));  
 APM_RC.OutputCh(CH_7, constrain(g.rc_7.radio_in - (dcm.pitch_sensor * 0.1),900,2100));   
well  run
Second time I add
APM_RC.OutputCh(CH_5, constrain(g.rc_6.radio_in - (dcm.roll_sensor / 10),900,2100));          APM_RC.OutputCh(CH_6, constrain(1500 - (dcm.pitch_sensor / 10),900,2100));            
It is running the same.  Is some diferent in command? Sorry for stupid question, I have backyard education of programming
Comment by Alpo Hassinen on July 18, 2011 at 8:42am

Output channel numbers are different, but probably you have noticed this.

(dcm.roll_sensor * 0.1) and (dcm.roll_sensor / 10) are same. Sometimes second is better, because we are using integers.

I can adjust camera roll with RC channel 6, that's why I have that g.rc_6.radio_in. If that input channel 6 is not connected, the value will be 1500.

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service