Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload tracks taken on Waylens cameras #54

Open
LivInTheLookingGlass opened this issue Jun 10, 2018 · 11 comments
Open

Upload tracks taken on Waylens cameras #54

LivInTheLookingGlass opened this issue Jun 10, 2018 · 11 comments
Assignees

Comments

@LivInTheLookingGlass
Copy link

Recently Telenav and OSM US made a partnership to give out cameras to OSM contributors. It would be nice if we could upload tracks from this partnership using a fully FLOSS stack. I can submit example layouts to be used for these scripts

@alexandrui-telenav
Copy link

Hey @gappleto97, we don't really have someone to work on that in the near future unfortunately.
But to make sure we're on the same page, can you share the FLOSS examples you were thinking about? Not sure how that differs to the scripts on this repo ( I know Waylens is not currently supported, but not sure what FLOSS involves extra )

@LivInTheLookingGlass
Copy link
Author

I meant the layout of things on the SD card. Directory structures, file types, etc.

FLOSS = Freely Licensed Open Source Software

@alexandrui-telenav
Copy link

File management is under Waylens firmware's control where we can't really do much ( it's being used by the non-OSC Waylens cameras as well )..

@bogdans-telenav bogdans-telenav self-assigned this Feb 14, 2019
@ToeBee
Copy link
Contributor

ToeBee commented Feb 14, 2019

Is there any documentation about how data is structured in the .idx files? The images are just in a 1 FPS video stream and would be trivial to pull out using ffmpeg or similar. But the GPS info seems to be in the .idx files and it isn't in plain text and is mixed with syslog output as well.

@bogdans-telenav
Copy link

@ToeBee We are not aware of any documentation.

@jalessio
Copy link
Contributor

@ToeBee I was able to get a parseable CSV by using Waylens Studio and selecting the "Export Raw Data" option:
screen shot 2019-02-14 at 8 56 19 am

This produces a CSV file like this:
https://docs.google.com/spreadsheets/d/1AVzWMV3tckRaN-YqWxL5pVK7hZGBzQzsh3CHYLVn2wE/edit?usp=sharing

CSV columns:

  • TimeSinceEpoch(s)
  • PlayTime(s)
  • Frame Index
  • GPS Update
  • Accuracy (hdop)
  • Accuracy (vdop)
  • Latitude
  • Longitude
  • Altitude (m)
  • GPS Speed (MPH)
  • Heading
  • OBD Update
  • RPM
  • OBD Speed (MPH)
  • Pressure from OBD(kPa)
  • Throttle Position (%)
  • Boost (inHg)
  • Coolant Temperature (Celsius)
  • Oil Temperature (Celsius)
  • Telemetry Update
  • Pitch (rad)
  • Roll (rad)
  • accX (G)
  • accY (G)
  • accZ (G)
  • gyroX (Dps)
  • gyroY (Dps)
  • gyroZ (Dps)
  • YAW (rad)
  • Pressure from Telemetry(kPa)

@bogdans-telenav
Copy link

We can easily make a script to parse this and generate exif data.

@jalessio
Copy link
Contributor

jalessio commented Feb 14, 2019

And here are some rough notes I took the last time I attempted to sort this out -- looks like the last time I touched this was in July 2018. I ran out of time before I actually got it all tied together but this is probably a good starting point for others:
https://gist.github.com/jalessio/6ccbc203fc80540c24b984600831b644

This workflow requires using the Waylens Studio GUI app at the beginning to produce the CSV, which is not ideal since it requires manual steps. It would be much better if one could parse the files directly from the SD card, but I didn't make any attempt at that.

@jalessio
Copy link
Contributor

We can easily make a script to parse this and generate exif data.

@bogdans-telenav per your comment on 2/14/19 is this something you're still willing to do? If you don't want to take it on yourself, I'll give it a try but in that case any pointers you can provide would be a great help in getting started. Thanks!

@polarbearing
Copy link

As there is a process that the waylens uploads the recordings to telenav servers, telenav should have the spec of the incoming files to parse and geo-ref them?

@polarbearing
Copy link

Any news on this issue under the new kartaview branding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants