Hello, i worked those days of c++ crazyflie client. i compile all the sources under windows. and i generate the programme, but i have a problem with the communication between the radio dangle and the crazyflie.
When i start the program, the terminal show me just the version of the dangle i can't read the value of sensor. the led in the radio dangle is red. i think the radio dangle must be green.
what is the function that enable communication between the radio dangle and the drone.
i used the sampel exemple of the source code of https://github.com/fairlight1337/libcflie
please help.
Communication between the crazyflie and the dangle
Re: Communication between the crazyflie and the dangle
I also had some issues using different channels and speed than what is defined in 'CrazyRadio.cpp'
try finding these two lines
this->setDataRate("2M");
this->setChannel(2);
change them to what you need and also select the same
in CCrazyRadio *crRadio = new CCrazyRadio("radio://0/10/250K");
that worked for me
try finding these two lines
this->setDataRate("2M");
this->setChannel(2);
change them to what you need and also select the same
in CCrazyRadio *crRadio = new CCrazyRadio("radio://0/10/250K");
that worked for me
Re: Communication between the crazyflie and the dangle
..
Last edited by Peter on Wed Oct 07, 2015 1:22 pm, edited 1 time in total.
Re: Communication between the crazyflie and the dangle
I changed the value from CCrazyRadio *crRadio = new CCrazyRadio("radio://0/10/250K"); to CCrazyRadio *crRadio = new CCrazyRadio("radio://2/10/2M"); and i did this->setDataRate("2M");this->setChannel(2);
But no communication the led of the dangle still red, can you help me please.
But no communication the led of the dangle still red, can you help me please.
Re: Communication between the crazyflie and the dangle
You should change it to CCrazyRadio("radio://0/10/2M"). But else I don't know where a problem might be.