Jump to content


Camera Stabilization (20110819-f85ae84e)


  • Please log in to reply
144 replies to this topic

#121 osnwt

osnwt

    Core Developer

  • Administrators
  • 1499 posts
  • LocationSevastopol
  • Country: flag of Ukraine Ukraine


Posted 17 December 2011 - 12:02 AM

Review has been started.

#122 Fuwu

Fuwu

    Key Member

  • Members
  • PipPipPip
  • 55 posts
  • LocationAmsterdam (NL)
  • Country: flag of Netherlands Netherlands


Posted 19 December 2011 - 08:58 PM

Very nice work!

Would it be difficult to implant some code in the camera stabilisation to lock the roll and pitch servos? I'am planning to land on the camera gimball........

#123 CrispyCargo

CrispyCargo

    a Wild Pilotâ„¢

  • Members
  • PipPipPip
  • 161 posts
  • LocationCalifornia
  • Country: flag of United States United States


Posted 19 December 2011 - 11:24 PM

View PostCossacs, on 16 December 2011 - 07:30 PM, said:

CamerStab module designed only for servo with potentiometer, at least now. Potentiometer allow CC to know servo position. Without it only the way is mount CC board near the camera and use common stabilization code (not camera stab) to allow CC axels/gyros detect axis position, but in some servo positions you'll have two servos for one axis and oscillations occurs. For such case add axis coordinate conversions to mixer code could be option.

I plan to use common Stabilization AxisLock for Yaw (360 deg servo without potentiometer) and CameraStab Axis Lock (as it shown on video) for Roll/Pitch servos with potentiometer for my gimbal stabilized with standalone CC board.

I think you could add 180 or even 360 5k-10k potentiometers to your gimbal, mount it on rotation axis and connect it to servos and it should works. Or just get different servos. Another case is you could mount CC board near the camera position and play with common stabilization, i.e. set airplane mode and use aileron/elevator for servo outputs.

Thanks for the help Cossacs,

Do you know of any specific (brand) of potentiometer that you would recommend? I did a search for them and there are a million different kinds out there. Can you help point me in the right direction?

This is the gimbal that I have, and I wondering what external pot will work the best with it. I know I'm going to have to do some modifying. Your thoughts??

Thanks.
...falling with style...

#124 askman

askman

    New Member

  • Members
  • Pip
  • 3 posts
  • Country: flag of United States United States

Posted 21 December 2011 - 07:01 PM

Hi everyone.

I have just recieved my pair of openCC board and will be testing the cam stabilization  soon.  (hopefully starting this weekend, as I am getting my new gimbals done)   I do have some questions and suggestions.  some of the features I had  in mine are already in this version of the firmware, so that helps.  

if this has not already been done, I would love to see:

1)   I would like to see servo pwm signal  capable of 600us to 2400 us range.  this would allow us to have full 180 degree travel for many servos on the market. which means we can go 2:1 to  3:1 gear ratio and still have useful  angle of movement.

2) I realize most of the analog servos are 8 bit, but some are 12bit resolution.   I am not sure what lvl of resolution the openCC  servo signals are, but I would like to see 12 bit support for servos.   (4096 steps vs 256, which will give us smoother movement)


I am sure I will have more suggestions/feedback as I start the flight testing.  thanks for great fcb. and looking forward to testing it.

#125 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4110 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 21 December 2011 - 09:48 PM

The PWM input and output timer resolution is 1 us.  That's 10 bits of resolution for 1000 to 2000 us.

#126 askman

askman

    New Member

  • Members
  • Pip
  • 3 posts
  • Country: flag of United States United States

Posted 21 December 2011 - 10:51 PM

thank you for the pwm timing information.  if we can get expanded 600-2400 us,  at 1us  resolution,  that would be pretty nice at 2:1 ratio. 1800steps  at 180 degree at 2:1 would be .05deg resolution.    at anyrate,  I will make sure I test with 10bit capable servos on this firmware.

Edited by askman, 21 December 2011 - 10:52 PM.


#127 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4110 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 21 December 2011 - 11:04 PM

View Postaskman, on 21 December 2011 - 10:51 PM, said:

thank you for the pwm timing information.  if we can get expanded 600-2400 us,  at 1us  resolution,  that would be pretty nice at 2:1 ratio. 1800steps  at 180 degree at 2:1 would be .05deg resolution. at anyrate,  I will make sure I test with 10bit capable servos on this firmware.

That's easy.  Just set min time 600 and max 2400 and it's already done.

#128 askman

askman

    New Member

  • Members
  • Pip
  • 3 posts
  • Country: flag of United States United States

Posted 22 December 2011 - 01:24 AM

that is very good.  :D   I have not installed the board yet, so have not played with the firmware yet.  lol just got the board, and busy working on the new frame/gimbal combo. I am really looking forward to this firmware/openCC.   I am sure I will have more comment once I get it in the air and start testing.  :D sounds like you have most of the things I wanted already implemented though or will once the branches are merged.   good job.

Edited by askman, 22 December 2011 - 02:27 AM.


#129 YouMadeMeDoIt

YouMadeMeDoIt

    Advanced Member

  • Members
  • PipPipPip
  • 105 posts
  • LocationNew York City
  • Country: flag of United States United States


Posted 22 December 2011 - 08:13 AM

Been lurking on the forums here for awhile, and just about to begin a build on my first quadcopter using CC, with the main goal of shooting photos and video footage.  I probably should finish my build an learn to fly the thing before looking at this camera stab. thread, but I'm impatient!

Anyway, the question of software stabilization did come up and I can share with you that I have in the past used adobe after effects to stabilize footage shot by a shaky camera.  It won't be helpful in all cases, but may fit the bill for some.

There's one tutorial here: http://videocopilot...._shaky_footage/

A big thanks to SeismicCWave for giving me some good advice for my project.

#130 macranger

macranger

    Advanced Member

  • Members
  • PipPipPip
  • 131 posts
  • Country: flag of Germany Germany


Posted 05 January 2012 - 09:47 AM

do you know the alpha-gel?
they do a great job.

http://www.blaui-rc.de

#131 macranger

macranger

    Advanced Member

  • Members
  • PipPipPip
  • 131 posts
  • Country: flag of Germany Germany


Posted 18 January 2012 - 08:53 AM

Hello

i built an hexa y6 copter. I have an futuba FF7 with a 7 channel reciever.
I want to you use a 2 axis gimbal from MK.
Is it possible?
I ask because at the reciever i have only 1 port free.
At the OCC are 6 BEC. No Port free.

What can i do?

Claus

#132 macranger

macranger

    Advanced Member

  • Members
  • PipPipPip
  • 131 posts
  • Country: flag of Germany Germany


Posted 19 January 2012 - 12:26 PM

View Postmacranger, on 18 January 2012 - 08:53 AM, said:

Hello

i built an hexa y6 copter. I have an futuba FF7 with a 7 channel reciever.
I want to you use a 2 axis gimbal from MK.
Is it possible?
I ask because at the reciever i have only 1 port free.
At the OCC are 6 BEC. No Port free.

What can i do?

Claus

I have heard that there is  a new version in planning.
If i use a ppm receiver i can use a free pin of my receiver for gimbal?
Is that right?
When comes the new version?

claus

#133 Matanza

Matanza

    Member

  • Members
  • PipPip
  • 16 posts
  • Country: flag of Belgium Belgium

Posted 15 February 2012 - 06:58 PM

Hi,

When i was setting up the camera stabilization all my inputs and outputs turned red.

Posted Image

Do somebody know whats happening ? Also after putting all settings back to the last 'know good' its still not working.

Regards,

#134 AlPackin

AlPackin

    Not the Llama

  • Core Team
  • PipPipPip
  • 2003 posts
  • Country: flag of United States United States


Posted 15 February 2012 - 07:21 PM

View PostMatanza, on 15 February 2012 - 06:58 PM, said:



Do somebody know whats happening ? Also after putting all settings back to the last 'know good' its still not working.



post your UAV Settings file here so we can take a look

In the GCS
Files>> Export UAV Settings

#135 Matanza

Matanza

    Member

  • Members
  • PipPip
  • 16 posts
  • Country: flag of Belgium Belgium

Posted 15 February 2012 - 07:48 PM

In the attachment you can find the uav settings you requested.

Attached Files



#136 AlPackin

AlPackin

    Not the Llama

  • Core Team
  • PipPipPip
  • 2003 posts
  • Country: flag of United States United States


Posted 15 February 2012 - 09:22 PM

View PostMatanza, on 15 February 2012 - 07:48 PM, said:

In the attachment you can find the uav settings you requested.

Your mixer settings and input configuration is all messed up.  Don't know why but you have to start your setup again

#137 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 15 February 2012 - 11:59 PM

And you might want to switch to the newer firmware as well:

http://forums.openpi...20201-213a915f/

#138 aerialcameraman

aerialcameraman

    Advanced Member

  • Members
  • PipPipPip
  • 87 posts
  • Country: flag of Cyprus Cyprus

Posted 19 February 2012 - 07:56 AM

I have been testing the new code this week with a CC board as a standalone imu, and results are a big improvement over the WKM outputs.

#139 k_g

k_g

    Advanced Member

  • Members
  • PipPipPip
  • 73 posts
  • Country: flag of United States United States


Posted 21 February 2012 - 02:11 AM

View Postimporton, on 12 November 2011 - 05:22 PM, said:

Thanks for all of the helpfull info and suggestions.   I'm starting to think that vibes are the problem.  I have my cc mounted on those rubber MK vibration dampening standoffs.  I wonder if that is helping vibrations or making them worse.  
I was also thinking (this would be a totally inefficient and expensive way to do it but) what if I had a completely separate cc mounted to the camera mount that just does camera stabilization?  I have my lipo strapped to my camera mount already in the hopes that concentrating all the weight into the mount will decrease high frequency vibrations in my images which seems to be working.  I wonder if that would be enough to fix my drifting horizon problem as well?

Did you ever get the problem fixed importon?  I seem to be having the same problem.

Pardon the incredibly boring video (I threw in some cow herding to keep yer attention:)), a couple minutes in is when you can start seeing the problem.  If anybody  here knows what's going on I'm all ears.  3:30-4:30 demonstrates the problem pretty well.


Edited by k_g, 21 February 2012 - 02:17 AM.


#140 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 21 February 2012 - 03:15 AM

Quote

I'm starting to think that vibes are the problem. I have my cc mounted on those rubber MK vibration dampening standoffs. I wonder if that is helping vibrations or making them worse.

I tried them for normal flight on a well flying ariframe, only tried them once as it made things worse for me. I just go with the white nylon ones now.

Not tried camera stab yet.