Hello,

I played around with mission planner and today wanted to do my first camera mission. Unfortunately I clicked to update the apm software yesterday, which radically changed the functionality, so I had to think in the field...

Before I used GridV2 to plan a mission. I'm using what used to be called a relay, but is actually pin A9 on the APM. That is connected to an opto isolator, which triggers the Canon camera through CHDK.

Now, in the new version, I just clicked "survey (Grid)" in the mission planner and this seemed to work. I could load my camera there, input the altitude and it would (apparently) make a nice mission. What I did not notice is that the MP didn't actually insert action waypoints to trigger the camera. *sigh*. So no pics were taken.

Right now I noticed there's a checkbox "Advanced options", which makes some tabs appear. In one of the tabs the actual camera parameters can be verified. In the last one you can make changes to the type of the trigger. Looks like the default is a "camera distance trigger", which I actually used before when set to 40 meters or so, which then generated a valid mission. When I use that, I don't see any waypoints appearing.

I can also set this to "DO_DIGICAM_CONTROL", but I don't know if that's the same as "DO_SET_RELAY". Can anyone confirm it's acting on pin A9 and just pulses that for the set duration in the CAM_DURATION settings in the parameters?  I expect this to be up 100ms or so.

So... the new functionality does seem to work better and offloads a lot of the internal calculations that otherwise need to take place. In terms of user friendliness, I'm not sure if people would find the trigger type so easily and whether the default is the best type of trigger to use (considering APM should know about how the board is configured, since it loads all the parameters. So why not use that?).

On the up-side... the mission itself was executed beautifully without any glitch. And the ground station allowed us to follow that from a telemetry perspective.

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

Join diydrones

Email me when people reply –

Replies

  • If you use the CAMERA_TRIG_DISTANCE option it doesn't set any waypoints because it uses the GPS data to trigger the camera at the set distance, it saves the waypoints for navigation.

    You seem to have done everything correctly, after you created and written your mission to the APM using survey(grid) did you check in the advance parameters list that the distance variable for CAMERA_TRIG_DISTANCE had been automatically generated by the survey(grid) function.

    Also did you set a servo output  for your camera trigger, I set servo out for channel 7 in the parameters list to "camera trigger" and connected my gentwire to it and walked my APM along the ground and it triggered the camera at the my chosen trigger distance(38m)

    Hope this helps

    Martin : )

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…