AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Low FPS capturing while not using resources

Open reza-shahriari opened this issue 7 months ago • 1 comments

Bug report

  • AirSim Version/#commit: Colosseum
  • UE/Unity version: UE 5.27
  • autopilot version: -
  • OS Version: windows 10

What's the issue you encountered?

Settings

setting Gist

How can the issue be reproduced?

Hi i am using Airsim to simulate drones(actually tow drones in an env) everything works well but the problem is when i capture images from the camera. i have a simple environment and a strong computer but arisim capturing about 5 images per second while i need at least 30! not many resources are in use while running the project and capturing data: 2024-07-20_17-12-51

i dont know how i can improve the performance of the airsim! i used NoDisplay, changed SubWindows, and turned them off I also tested Python API but all are slow. i know i can add some sleep to my code then i can get the fps i wanted but for capturing a 10min video i should spend 60min then!

i have tested some other way to capture images from unreal. i mean just screenshotting or using a custom camera and rendering its view. both worked real time for me! and both were using more resources. i was trying to change this code to a faster way or at least make it just screenshotting to see if it works but did not work at all:(

do you have this problem too? Has anyone solved it? thank,

reza-shahriari avatar Jul 20 '24 13:07 reza-shahriari