Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS topic rates are very very low #2638

Closed
brytsknguyen opened this issue Apr 30, 2020 · 2 comments
Closed

ROS topic rates are very very low #2638

brytsknguyen opened this issue Apr 30, 2020 · 2 comments

Comments

@brytsknguyen
Copy link

Hi all,

I am trying to run the first AirSim tutorial and is encountering very low topic rates.

My setup is as follows:
+Ubuntu 18.04
+Intel® Core™ i7-9750H CPU @ 2.60GHz × 12
+GeForce RTX 2080 with Max-Q Design/PCIe/SSE2
+nvidia-driver-440
+Linux 5.3.0-51-generic
+ROS melodic

So after starting the Blocks binary I launched the ros node and found that all topics have very low rates for all of the topics. Below is a screenshot of the terminal when I run rostopic hz /airsim_node/drone_1/lidar/LidarCustom:

Screenshot from 2020-04-30 10-26-31

The CPU usage is pretty normal, please see below:
image

I wonder where the issue is? Could it be because of the setup? Should I downgrade to Ubuntu 16.04 or use docker?

Thanks in advance!

@rajat2004
Copy link
Contributor

There's currently a bug in the release in Lidar where DrawDebugPoints if True will drop the FPS like anything. A fix (#2614) has been merged in master
Try setting DrawDebugPoints to False in the settings and see if it improves

@brytsknguyen
Copy link
Author

brytsknguyen commented Apr 30, 2020

Thanks! After setting the parameter to false I can get 5Hz of img, 25Hz of lidar and 30Hz of IMU. I think the issue can be closed. Will check (#2369) for customizing the rate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants