-
Notifications
You must be signed in to change notification settings - Fork 5
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
Example Problem #9
Comments
Set default to |
|
might be |
This example could be added as part of build test in CI. |
Consider using docker image here. This might simplify making it work. |
The error: |
If you run into that problem, you can run without the |
I have tried to reproduce the error in a docker container. |
FROM python:3.7
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y vim
RUN apt-get install -y freeglut3
RUN apt-get install -y dbus-x11
RUN apt-get install -y gedit
RUN apt-get install -y supervisor xinetd x11vnc xvfb openbox xdotool wmctrl x11-utils xterm
RUN apt-get install -y freeglut3-dev freeglut3 libgl1-mesa-dev libglu1-mesa-dev libxext-dev libxt-dev
RUN apt-get install -y python3-opengl libgl1-mesa-glx libglu1-mesa
ENV PYTHONPATH=${PYTHONPATH}:${PWD}
RUN pip3 install poetry
RUN git clone https://github.com/maxspahn/gym_envs_urdf
RUN cd gym_envs_urdf && poetry install -E scenes
# CMD /usr/bin/gedit
# CMD cd gym_envs_planar && poetry run python examples/point_robot.py
CMD cd gym_envs_urdf && poetry run python examples/boxer.py |
|
This last example works very nice! The run_example.sh script contains the following lines: cd gym_envs_planar
poetry run python examples/point_robot.py |
maxspahn/gym_envs_planar#37 |
Thanks for the update. I am currently unable to get this working on a Linux PC (Ubuntu 20.04) as per the steps mentioned in the README in the PR. It could be because of some internal settings or permissions. Upon running the container, the GUI window appears momentarily and closes down immediately; I see the following error.
I tried to look up about the error on the internet but couldn't fix it. |
When running the example in a fresh install some dependencies are missing:
gnuplot
Library GLU option
Also, some error in the documentation:
pdbplanner
must be replaced withpdplanner
.The text was updated successfully, but these errors were encountered: