duckietown / gym-duckietown

Self-driving car simulator for the Duckietown universe
http://duckietown.org
Other
52 stars 19 forks source link

In exercises/basic_control.py: 'DuckietownEnv' object has no attribute 'get_lane_pos' #161

Closed maivincent closed 5 years ago

maivincent commented 5 years ago

As written in the title:

Running exerices/basic_control.py leads to :

Traceback (most recent call last): File "basic_control.py", line 37, in <module> lane_pose = env.get_lane_pos(env.cur_pos, env.cur_angle) AttributeError: 'DuckietownEnv' object has no attribute 'get_lane_pos' From what I understood, it should be get_lane_pos2 instead.

maivincent commented 5 years ago

I confirm that changing get_lane_pos(...) to get_lane_pos2(...) at line 37 works.

bhairavmehta95 commented 5 years ago

Ok, thanks!