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

Save manual control actions #403

Closed
tingtingLiuLiu opened this issue Dec 28, 2022 · 1 comment
Closed

Save manual control actions #403

tingtingLiuLiu opened this issue Dec 28, 2022 · 1 comment

Comments

@tingtingLiuLiu
Copy link

Hello, author! I have a question. when i set the manual control is true, i would like to record discrete actions. How can I do this please? I look forward to your reply!

@eleurent
Copy link
Collaborator

eleurent commented Jan 14, 2023

Hi! This is not supported at the moment, but here is where the discrete actions are handled with manual control:

https://github.com/eleurent/highway-env/blob/3f569cfa766b454d545fcf048be3f7fb46f8a11a/highway_env/envs/common/graphics.py#L178

You can edit this code to save the actions, e.g. in some global variable.

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