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
ROS Crazyflie Server Timeout (Received unrequested data for block)
-
cmoney
- Beginner
- Posts: 3
- Joined: Sat Sep 21, 2019 12:47 am
ROS Crazyflie Server Timeout (Received unrequested data for block)
- Attachments
-
- check_all_battery_launch.txt
- (4.21 KiB) Downloaded 437 times
-
whoenig
- Expert
- Posts: 395
- Joined: Mon Oct 27, 2014 2:55 am
Re: ROS Crazyflie Server Timeout (Received unrequested data for block)
This looks like a bug with respect to an old logging configuration. Could you please open an issue at https://github.com/whoenig/crazyflie_ros/issues?