Unable to echo accelerometer data from /crazyflie/imu topic

Discussions about all things Bitcraze
Post Reply
kashishdhal
Beginner
Posts: 7
Joined: Sun Apr 12, 2020 10:49 pm

Unable to echo accelerometer data from /crazyflie/imu topic

Post by kashishdhal »

Hello Community,

I am using hover_vicon.launch to hover the crazyflie using vicon data and I am successfully able to hover it to the desired location. However, when I try to echo the rostopics such as /crazyflie/imu, /crazyflie/battery, and others, I do not get any data.

I have asked this question previously in github here: https://github.com/whoenig/crazyflie_ros/issues/176 but didn't get much help.

Whoenig asked me to set enable_logging to True but after doing that I am not even able to launch the crazyserver. Please help!

Regards,
Kashish Dhal
kimberly
Bitcraze
Posts: 521
Joined: Fri Jul 06, 2018 11:13 am

Re: Unable to echo accelerometer data from /crazyflie/imu topic

Post by kimberly »

Hi,

So we are not the ones who are maintaining the ROS package, but it is unfortunate that you are having this problem. Before we can help you and try to recreat your problem, we need more information:
  • Which Operating system are you using and which version?
  • Is the crazyflie updated to the latest firmware?
  • Have you changed anything yourself to the code or the launch file?
  • Are you using a crazyflie 2.0 or 2.1?
whoenig
Expert
Posts: 327
Joined: Mon Oct 27, 2014 2:55 am

Re: Unable to echo accelerometer data from /crazyflie/imu topic

Post by whoenig »

I updated the github issue with some feedback. I am very sorry for the long delay!
kashishdhal
Beginner
Posts: 7
Joined: Sun Apr 12, 2020 10:49 pm

Re: Unable to echo accelerometer data from /crazyflie/imu topic

Post by kashishdhal »

Hello,

I am sorry that I did not get notification for the replies here. This issue is now resolved by whoenig in the same github link that is attached in the first message.

Regards,
Kashish Dhal
kashishdhal
Beginner
Posts: 7
Joined: Sun Apr 12, 2020 10:49 pm

Re: Unable to echo accelerometer data from /crazyflie/imu topic

Post by kashishdhal »

I would like to know how do I get emails for the replies on my posts here. Can someone help?
kristoffer
Bitcraze
Posts: 322
Joined: Tue Jun 30, 2015 7:47 am

Re: Unable to echo accelerometer data from /crazyflie/imu topic

Post by kristoffer »

There is an icon at the top of the forum with a question mark and the text "FAQ" with information on how to use the forum. app.php/help/faq
kashishdhal
Beginner
Posts: 7
Joined: Sun Apr 12, 2020 10:49 pm

Re: Unable to echo accelerometer data from /crazyflie/imu topic

Post by kashishdhal »

Hello ,

I am not able to see the orientation and covariance data in ROS IMU topic. Is it not getting published through radio? Is it disabled in the firmware?

The issue is created here:
https://github.com/whoenig/crazyflie_ros/issues/182

Regards,
Kashish Dhal
Post Reply