Labview connection

Firmware/software/electronics/mechanics
Post Reply
TATYANA_1
Beginner
Posts: 4
Joined: Sat Mar 23, 2019 12:23 pm

Labview connection

Post by TATYANA_1 » Tue Apr 23, 2019 12:43 pm

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.

arnaud
Bitcraze
Posts: 2000
Joined: Tue Feb 06, 2007 12:36 pm

Re: Labview connection

Post by arnaud » Tue Apr 23, 2019 1:30 pm

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.

Post Reply