APM 2 ArduPlane relay and camera stabilization?

I have made several successful APM 1 aerial survey flights.  (See http://diydrones.com/forum/topics/a-successful-apm-aerial-survey-mission)  

I am now ready to do the same missions with APM 2 but APM 2 has no relay. From the APM 2 wiki page, "No relay. Very few people used this, so if you want one (to trigger a camera, for instance), we support adding one externally."  How do we do that. There is no documentation showing how to control the pin marked, Camera Shutter.  (See issue 512.)

I think that every aerial photographer, aerial mapper, and aerial photo survey application (both aircraft and 'copter) would make good use of the relay.

Camera roll stabilization would be a big help for aerial surveys.  Can the Camera.pde from ArduCopter be added to AdruPlane?  Can the UserCode.pde and UserVariables.h file be added to the ArduPlane release?

Thanks to the development team for the great APM 1 flight controller system.

I am looking forward to taking advantage of the improvements that APM 2 offers.

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

Join diydrones

Email me when people reply –

Replies

  • I added the Camera.pde (from ArduCopter 2.3) to AdruPlane 2.28 but there were compile errors.

    I added UserCode.pde and UserVariables.h and got no compile errors.

    I have not found the command sequence to address and/or control Camera Shutter A9.

    I have been able to command servo outpots 5 to 8 with the DO_SET_SERVO - # - PWM.

    I'll connect a servo/relay to servo #8 and control my camera with that for now.

  • Hi, this is quite simple, if you look at the explanation of the wiki, has an output labeled (A9)of camera shutter, simply rolling out a servo switch as they do in the store 3DR, https://store.diydrones.com/ServoSwitch_V10_p/br-0007-01.htm



    Wiki:http://code.google.com/p/ardupilot-mega/wiki/APM2board

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Saturday
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
More…