ROS Crazyflie Server Timeout (Received unrequested data for block)
Posted: Fri Nov 08, 2019 10:03 pm
Hi everyone,
I have a setup of 5 Crazyflies where I am trying to perform the simple action of printing each Crazyflie's battery percentage to the console. I am currently using one Crazyradio on channel 80 with the 5 different Crazyflies on different addresses at a data rate of 2 Mbps. In order to track the Crazyflies' battery percentage, I either set the parameter 'enable_logging_battery' or 'enable_logging' to true in the launch file. This will always work upon restart of all the Crazyflies. Then, I press 'CTRL-C' to end the launch file, and when I run the script again, I am getting a lot of warnings that say "Received unrequested data for block: 0". After receiving too many of these warnings, the script terminates with a runtime error of timeout, and subsequently, the crazyflie_server node dies. I have attached my launch file, and here is the error shown in the console. Could anyone explain why this might be happening, or how I can get each Crazyflie's battery percentage without running into this error? Any help would be greatly appreciated.
Thank you,
Chris
I have a setup of 5 Crazyflies where I am trying to perform the simple action of printing each Crazyflie's battery percentage to the console. I am currently using one Crazyradio on channel 80 with the 5 different Crazyflies on different addresses at a data rate of 2 Mbps. In order to track the Crazyflies' battery percentage, I either set the parameter 'enable_logging_battery' or 'enable_logging' to true in the launch file. This will always work upon restart of all the Crazyflies. Then, I press 'CTRL-C' to end the launch file, and when I run the script again, I am getting a lot of warnings that say "Received unrequested data for block: 0". After receiving too many of these warnings, the script terminates with a runtime error of timeout, and subsequently, the crazyflie_server node dies. I have attached my launch file, and here is the error shown in the console. Could anyone explain why this might be happening, or how I can get each Crazyflie's battery percentage without running into this error? Any help would be greatly appreciated.
Thank you,
Chris