I want to send optitrack information to bitcrazeVM

Discussions about all things Bitcraze
Post Reply
hamakko
Beginner
Posts: 8
Joined: Tue Sep 15, 2020 1:02 am

I want to send optitrack information to bitcrazeVM

Post by hamakko »

I try to send optitrack information to bitcrazeVM. However, I don't have much information and I can't do it well. 
Do you have any ideas? Other methods are fine!

tool
・Desktop PC(Receive information on optitrack)(windows)
・laptop(vm is installed)(windows)

・cf2
・crazyradio
・z-ranger deck


I want to read the information of x and y with Optitrack. I want to read z and angle information with the z-ranger and cf2 sensors.
I want to control cf2 with python from the read information.
kimberly
Bitcraze
Posts: 700
Joined: Fri Jul 06, 2018 11:13 am

Re: I want to send optitrack information to bitcrazeVM

Post by kimberly »

You should probably look into OptiTrack NatNet SDK and find a python3 wrapper. If your computer or VM is connected to the same (Wifi) network, you can receive the pose of the rigid body.

Crazyswarm also support optitrack, so maybe its good to look in the documentation: https://crazyswarm.readthedocs.io/en/la ... #optitrack
hamakko
Beginner
Posts: 8
Joined: Tue Sep 15, 2020 1:02 am

Re: I want to send optitrack information to bitcrazeVM

Post by hamakko »

Thank you for your reply!

If I use OptiTrack NatNet SDK, is it possible to send and receive data between the actual PC desktop (physical machine) and Bitcraze VM?
kimberly
Bitcraze
Posts: 700
Joined: Fri Jul 06, 2018 11:13 am

Re: I want to send optitrack information to bitcrazeVM

Post by kimberly »

As long as the PC desktop and the bitcraze VM are on the same network, this should be possible. We have not worked with Optitirack ourselves so probably you would need to go through their documentation a bit to figure it out.
Post Reply