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

__main__.py should check for gepetto-gui #16

Open
nim65s opened this issue Apr 2, 2020 · 5 comments
Open

__main__.py should check for gepetto-gui #16

nim65s opened this issue Apr 2, 2020 · 5 comments
Assignees

Comments

@nim65s
Copy link
Member

nim65s commented Apr 2, 2020

And if gepetto-gui is not found, it should launch it.

But this behavior could be implemented at the gepetto-viewer / gepetto-viewer-corba level.

Maybe we should consider other viewers too…

@wxmerkt
Copy link
Contributor

wxmerkt commented Apr 26, 2020

Not sure we want this in this repository? I think it would be better to handle this at the gepetto-viewer level to avoid adding an assumption and dependency on a package providing URDFs+meshes.

@cmastalli
Copy link
Collaborator

What do you mean with check?

Additionally this repository uses Gepetto viewer for quick visualization to interested users. I don't think we need to support other viewers (just to make easier maintenance).

@nim65s
Copy link
Member Author

nim65s commented Apr 27, 2020

@wxmerkt : I think we should add this in gepetto-viewer, and then test that it works well here.

@cmastalli : I mean

╰─>$ python -m example_robot_data solo
/usr/lib/python3.8/site-packages/pinocchio/robot_wrapper.py:230: UserWarning: Error while starting the viewer client.
Check whether gepetto-viewer is properly started
  self.viz.initViewer(*args, **kwargs)

This could launch gepetto-gui, instead of showing an error that doesn't actually display the right name of the binary the user should launch.

@nim65s nim65s self-assigned this Mar 10, 2021
@hjw-1014
Copy link

Hi, @nim65s . I also wanna check how to launch gepetto-gui. I tried the same thing as you mentioned:

huangjiawei@huangjiawei-Ubuntu:/opt/openrobots/share$ python3 -m example_robot_data solo
/opt/openrobots/lib/python3.6/site-packages/pinocchio/robot_wrapper.py:272: UserWarning: Error while starting the viewer client.
Check whether gepetto-viewer is properly started
  self.viz.initViewer(*args, **kwargs)

Cam this be solved? Thanks in advance.

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

No branches or pull requests

4 participants