Just added a (tilt only) camera gimble - the cheap one from Hobby King. Now I'd like to get some stabilization working. I've lost track on how to do this on AC2 - last time I looked at this was in NG. Looks like the code has moved on a bit. 

I've read this page but don't seem to be able to reconcile that advice with the 2.38 beta code.

 

Is there anything I need to enable in the code, or is it 'always working' on outputs 5 and 6, and are there any config values for throw, gain etc I need to set?

 

Apologies if this is all explained somewhere, I did search...

 

 

Views: 295

Reply to This

Replies to This Discussion

In the latest firmware (starting from 2.0.38) camera stabilisation is always enabled. Just connect your servo's to outputs 5 and 6 and it should work. There's nothing to configure for gain etc. If you want to scale the output you'll have to modify the code and compile with arduino.
Ahh I see. Happy days then, I will have a play.

Thanks.

Got it working now - however it seems to correct forward tilt a lot more than backward tilt. This is not a mechanical issue - the servo excursion is asymmetric. Are there any parameters to change this?

In 2.0.38 the stabisation is not workin properly. It is enabled but dosnt work. It's in reverse or somthing like that.
You can reverse it in the planner. look for a code like "RC_CP_" and "REV" and put a -1 in there.
Jason
IS there also an option (or possibility) for smoother camera movement or for a deadband ? My stabilisation works ok with large movements (like when pitching forward to gain speed) but shakes horribly when hoovering.

sorri jason wat do u mean PLANNER. im a lil bit lost??

sorri jason just found it
thx for your help

still doesnt reverse the servo

Hello Jason

is it possible to increase ardupilot speed correction of  gimball servos( my servos are0,06 deg/sec ) because when i moved rapidly my quad like in flight the gimball compensate too slowly i see big  image deflection on screen

thanks  Philippe

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service