Page 1 of 1

what(): timeout error ROS stack for Bitcraze Crazyflie

Posted: Wed Jun 13, 2018 2:06 pm
by flavia1394
Good morning, I'm using the ROS stack for Bitcraze Crazyflie, with ROS Indigo and Ubuntu 14.04.
I would like to display the imu sensors with the command:

Code: Select all

rostopic echo /crazyflie/imu
The crazyflie server appears in the rosnode list, but if I run any example I have a what() : timeout error:

Code: Select all

roslaunch crazyflie_demo customLogBlocks.launch uri:=radio://0/80/250K
and this is the output:
Schermata 2018-06-12 alle 11.25.02 AM.png
Now there are some topics in the rostopic list:
Schermata 2018-06-12 alle 11.25.20 AM.png
but when I write:

Code: Select all

rostopic echo /crazyflie/imu
nothing happens:
Schermata 2018-06-12 alle 11.26.11 AM.png
Can you help me?

Re: what(): timeout error ROS stack for Bitcraze Crazyflie

Posted: Wed Jun 13, 2018 7:11 pm
by whoenig
That usually means that it couldn't successfully connect. Please double check your uri, also by running

Code: Select all

rosrun crazyflie_tools scan

Re: what(): timeout error ROS stack for Bitcraze Crazyflie

Posted: Wed Jun 13, 2018 7:59 pm
by flavia1394
whoenig wrote: Wed Jun 13, 2018 7:11 pm That usually means that it couldn't successfully connect. Please double check your uri, also by running

Code: Select all

rosrun crazyflie_tools scan
Thak you for your answer, I found out that the uri of the file did not corresponded to the uri of the crazyflie, so I modified the launch file with gedit.
And now it works!!!! :D