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

"Take Automation Screenshot at Camera" BP function does not save images #1281

Open
delphifissure opened this issue Jul 24, 2018 · 5 comments

Comments

@delphifissure
Copy link

I'm looking to use UE's native capture methods, highres captures taken with the API creates performance issues that throw off the execution of the flight plan.

I created a clean project, added a camera that follows the drone, and referenced it and its options with the "Take Automation Screenshot at Camera" BP function.

At play, "High resolution screenshot saved as E:/Github/Airsim/Projectname/Saved/Screenshots/Windows/HighResScreenshot000000.png" is printed over and over and over, but no images save, not even "HighResScreenshot000000.png".

This is the same issue referenced at https://answers.unrealengine.com/questions/725935/why-doesnt-my-screenshot-save.html. The workaround found there (running the screenshot command directly from console) works fine, but not from the specified camera position.

@oppne
Copy link

oppne commented Jul 24, 2018

Okay, so this is what i did
I made a camera, and i possesed it. This way the execute console command with screenshot works fine

@delphifissure
Copy link
Author

@oppne Cool, my workaround was to use "Set View Target with Blend" and run the console command.

@sytelus
Copy link
Contributor

sytelus commented Oct 17, 2018

Could you please post code and screenshop of BP? Or even better - send pull request?

@delphifissure
Copy link
Author

delphifissure commented Oct 18, 2018

Here's the BP for "Set View Target with Blend" abd runring the console command at a given frequency. Requires creating a camera childed to the drone. "HighResShot" break the frequency, but "Shot" works fine.

https://blueprintue.com/blueprint/g83b4ubo/

I'd send a pull request but I've got a ton of extra stuff you don't need in the Blocks environment I've been using for testing.

@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.

@stale stale bot added the stale label Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants