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

Fix panda3d installation and example #1183

Merged
merged 4 commits into from
Apr 25, 2020

Conversation

cmastalli
Copy link
Member

The title is self-explanatory :)

@jcarpent jcarpent merged commit 8f97fda into stack-of-tasks:master Apr 25, 2020
@cmastalli cmastalli deleted the topic/fix-panda3d-stuff branch April 27, 2020 15:15
Copy link
Member Author

@cmastalli cmastalli left a comment

Choose a reason for hiding this comment

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

Panda3d viewer is broken.

@@ -121,3 +117,5 @@ def displayVisuals(self, visibility):
"""Set whether to display visual objects or not."""
self.viewer.show_group(self.visual_group, visibility)
self.display_visuals = visibility

__all__ = ['Panda3dVisualizer']
Copy link
Member Author

@cmastalli cmastalli Apr 28, 2020

Choose a reason for hiding this comment

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

@jcarpent removing Panda3dViewer from __all__ breaks the examples written in Pinocchio.

I am not familiar with the code, but it seems we need to put back the previous __all___ definition.

Copy link
Contributor

Choose a reason for hiding this comment

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

@cmastalli @ikalevatykh The changes are relevant, as panda3d_viewer may not be available. Then, you cannot import the lib, otherwise, you will get an error.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jcarpent Original variant was also OK as panda3d_visualize was not imported in visualize. _import_. Just to clarify

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

Successfully merging this pull request may close these issues.

None yet

4 participants