Zagitta / CrazySharp

C# client library for the crazyflie quadcopter
GNU General Public License v2.0
1 stars 0 forks source link

Not working #1

Open JooVaa opened 9 years ago

JooVaa commented 9 years ago

Hi, im trying to use your code, but cant get it to work. It stops her: private InfoReply GetInfo() { Reset();

        _radio.EnqueueSend(CRTPLog.GetTableOfContent);

        InfoReply reply;

        //busy wait for response

--> while (_infoReplies.TryDequeue(out reply) == false) {}

        return reply;
    }

Inside of this : var toc = log.GetTableOfContent(); So the copter is not answering? Or?

Can you pleas help mee. Thanks.

Zagitta commented 9 years ago

Apparently I completely missed this message, sorry about that. I don't know if it's still relevant to you but to answer you question, it could be an issue with the copter not responding but looking at https://wiki.bitcraze.io/projects:crazyflie:firmware:comm_protocol and CRTPResponse.cs it seems the protocol has changed a bit since this code was written. I don't have access to a crazyflie anymore since this was written in relation to a university project so sadly I cannot help you further.