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

Fixed repetitions in OpenSCENARIO (Fixes #443) #447

Merged
merged 3 commits into from
Feb 10, 2020
Merged

Conversation

fabianoboril
Copy link
Collaborator

@fabianoboril fabianoboril commented Feb 6, 2020

Repetitions in OpenSCENARIO were not properly working. Reworked the repetition
handling by three major changes:

  • Not copy py_tree elements, this will cause problems due to references in Python
  • Replaced get_py_tree_path with get_xml_path, as the first was not working properly
  • Avoid using ":" in py_tree behavior names, as this may break py_trees

Fixes #443


This change is Reviewable

@fabianoboril fabianoboril force-pushed the fix/repetitions branch 2 times, most recently from f97b10b to 82aa03b Compare February 6, 2020 12:34
Repetitions in OpenSCENARIO were not properly working. Reworked the repetition
handling by three major changes:
- Not copy py_tree elements, this will cause problems due to references in Python
- Replaced get_py_tree_path with get_xml_path, as the first was not working properly
- Avoid using ":" in py_tree behavior names, as this may break py_trees

Change-Id: I7829106136cd6c20e6863d1f424fbc600030bf13
- Default pedestrians are now supported, i.e. if the pedestrian is not
  known, a default walker is used.
- Fixed InitSpeed bug for OpenSCENARIO, which caused an Exception
  because of unknown actor id.

Change-Id: I6a62de3314d90757f3990b40beb46e693a8a0ef7
@fabianoboril fabianoboril marked this pull request as ready for review February 10, 2020 12:27
- Removed lock mechanism in ScenarioManager
- Moved SignalHandler to ScenarioRunner.
- stop_scenario() in ScenarioManager odes no longer perform cleanup.
  This is now handled by cleanup()

Change-Id: I9716d1bbb921a65ff8a8a9cf78912cf9708de1f1
Copy link
Contributor

@fpasch fpasch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 9 of 9 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@fpasch fpasch merged commit 4f0e91a into master Feb 10, 2020
@fpasch fpasch deleted the fix/repetitions branch February 10, 2020 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants