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 Catalog support #459

Closed
anja-sheppard opened this issue Feb 17, 2020 · 2 comments · Fixed by #465
Closed

OpenSCENARIO Catalog support #459

anja-sheppard opened this issue Feb 17, 2020 · 2 comments · Fixed by #465
Assignees
Labels
enhancement New feature or request work in progess

Comments

@anja-sheppard
Copy link
Contributor

Has there been any work to support catalogs in OpenSCENARIO? They would be very useful when making a bunch of similar scenarios.

A use case would be when creating a new entity one could simply having a catalog reference rather than re-defining the same vehicle in multiple files.

I don't see any other requests for it, but I wanted to check before beginning to implement a solution.

@anja-sheppard anja-sheppard added the enhancement New feature or request label Feb 17, 2020
@fabianoboril
Copy link
Collaborator

Hi,
we did not yet start working on this. If you have anything working we would be very happy if you could share it with us and the community.

@anja-sheppard
Copy link
Contributor Author

@fabianoboril Just a quick question: what is the purpose of lines 258-260 of open_scenario.py shown here

parallel_actions.add_child(
    oneshot_behavior(variable_name=get_xml_path(self.config.story, child),
                    behaviour=maneuver_behavior))

Due to the nature of catalogs, the get_xml_path() is proving to be difficult. What is that path used for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request work in progess
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants