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

OpenSCENARIO 2.0 questions #1084

Open
yarinr25 opened this issue May 29, 2024 · 3 comments
Open

OpenSCENARIO 2.0 questions #1084

yarinr25 opened this issue May 29, 2024 · 3 comments

Comments

@yarinr25
Copy link

hey everyone I have some questions about using OpenSCENARIO 2.0

  1. Is it not possible to use the standard.osc file from the Asam documentation?
  2. I saw that there are limitations when writing osc scenarios, there is documentation that summarizes what can be written and what not?
  3. Is it possible to use pedestrians in osc? I have tried to add it as an actor to the basic.osc file but it is not recognized.
@fangchaooo
Copy link

I have same question.
How can a person without background knowledge in this area check the correctness of an ANTLR4 .g4 file?

There are three versions for osc2 definition file:

  1. https://github.com/PMSFIT/py-osc2/blob/main/osc2parser/openscenario2.g4
  2. https://github.com/51WORLD/osc2checker/blob/main/osc2grammar/OpenSCENARIO2.g4
  3. this repo
    I don't know which is completely correct

@yarinr25
Copy link
Author

yarinr25 commented Jun 4, 2024

@fangchaooo if your goal is to check syntax and correctness of .osc files, I recommend using VS code and installing the OpenSCENARIO extensions.

@fangchaooo
Copy link

@yarinr25 My goal is to check parser and lexer correctly for osc2 language.

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