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

Camera Instance Object #170

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Camera Instance Object #170

merged 3 commits into from
Nov 11, 2024

Conversation

thisjustin123
Copy link
Collaborator

Description:

As documented in #168, the camera was not able to be cloned.

Solution:

The camera was not marked as addressable in the unity project, so it was unable to be loaded. I added it as addressable and make a few small tweaks to the unity code to make it more readable.

Testing:

Adds a test case to ensure camera info is read correctly after instancing.

pyrcareworld/pyrcareworld/envs/base_env.py Outdated Show resolved Hide resolved
tests/test_bathing_env.py Outdated Show resolved Hide resolved
Copy link
Member

@YoruCathy YoruCathy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to merge.

@YoruCathy YoruCathy merged commit 78452cc into phy-robo-care Nov 11, 2024
1 check passed
@thisjustin123 thisjustin123 deleted the justin/camera-instance branch November 13, 2024 16:56
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.

2 participants