Problem with sending commands through ZMQ server (port 2004)

Discussions about all things Bitcraze
Post Reply
Mhdzahd93
Beginner
Posts: 1
Joined: Thu Apr 11, 2019 1:50 pm

Problem with sending commands through ZMQ server (port 2004)

Post by Mhdzahd93 »

Hi,

I am working on controlling the position of the Crazyflie 2.0 (roll, pitch, yaw, and thrust) in Matlab using the ZMQ server.
I am able to scan, connect, and log with the ZMQ server. However, when I try to send roll, pitch, yaw, and thrust commands to the crazyflie, nothing happens. I am the 2004 port for sending the commands. When I send wrong messages the cfzmq shows a response but whenever I send the correct form of a message it does not do anything.

Do I need to set a parameter first before start sending the commands?


Thanks for your time.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Problem with sending commands through ZMQ server (port 2004)

Post by tobias »

It is probably because there is a thrust lock that requires sending 0 thurst once.
Post Reply