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

python api calling camera capture in loop raise a breakpoint #3032

Open
Huibean opened this issue Sep 21, 2020 · 4 comments
Open

python api calling camera capture in loop raise a breakpoint #3032

Huibean opened this issue Sep 21, 2020 · 4 comments

Comments

@Huibean
Copy link

Huibean commented Sep 21, 2020

Windows 10 platform
while get camera view in loop it raise a breakpoint in Visual Studio

while True:
        responses = client.simGetImages([airsim.ImageRequest(0, airsim.ImageType.Scene, False, False)])
        response = responses[0]
        img1d = np.frombuffer(response.image_data_uint8, dtype=np.uint8) 
        frame = img1d.reshape(response.height, response.width, 3)

image

@jonyMarino
Copy link
Collaborator

Do you mean an exception?
A breakpoint is not raised unless you set it

@Huibean
Copy link
Author

Huibean commented Sep 22, 2020

Hi @jonyMarino Thanks for you reply, sorry I am not familiar with visual studio, but I haven't change anything, it's like an exception but the visual studio it's a breakpoint

@rajat2004
Copy link
Contributor

You could perhaps try out #3064, the changes which it reverts might be causing the crash

@jonyMarino jonyMarino added bug and removed question labels Oct 13, 2020
@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

3 participants