Pitch/Roll Camera outputs travel and rate adjustments

Hello All,

I was playing around with the camera stabilization features in 2.45 and wanted to know how to adjust the end points of travel as well as the angle rate. Outputs 5 and 6 work perfectly fine but I noticed on my gimbal that the compensation angle of the servos I'm using is a little lower than the tilt angle of the APM board. Also and for some reason tilting down or rolling right seemed to have longer travel than tilting up or rolling left i.e. when going up or left the servos seems to stop reacting at a smaller angle from neutral than tilting down or rolling right despite the fact that the horizontal position of the gimbal/servos was mechanically adjusted to match the the servo's neutral position(as tested through a servo tester and my RC). I played around with the config values MAX/MIN/TRIM for both channels through MP and I have them setup at 2000/1000/1500 but while the trim can be used to adjust the servo's position at horizontal the amount of servo travel is limitted to 40-50 degrees(vs. the possible 170degrees or so) and changing the MAX/MIN doesn't seem to do much. Any ideas? 

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

Join diydrones

Email me when people reply –

Replies

  • Ok so I adjusted the constrain lines to 90/-90 all the way upto 180/-180  but the travel is still limitted in one direction(down) where it doesn't respond after 30deg tilt i even setup the min/max in the MP configuration to 100-2500 just to make sure I'm covering the entire range of pulse widths...what am I doing wrong?

  • Developer

    Until we get the new camera libraries in place, your best best it to open the camera.pde file and tweak the code.

    That's what I do and I had a great time with a stabilized GoPro today. Actually, what's there now is what works for the HobbyKing stabilizer.

    Jason

This reply was deleted.

Activity

DIY Robocars via Twitter
Sunday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
Saturday
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…