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

Scene doesn't change after calling simContinueForTime with a low value #3304

Closed
niekvleeuwen opened this issue Jan 14, 2021 · 0 comments · Fixed by #3305
Closed

Scene doesn't change after calling simContinueForTime with a low value #3304

niekvleeuwen opened this issue Jan 14, 2021 · 0 comments · Fixed by #3305

Comments

@niekvleeuwen
Copy link
Contributor

Bug report

  • AirSim Version: Latest master
  • UE/Unity version: 4.25
  • OS Version: Ubuntu 18.04

I am trying to simulate a 90 FPS camera. To achieve this I'm running the simulation for a short period of time and then retrieving an image.

void update()
{
    // simulate 90 FPS
    client.simContinueForTime(1.0/90);

    // retrieve image
    const std::vector<ImageResponse> &response = client.simGetImages(request);
    
    // process frame
}

When comparing the images before and after calling simContinueForTime, I noticed that the images are the same.

@niekvleeuwen niekvleeuwen changed the title Scene doesn't change after calling simContinueForTime Scene doesn't change after calling simContinueForTime with a low value Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants