DriveML Huawei Autonomous Vehicles Challenge Forum

Go back to competition Back to thread list Post in this thread

> download the public datasets error

Hi
When running the command
env = gym.make('gym_hiway:hiway-competition-v0', config={'sumo_scenario': SumoScenario('../dataset_public/3lane')})
There is an error:
File "/Users/aaron/anaconda3/envs/py3/lib/python3.6/site-packages/hiway/waypoints.py", line 330, in _shape_waypoints_along_lane lane_width=lane.getWidth(),
AttributeError: 'Lane' object has no attribute 'getWidth'
I download these files on 4 Nov.
Shall I modify something in the file?

Posted by: Team136 @ Nov. 5, 2019, 12:02 a.m.

Hello! It looks like you are running an older version of SUMO, can you share the output of:

$SUMO_HOME/bin/sumo --version

Please upgrade to at least SUMO 1.2.1, if the package is available on your OS, SUMO 1.3.1 is preferred. The SUMO developers have improved the stability of the system in the latest 1.3.1 release.

Posted by: HuaweiUK @ Nov. 5, 2019, 12:37 a.m.

when I run " SUMO_HOME/bin/sumo --version", the result is ad follow:

SUMO_HOME/bin/sumo: No such file or directory

Posted by: Team136 @ Nov. 7, 2019, 1:22 p.m.

Just double checking, but are you putting a `$` in front of the `SUMO_HOME` variable when running the command? i.e. in you terminal, it should look like

```
user@computer$ $SUMO_HOME/bin/sumo --version
```

Posted by: HuaweiUK @ Nov. 9, 2019, 1:39 p.m.
Post in this thread