Hello!
I'm trying to connect Crazyflie to LabView. Specifically, I need to receive telemetry (roll, pitch, yaw, thrust) from Crazyflie in Labview VI as float numbers. Unfortunately, as far as I have never worked with protocols, it's very complicated to understand how to realize such work. I found a very close forum topic: viewtopic.php?f=9&t=3137&p=15327&hilit=labview#p15327
But it is still not clear where I should start.
Please, any help would be greatly appreciated.
Labview connection
Re: Labview connection
Hi,
The easiest to connect Labview to the Crazyflie would be to use the ZMQ client and a ZMQ library in labview, this way you can use high-level commands to connect and get value from the Crazyflie without having to care about the low level communication protocol.
On a computer where the Crazyflie client is installed, you can launch the zmq client with "python3 -m cfzmq". The documentation for the protocol is on the wiki: https://wiki.bitcraze.io/doc:crazyflie: ... fzmq:index. And you can find example of how to use it in python and C in github: https://github.com/bitcraze/crazyflie-c ... r/examples
Unfortunatly I do not have Labview so I cannot provide examples in labview directly, though the existing examples and doc should allow you to get started.
The easiest to connect Labview to the Crazyflie would be to use the ZMQ client and a ZMQ library in labview, this way you can use high-level commands to connect and get value from the Crazyflie without having to care about the low level communication protocol.
On a computer where the Crazyflie client is installed, you can launch the zmq client with "python3 -m cfzmq". The documentation for the protocol is on the wiki: https://wiki.bitcraze.io/doc:crazyflie: ... fzmq:index. And you can find example of how to use it in python and C in github: https://github.com/bitcraze/crazyflie-c ... r/examples
Unfortunatly I do not have Labview so I cannot provide examples in labview directly, though the existing examples and doc should allow you to get started.