Skip to content

add try catch to solve the problem 'NoSuchConfiException' in virtual screen#148

Open
ZhuShaoQiang wants to merge 1 commit intof1tenth:mainfrom
ZhuShaoQiang:main
Open

add try catch to solve the problem 'NoSuchConfiException' in virtual screen#148
ZhuShaoQiang wants to merge 1 commit intof1tenth:mainfrom
ZhuShaoQiang:main

Conversation

@ZhuShaoQiang
Copy link
Copy Markdown

If we use a system without desktop, and run the script in examples, it will raise an exception: "NoSuchConfigException"
(In file f1tenth_gym/gym/f110_gym/envs/rendering.py, conf = Config(sample_buffers........)
and this PR will fix this, just use a default config so we can use the virtual screen by setting DISPLAY=:0

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.

1 participant