ucla-mobility / OpenCDA

A generalized framework for prototyping full-stack cooperative driving automation applications under CARLA+SUMO.
Other
1.01k stars 198 forks source link

opencda.py: error: unrecognized arguments: -v 0.9.12 #130

Closed Sei2112 closed 3 years ago

Sei2112 commented 3 years ago

Hi, when I changed my carla version this error occurred. Is there any mistake in my command?

(opencda) anyu@anyu_2019:~/OpenCDA$ python opencda.py -t single_2lanefree_carla -v 0.9.12
usage: opencda.py [-h] -t TEST_SCENARIO [--record] [--apply_ml]
opencda.py: error: unrecognized arguments: -v 0.9.12
DerrickXuNu commented 3 years ago

Hi, are you using main branch? -v arguments right now only work in develop branch and it will be merged to the main branch in 2 days.

Sei2112 commented 3 years ago

Hi, are you using main branch? -v arguments right now only work in develop branch and it will be merged to the main branch in 2 days.

yeah I'm using the main branch. So do I need to change the carla version since the default version is 0.9.11 while I'm using 0.9.12 ?

DerrickXuNu commented 3 years ago

No, you can use the develop branch. Just do the following command: git fetch git checkout develop git pull origin develop

Sei2112 commented 3 years ago

Hi, are you using main branch? -v arguments right now only work in develop branch and it will be merged to the main branch in 2 days.

yeah I'm using the main branch. So do I need to change the carla version since the default version is 0.9.11 while I'm using 0.9.12 ?

No, you can use the develop branch. Just do the following command: git fetch git checkout develop git pull origin develop

Thanks. I'd give a try !