You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In "openscenario_parse.py", "is_literal function" don't support scientific notation (for example, 1.234+e+01). Therefore, when parsing OpenSCENARIO file which include scientific notations parameter, it cannot parse it.
current parser of regular expression: r"(-)?\d+(.\d)?"
proposed parser of regular expression: r"(-)?\d+(.\d)?((e|E)(+|-)\d+)?"
To Reproduce
Steps to reproduce the behavior:
make OpenSCENARIO file which include scientific notations
run scnario_runner by using above OpenSCENARIO file
Expected behavior
Be able to run scenario by using OpenSCENARIO file including scientific notations
Desktop (please complete the following information):
OS: Windows 10
CARLA 0.9.13
Python version 3.9
Version 0.9.13
The text was updated successfully, but these errors were encountered:
Describe the bug
In "openscenario_parse.py", "is_literal function" don't support scientific notation (for example, 1.234+e+01). Therefore, when parsing OpenSCENARIO file which include scientific notations parameter, it cannot parse it.
current parser of regular expression: r"(-)?\d+(.\d)?"
proposed parser of regular expression: r"(-)?\d+(.\d)?((e|E)(+|-)\d+)?"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Be able to run scenario by using OpenSCENARIO file including scientific notations
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: