-
Notifications
You must be signed in to change notification settings - Fork 111
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
AttributeError: 'LidarDetection' object has no attribute 'x' #46
Comments
Maybe ur CARLA version like me, is not 0.9.6. |
This problem is that your CARLA version is not 0.9.6, more like 0.9.8 or 0.9.10. |
@xiaowang304 your CARLA version look at not 0.9.6, other version I've solved this problem with this setting: change this line, |
More precisely, in Carla0.9.14, this should be changed to |
I met the same question too,however it's no use for me when I change the code, and my brand is 0.9.13 |
Traceback (most recent call last):
File "C:/Users/wxk/Desktop/saccode/carla/test.py", line 55, in
main()
File "C:/Users/wxk/Desktop/saccode/carla/test.py", line 44, in main
obs = env.reset()
File "C:\Users\wxk\anaconda3\envs\highway\lib\site-packages\gym\wrappers\order_enforcing.py", line 42, in reset
return self.env.reset(**kwargs)
File "C:\Users\wxk\anaconda3\envs\highway\lib\site-packages\gym\wrappers\env_checker.py", line 47, in reset
return passive_env_reset_check(self.env, **kwargs)
File "C:\Users\wxk\anaconda3\envs\highway\lib\site-packages\gym\utils\passive_env_checker.py", line 238, in passive_env_reset_check
result = env.reset(**kwargs)
File "C:\Users\wxk\anaconda3\envs\highway\lib\site-packages\gym_carla-0.0.1-py3.8.egg\gym_carla\envs\carla_env.py", line 255, in reset
File "C:\Users\wxk\anaconda3\envs\highway\lib\site-packages\gym_carla-0.0.1-py3.8.egg\gym_carla\envs\carla_env.py", line 496, in _get_obs
AttributeError: 'LidarDetection' object has no attribute 'x'
The text was updated successfully, but these errors were encountered: