Jump to content


Camera stabilization


  • Please log in to reply
148 replies to this topic

#1 peabody124

peabody124

    Crash Dummy

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


Posted 23 June 2011 - 01:53 PM

Thanks again to Reddog for getting me the camera mount so I could implement this. Camera stabilization with transmitter input to look around is now working. The code is complete for roll, pitch and yaw but I only tested roll and pitch.



The roll is a little sloppy looking - it's not the code but the piano wire on the camera mount has a bit of wobble. We'll see what it looks like in flight and I'll update the video once I've mounted it to my quad.

#2 Gary Mortimer

Gary Mortimer

    Member

  • Banned
  • PipPipPip
  • 832 posts
  • LocationCold Brayfield UK, Rosetta RSA
  • Country: flag of South Africa South Africa


Posted 23 June 2011 - 02:07 PM

Excellent, is it merged yet? Best I build a quad with camera mount to try it out.

You must win points for wearing the shirt.

#3 michel pet

michel pet

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts
  • Locationnl
  • Country: flag of Netherlands Netherlands


Posted 23 June 2011 - 02:12 PM

this is great news.
let niet op me taal ik ben woordt blind.

#4 peabody124

peabody124

    Crash Dummy

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


Posted 23 June 2011 - 03:08 PM

View PostGary Mortimer, on 23 June 2011 - 02:07 PM, said:

Excellent, is it merged yet? Best I build a quad with camera mount to try it out.

You must win points for wearing the shirt.

No, not merged yet. Give me a day or two. I was to base it around some of Mathieu's changes so you won't need a custom "CameraStabilization" firmware. You'll just enable the module and BOOM.

Glad you noticed the shirt. It was 2am so normally I wouldn't even be wearing shorts at that time.

#5 Gary Mortimer

Gary Mortimer

    Member

  • Banned
  • PipPipPip
  • 832 posts
  • LocationCold Brayfield UK, Rosetta RSA
  • Country: flag of South Africa South Africa


Posted 23 June 2011 - 03:56 PM

Ok you just lost the points for putting that image into my mind. In fact points deducted.

#6 ferdous

ferdous

    Advanced Member

  • Members
  • PipPipPip
  • 95 posts
  • Country: flag of Bangladesh Bangladesh

Posted 23 June 2011 - 04:36 PM

hi, i have a ques. is the cc capable running preprogrammed flt on multicopter?

#7 peabody124

peabody124

    Crash Dummy

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


Posted 23 June 2011 - 04:40 PM

View Postferdous, on 23 June 2011 - 04:36 PM, said:

hi, i have a ques. is the cc capable running preprogrammed flt on multicopter?

Sorry I don't understand. CC will fly a multicopter.

#8 muralha

muralha

    Developer

  • Members
  • PipPipPip
  • 363 posts
  • LocationLisbon, Portugal
  • Country: flag of Portugal Portugal


Posted 23 June 2011 - 06:49 PM

I think he meant preprogrammed FLIGHT...
CC is meant for stabilization, so the answer is no.


Good job James.

Is there a widget to configure the servo speed or other stuff?

Finally the OP polos are showing off. Posted Image

#9 peabody124

peabody124

    Crash Dummy

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


Posted 23 June 2011 - 07:02 PM

View Postmuralha, on 23 June 2011 - 06:49 PM, said:

Is there a widget to configure the servo speed or other stuff?

Yea! the UAVObjectBrowser :-D

No speed parameters though. You set the gain (degrees / range of servo) for the outputs and inputs (for controlling).

Quote

Finally the OP polos are showing off. Posted Image

Haha, yea.

#10 Reddog

Reddog

    UI Manager

  • Members
  • PipPipPip
  • 1200 posts
  • Country: flag of Australia Australia


Posted 24 June 2011 - 06:56 AM

View Postpeabody124, on 23 June 2011 - 01:53 PM, said:

Thanks again to Reddog for getting me the camera mount so I could implement this. Camera stabilization with transmitter input to look around is now working. The code is complete for roll, pitch and yaw but I only tested roll and pitch.



The roll is a little sloppy looking - it's not the code but the piano wire on the camera mount has a bit of wobble. We'll see what it looks like in flight and I'll update the video once I've mounted it to my quad.

Absolutely fantastic! Bit of a shame about them using wire on the mount, wish we had known that before hand so we could get you a crisp moving mount.

#11 peabody124

peabody124

    Crash Dummy

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


Posted 24 June 2011 - 07:10 AM

View PostReddog, on 24 June 2011 - 06:56 AM, said:

Absolutely fantastic! Bit of a shame about them using wire on the mount, wish we had known that before hand so we could get you a crisp moving mount.

Live and learn. It was perfect for getting the code working well, thank you so much. I only mentioned it so people don't think the roll wobble was CC doing a poor job! Look how tight the pitch is.

#12 jes1111

jes1111

    Key Member

  • Members
  • PipPipPip
  • 712 posts
  • Country: flag of Portugal Portugal


Posted 24 June 2011 - 03:23 PM

Looking good!

We've talked in the past about routing additional servo outputs through CC's Flexiport as I2C. Would that be possible in the future?

Jeremy

#13 michel pet

michel pet

    Advanced Member

  • Members
  • PipPipPip
  • 142 posts
  • Locationnl
  • Country: flag of Netherlands Netherlands


Posted 24 June 2011 - 03:37 PM

View Postpeabody124, on 24 June 2011 - 07:10 AM, said:

Live and learn. It was perfect for getting the code working well, thank you so much. I only mentioned it so people don't think the roll wobble was CC doing a poor job! Look how tight the pitch is.

good it be the distance between the cc and the servo.
let niet op me taal ik ben woordt blind.

#14 peabody124

peabody124

    Crash Dummy

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


Posted 24 June 2011 - 05:22 PM

Yea stack pointed me to the ArduPirates design which uses a metal linkage rod to the roll servo. That looks better and I'll try and mod my frame.

#15 ssassen

ssassen

    Advanced Member

  • Members
  • PipPipPip
  • 61 posts
  • Country: flag of Netherlands Netherlands

Posted 24 June 2011 - 06:12 PM

Excellent! Most entertaining bit about the video is knowing James purposely put on that T-shirt :D

#16 peabody124

peabody124

    Crash Dummy

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


Posted 24 June 2011 - 06:18 PM

View Postssassen, on 24 June 2011 - 06:12 PM, said:

Excellent! Most entertaining bit about the video is knowing James purposely put on that T-shirt :D

You misread. I purposely put on A shirt.

#17 muralha

muralha

    Developer

  • Members
  • PipPipPip
  • 363 posts
  • LocationLisbon, Portugal
  • Country: flag of Portugal Portugal


Posted 24 June 2011 - 06:46 PM

It's not a T-shirt or A shirt... It's the OpenPilot Developer's Polo!!!

#18 importon

importon

    Key Member

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


Posted 24 June 2011 - 07:19 PM

Amazing! Looks like it's refreshing faster than MKs tilt roll already. When do I get to play with it?

#19 peabody124

peabody124

    Crash Dummy

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


Posted 24 June 2011 - 07:24 PM

Hopefully this weekend I'll be trying to bring together some of the stabilization stuff, camera stuff, mathieu's memory improvements, etc. However I think we might hold off on a packaged release for a week because I want to confirm all the changes to stabilization are worthwhile and not keep changing objects.

#20 ssassen

ssassen

    Advanced Member

  • Members
  • PipPipPip
  • 61 posts
  • Country: flag of Netherlands Netherlands

Posted 24 June 2011 - 07:39 PM

Can you summarize quickly what the new release will feature? From memory the following should be included?

- camera stabilization
- PPM serial input (PPM stream with all channels combined)
- Y6/octo support

P.s. sorry about the shirt, apparently that's a sensitive subject, for what it is worth, it makes you look pretty damn sexy :)