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

state image error when running with real data (comes after a while) #8

Closed
mbhenaff opened this issue Mar 16, 2018 · 1 comment
Closed
Assignees

Comments

@mbhenaff
Copy link
Contributor

self._states_image.append(self._get_observation_image(*object_))

File "/home/mbhenaff/projects/pytorch-Traffic-Simulator/traffic_gym.py", line 367, in _get_observation_image
sub_rot_surface = rot_surface.subsurface(x, y, *width_height)
ValueError: subsurface rectangle outside surface area

@Atcold
Copy link
Owner

Atcold commented Mar 16, 2018

Fixed. Car 667 was breaking the simulator (numerical approximation over the current direction).
The devil car 666 is giving troubles now, though...
screenshot 2018-03-16 16 07 21

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