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

How to change the publishing rate of airsim_node ? #2131

Closed
jzstudent opened this issue Aug 9, 2019 · 5 comments
Closed

How to change the publishing rate of airsim_node ? #2131

jzstudent opened this issue Aug 9, 2019 · 5 comments
Labels

Comments

@jzstudent
Copy link

jzstudent commented Aug 9, 2019


Hi,
when I used the ros package ( airsim_ros_pkgs ) to publish the image or depth image, I found that the rate is only 0.6! How to improve it?
I have already changed the publish_to_ros in .json, but it seems to be useless. Maybe the reason is that simgetImage() is slow, how can I slove it?

@saihv
Copy link
Contributor

saihv commented Jan 20, 2020

What image resolution are you using?

@Omar-Elmofty
Copy link

I have the same question, was anyone able to figure out how to change the publishing rate?

@GimpelZhang
Copy link
Contributor

GimpelZhang commented May 26, 2020

I have the same question, was anyone able to figure out how to change the publishing rate?

First please check if the "update_airsim_img_response_every_n_sec" parameter has been tuned.

If the publishing rate is limited by the computer performance, maybe changing the ClockSpeed setting to a less than one number is a solution.

I have tested that slower simulation would produce denser image response.

Related discussion in #2369

@jzstudent
Copy link
Author

I have the same question, was anyone able to figure out how to change the publishing rate?

Hi, I've tried to set "ViewMode": "NoDisplay" in .json, it makes the rate improve and I 've already slove it.

@Omar-Elmofty
Copy link

Thanks! The NoDisplay mode helped a lot, also slowing down the simulation helps.

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

No branches or pull requests

6 participants