Page 1 of 1
ZMQ Question
Posted: Wed Dec 13, 2017 2:45 pm
by RDajay
How do I enable ZMQ for my crazyflie? I've edited the config.json file to enable ZMQ input, but everytime I ran cfclient it shows this message
Aside from that, I can't configure the input device as it does not show the ZMQ input.
Re: ZMQ Question
Posted: Thu Dec 14, 2017 9:10 am
by marcus
It seems as if the ZMQ input us still disabled. Could you try going though the following steps?
- Start the cfclient and select Settings -> Open config folder
- Look in the config folder and find config.json. Close the client first then edit the config.json file to enable ZMQ input:
- Now restart the client and look in the Input device -> Device menu, you should now see one entry that is ZMQ@tcp://127.0.0.1:1212
The ZMQ input device cannot be configured in the client, you have to adjust the values before sending them to the client. Have a look at
this example where you can see what data to send.
Re: ZMQ Question
Posted: Sat Dec 16, 2017 10:05 am
by RDajay
Thanks, its working now
Re: ZMQ Question
Posted: Sat Dec 16, 2017 12:00 pm
by RDajay
Is it possible to control multiple quad through this method?
Re: ZMQ Question
Posted: Mon Dec 18, 2017 12:18 pm
by marcus
Great! Unfortunately not, the client can only be used for one Crazyflie at a time. If you would like to control multiple then you can either use ROS or have a look at
this or
this example in the Python library.