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

There is a problem with the OpenScenario scene file .xosc exported by 51Sim-one software! ! #1108

Open
Xiaowuzjj opened this issue Aug 27, 2024 · 1 comment

Comments

@Xiaowuzjj
Copy link

python scenario_runner.py --openscenario srunner/examples/test2.xosc

Traceback (most recent call last):
File "/home/uu/CARLA/CARLA_0.9.14/scenario_runner/scenario_runner.py", line 651, in main
result = scenario_runner.run()
File "/home/uu/CARLA/CARLA_0.9.14/scenario_runner/scenario_runner.py", line 545, in run
result = self._run_openscenario()
File "/home/uu/CARLA/CARLA_0.9.14/scenario_runner/scenario_runner.py", line 515, in _run_openscenario
config = OpenScenarioConfiguration(self._args.openscenario, self.client, openscenario_params)
File "/home/uu/CARLA/CARLA_0.9.14/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py", line 63, in init
self._parse_openscenario_configuration()
File "/home/uu/CARLA/CARLA_0.9.14/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py", line 91, in _parse_openscenario_configuration
self._check_version()
File "/home/uu/CARLA/CARLA_0.9.14/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py", line 106, in _check_version
raise AttributeError("Only OpenSCENARIO 1.0 is supported")
AttributeError: Only OpenSCENARIO 1.0 is supported

@starrye
Copy link
Contributor

starrye commented Nov 4, 2024

Change your xosc by adding a line above <ParameterDeclarations/>, <FileHeader revMajor="1" revMinor="0" date="2024-05-20T10:00:00" description=“xxe" author="xx."/> or Comment out this lineself._check_version()

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