tom123

  • *
  • 3
UAVTalk Data (Telemetry)
« on: July 15, 2016, 12:00:23 pm »
Hello all,

I was wonderig where could I get the names of the Object IDs from the UAVTalk data. I have searched through https://librepilot.atlassian.net/wiki/display/LPDOC/Architecture and I couldn't find it. In particular, I would need the three angles (roll, pitch, yaw), the three angular velocities, and Latitude, Longitude and Altitude. However, I'll be happy with all the Object IDs and their names. I am using an Arduino board and I already have the code to parse it, I just need to know which numbers correspond to each data (roll, pitch, yaw, etc.)

I have also searched in the source code repository (https://bitbucket.org/librepilot) but couldn't find anything.

(I am using a Revolution)

Thanks in advance
« Last Edit: July 15, 2016, 12:04:16 pm by tom123 »

f5soh

  • *****
  • 4572
    • LibrePilot
Re: UAVTalk Data (Telemetry)
« Reply #1 on: July 15, 2016, 03:36:43 pm »
Hi, welcome.

From sources you can do a make uavobject to generate uavobjects from xml found in /shared

Another option where you can see every UAVO id is export uav data from GCS :

File menu > Help > Export UAV Data...

tom123

  • *
  • 3
Re: UAVTalk Data (Telemetry)
« Reply #2 on: July 18, 2016, 11:31:40 am »
Thank you! That was just what I needed!

Is there any other code for analysing telemetry data that I could use, in case this one doesn't work?

Thanks in advance

f5soh

  • *****
  • 4572
    • LibrePilot
Re: UAVTalk Data (Telemetry)
« Reply #3 on: July 18, 2016, 11:40:57 am »
There is some python scripting, maybe not fully updated:
https://bitbucket.org/alessiomorale/librepilot/branch/amorale%2Flp_python_porting

OSD source code may help for telemetry decoding also:
https://bitbucket.org/f5soh/minoposd/src/c5d605229a085327d372bb0d69935a61c57c6e66/ArduCAM_OSD/?at=master

For a read-only data you can also retrieve data from a board connected to GCS using USB or Oplink at http://localhost:7891/

I think several people achieved the telemetry link but no one submitted a PR to include this work to main codebase.

tom123

  • *
  • 3
Re: UAVTalk Data (Telemetry)
« Reply #4 on: July 19, 2016, 11:12:30 am »
Thank you!