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

Suggestion to make installation easier #5

Closed
OlgerSiebinga opened this issue Oct 1, 2021 · 3 comments
Closed

Suggestion to make installation easier #5

OlgerSiebinga opened this issue Oct 1, 2021 · 3 comments

Comments

@OlgerSiebinga
Copy link

I was wondering why you have the following remark block in your installation instructions:
image

I think it would be easier to add those two packages to the file requirements_klampt.txt. That way they'll be installed automatically, it saves the user an extra action. Or is there any reason I'm missing why that shouldn't be done?

@OlgerSiebinga
Copy link
Author

@soraxas
Copy link
Owner

soraxas commented Oct 2, 2021

The reason is because it is not a strict requirement for using the klamp backend (and it is also how klampt suggests their user for installation).

Opengl/pyqt are only used for visualisation, and they are not required for using sbp-env without visualisation. You can use that backend if you simply need to run it headlessly (e.g. benchmark on a server)

For example, if you invoke

python main.py rrt klampt_data/tx90blocks.xml --engine klampt

it will complain

...
    from OpenGL import GL
ModuleNotFoundError: No module named 'OpenGL'

However, you can run experiment headlessly with

python main.py rrt klampt_data/tx90blocks.xml --engine klampt --no-display start 0,0,0,0,0,0 goal 1,1,1,1,1,1

which does not require opengl or pyqt

@OlgerSiebinga
Copy link
Author

Alright, that sounds good to me!

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

2 participants