Open klebermc opened 4 years ago
This is definitely a supported combination. Two things come to mind: 1) You seem to run a fairly old firmware version. I am not sure when the getDeviceTypeName query was added in the firmware (the CRTP protocol is not in particular version-safe, unfortunately). Can you see if updating your STM and NRF firmwares resolves your problem? 2) Try disabling safelink, here: https://github.com/whoenig/crazyflie_cpp/blob/master/include/crazyflie_cpp/Crazyflie.h#L15, recompile and test again.
Hello I am trying to use your library to connect my Ubuntu 18.04 machine to my Crazyflie 2.0, using a Crazyradio PA (firmware version 0.53).
My first question would be: is your library ready to work with that setup?
I will try to describe the problem that I am facing, maybe you can help me with some ideas about what is wrong.
I am facing an issue when I try to declare a new Crazyflie object. And what I could understand is that this will create a Crazyflie object, which will create a Crazyradio object. In my main.cpp code I have:
I took the liberty to insert some prints in the code, just to understand what is happening. The output was the following:
It looks like the command sent in Crazyradio.cpp -> setAddress(uint64_t address),
was not sucessfull (even with address being equal to 0xE7E7E7E7E7).
Also, the call Crazyflie.cpp -> getDeviceTypeName() times out.
Do you have any idea what might be happening? And also why the only request that fails to be sent to the radio is "SET_RADIO_ADDRESS (0x02)"?
Thank you very much