Current progress:
In the past week, I tested the opti-track system streaming function.
Before, after I used opti-track to capture the motion of our flying blimps, I had to manually import the data to a csv file and then process the csv file. This whole process took a very long time since in the csv file, I had to pick the right data by distinguishing the selected markers vs. unlabelled markers vs. rigid bodies.
Right now, I can directly stream the center of the rigid body to another laptop. The following video shows how I did that:
As for the program that I'm currently using, it's in the gitlab: https://github.com/zhz03/Opti-track_data_streaming
Next step:
However, in the real flight test, we cannot simply use the rigid body because the surface of our blimp is not exactly a rigid body and also after some markers of the selected rigid body went out of the range of tracking space, the markers on the previous selected rigid body will then turned into some unlabelled markers. Therefore, our next step is to stream the selected markers instead of a rigid body. For this, I'm still working on right now.
After I can successfully stream the selected markers, I will write another program to plot the live-streamed data directly on another laptop and save those data directly on my laptop.