-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Bug report
- AirSim Version/#commit: v1.5.0-windows (also seen in 1.6.0)
- UE/Unity version: Unreal 4.25 (also seen in 4.26)
- autopilot version: SimpleFlight (Also seen with PX4 SITL)
- OS Version: Windows version 1809
What's the issue you encountered?
As I brought up in Issue #3291, when taking lots of Scene images as one would do for Reinforcement Learning, Unreal Engine generates a breakpoint inside of RenderRequest.cpp and crashes the simulator.
Settings
Default settingsHow can the issue be reproduced?
- Download and Build AirSim and the default Blocks environment.
- Change the image request in the init function of drone_env.py from
self.image_request = airsim.ImageRequest( 3, airsim.ImageType.DepthPerspective, True, False )toself.image_request = airsim.ImageRequest( 3, airsim.ImageType.Scene, True, False ) - Inside of transform_obs, change
img2d = np.reshape(img1d, (responses[0].height, responses[0].width))toimg2d = np.reshape(img1d, (responses[0].height, responses[0].width, 3)) - Inside of transform_obs, change
return im_final.reshape([84, 84, 1])toreturn im_final.reshape([84, 84, 3]) - Start Unreal Engine and run dqn_drone.py. Wait for a minute or two for the images to be taken and processed.
Include full error message in text form
UE4Editor-Win64-DebugGame.exe has triggered a breakpoint.
