Camera stabilization info request

Hi,

 

Could someone give me a run down on how the camera stabilization on the Ardupilot mega works?

 

How does it work?

What do i need to make it work?

And where do I connect the things I need to make it work?

Does it stabilize in 2 axis?

 

Thanks :)))

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

Join diydrones

Email me when people reply –

Replies

  • Moderator

    I can give you a quick answer, and leave the accurate answer to Jason :)

     

    Pitch and roll changes are fed to channels 5 and 6, with input from channel 6 on the radio, and handled in the 50Hz loop

    If you provide input, the camera moves, if the frame moves, the pitch/roll output counter the movement to maintain the original attitude. But I do not completely understand the intent or execution regarding channel 6, and which axis are functional with the code as written. There are a lot of things present but commented out.

     

    You will need some servos and some kind of structure, frame, or glue to join them to your aircraft, and some servo wires. Not much else :) You can get fancy, of course. 

     

    Connect servos to channels 5 and 6 output. See my comment above about my lack of understanding on the commented portions and the intent for both pitch and roll. I was doing this with custom lines which I added to the code each time, until I found this, but I have only tested one axis (roll) on the code in play.

     

    See camera.pde and a tiny bit of code in ArduCopterMega.pde proper for details. Most of the work is done in just two lines. Because Jason is awesome like that. 

This reply was deleted.

Activity