Has anyone worked out a system for writing telemetry data onto the frames of a gopro video? We have everything working in our new BlueROV2, but we want to use gopro video for analysis (we need the highest quality we can get, for counting fairly small organisms such as ascidians), and we want to be able to see the depth on each frame. This sounds like a fairly basic thing, but it’s my first time working with .tlog files.
I’ve converted a .tlog file to .csv using TLogtoCSV.jar from Telemetry Log to CSV | blog.markbrown.space. I’m pretty sure I can figure out how to write data to a gopro video frame-by-frame using a python script, once I know what the data mean (I’ve done similar things with OpenROV video before). In the .csv file, I have lines like these:
1512474933651 MAVLINK_MSG_ID_SCALED_PRESSURE - time_boot_ms:4325330 press_abs:1030.7413 press_diff:7.6991405 temperature:3952 Tue Dec 05 11:55:33 GMT 2017 29
1512474933651 MAVLINK_MSG_ID_SCALED_PRESSURE2 - time_boot_ms:4325330 press_abs:1031.6 press_diff:33.64 temperature:896 Tue Dec 05 11:55:33 GMT 2017 137
Is one of those things going to give me depth, if I know the salinity of the water I’m in? At the moment I don’t even know the units of the numbers I’m looking at, although I’m sure it will be obvious to someone.