Camera triggering message through telemetry?

Hi all,

I use APM:Copter and the newer beta firmware to take advantage of geographical distance camera triggering. Did a test some days ago and it works. The downside is that this beta version seems to overburden the processor, causing telemetry message frequency to decrease significantly.

I needed to have images geotagged and this depends on a time offset between camera clock time and GPS time. The camera time isn't visible in seconds or in realtime, so this kind of synchronization is pretty cumbersome. If for any reason you can't recover the offset, a whole batch of photos may be lost.

So my question:

Doesn't MAVlink actually send camera trigger messages through telemetry?

Paparazzi uses a DC_SHOT message strategy with an incremental counter. The photos are collected and correlated to this index number in telemetry. You don't need them all, as long as a good number has the position inserted.

Only one such message would be necessary to work out the time offset between camera and gps time such that the actual positions can be derived from the rest of the log where the trigger messages are missing.

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

Join diydrones

Email me when people reply –

Replies

  • Sorry to open such an old conversation.

    But I had the same problem and think I have the solution.

    The log_bitmask should be set to "nearly all" to log the CAMERA infos in addition.

    Hope this helps some people in the future.

    Best regards

    Thomas

  • Be sure you are looking at the dataflash .log, not the .tlog. CLI = Command Line Interface. You can also do this through Advanced Parameters.
    Please read the wiki on logs.
  • Just a note this last point which tripped me up for a moment to enable camera entries in the log the command is 'enable camera' not enable cam!

    • Thanks for the correction.
      • Hi Iskess

        How should I list the logs? what meas 'CLI' ?

        There is no CAM messages in my logs, my camera is connected to the APM and it seems to shoot at the right spots. 

  • It's under the CAM header on the data flash .log file.
    Change the .log to a .csv. Open the .csv in excel. Use the filter tool to only see lines that start with CAM. You will see the time stamps in milliseconds along with the IMU data and altitude for each moment the APM commanded a camera trigger. Unfortunately the time stamp has no date, so you can just use if for referencing time elapsed from a floating reference point that you must establish yourself.

    If any developers are reading this, I have a question. I understand that the APM has no battery to keep time. However, doesnt the GPS signal include the date? Couldn't this be used to time stamp the log events, as well as the log itself?
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…