Skip to content

Synchronizing Optitrack positioning data with Crazyflie logging #206

Answered by krichardsson
suvansh asked this question in Q&A
Discussion options

You must be logged in to vote

HI!

One solution that comes to mind is to continue to use crazyflie's position/attitude logging and use that as a means of aligning the data with the optitrack data

This is probably the easiest solution and would give you pretty good time stamping.

The solution depends on what kind of precision you need. The logging framework is a bit of "best effort", it will transmit data (and sample variables) when there is space in an outgoing packet. In most cases this is pretty instantaneous, but it is not guaranteed. The time stamp you get on the python side is when the packet arrives (I think). This means that the time stamp probably is pretty accurate, but the sample rate is possibly not very p…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@suvansh
Comment options

Answer selected by suvansh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment