-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
Question
What's your question?
Hello everyone,
I'm using the Unreal Plugin of Airsim in combination with ROS to record a rosbag with the drone.
Since I have a very low frame rate in ROS, I would like to increase it reducing the parameter "ClockSpeed" in settings.json.
After this setting, I effectively noticed that the simulator speed has become slower, but in ROS I continue to record with the old frame rate.
There are some parameters to set also in ROS that I have missed?
Include context on what you are trying to achieve
I would like to record a rosbag with the AirSim drone at 20fps for each camera.
Context details
Include details of what you already did to find answers
I'm using the "NoDisplay" mode in the settings.json and, with a clock speed of 1.0, I can obtain 10 fps.
Consequntly, I set the clock speed to 0.5, but I continue to get 10 fps while recording the rosbag.
In the launch file, I have setted the "update_airsim_img_response_every_n_sec" at 0.01.
Can someone explain how to use the parameter "ClockSpeed" to get a higher frame rate in ROS?
Thank you for your support,
GF