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

Call destroy functions for all sensors, fix depth cam bug #790

Closed
wants to merge 18 commits into from

Conversation

pengzhenghao
Copy link
Member

@pengzhenghao pengzhenghao commented Dec 16, 2024

What changes do you make in this PR?

  • Please describe why you create this PR

We will resolve #709 if the test passes here.

Checklist

  • I have merged the latest main branch into current branch.
  • I have run bash scripts/format.sh before merging.
  • Please use "squash and merge" mode.

@pengzhenghao pengzhenghao enabled auto-merge (squash) December 16, 2024 22:05
@pengzhenghao
Copy link
Member Author

@QuanyiLi Any idea on the failed test here? Seems sth from engine

@pengzhenghao
Copy link
Member Author

My guess is env.close() can't safely process a previously used depth cam.

@pengzhenghao
Copy link
Member Author

Same issue here: #709 (comment)

@pengzhenghao pengzhenghao changed the title Add SimGen example Call destroy functions for all sensors, fix mem leak and depth cam bug Dec 17, 2024
# Conflicts:
#	metadrive/tests/test_sensors/test_simgen.py
@pengzhenghao pengzhenghao changed the title Call destroy functions for all sensors, fix mem leak and depth cam bug Call destroy functions for all sensors, fix depth cam bug Dec 17, 2024
@pengzhenghao
Copy link
Member Author

Seems caused by the github CI server's wierd GPU setting (some posts say you can't run it with integrated GPU).

I don't want to waste time investigating this if it works in my PC and headless remote server.

@pengzhenghao
Copy link
Member Author

auto-merge was automatically disabled December 17, 2024 20:47

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

verify_headless_installation fails
1 participant