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

Fix/acquire position action #1369

Merged
merged 13 commits into from
Sep 26, 2024
Merged

Fix/acquire position action #1369

merged 13 commits into from
Sep 26, 2024

Conversation

yamacir-kit
Copy link
Collaborator

@yamacir-kit yamacir-kit commented Sep 10, 2024

Description

Abstract

With this update, it is now possible to send a goal to Autoware multiple times using AcquirePositionAction. This makes it possible to write scenarios that involve repeatedly driving around a closed route.

Background

When sending the goal position to Autoware, if it is not the first time, it is necessary to instruct Autoware to clear the route before sending. However, because AcquirePositionAction did not include a process to clear the route, it was not possible to send the goal position to Autoware multiple times. As this was not the intended specification, it has been fixed.

Details

  • The behavior of API::requestClearRoute for non-EgoEntity has been changed from an error to "do nothing." Currently, non-EgoEntity does not have a process that corresponds to requestClearRoute, but this may be possible depending on the implementation of the entity plugin. Therefore, we thought it was unnatural to treat requestClearRoute for non-EgoEntity as an error, so we changed this behavior.
  • Changed AcquirePositionAction to call API::requestClearRoute before calling API::requestAcquirePosition.
  • The behavior of TransitionAssertion has been changed so that it monitors the response time according to initialize_duration only until the first engage.

References

Destructive Changes

None.

Known Limitations

None.

@yamacir-kit yamacir-kit self-assigned this Sep 10, 2024
Copy link

github-actions bot commented Sep 10, 2024

Checklist for reviewers ☑️

All references to "You" in the following text refer to the code reviewer.

  • Is this pull request written in a way that is easy to read from a third-party perspective?
  • Is there sufficient information (background, purpose, specification, algorithm description, list of disruptive changes, and migration guide) in the description of this pull request?
  • If this pull request contains a destructive change, does this pull request contain the migration guide?
  • Labels of this pull request are valid?
  • All unit tests/integration tests are included in this pull request? If you think adding test cases is unnecessary, please describe why and cross out this line.
  • The documentation for this pull request is enough? If you think adding documents for this pull request is unnecessary, please describe why and cross out this line.

@yamacir-kit yamacir-kit added bump patch If this pull request merged, bump patch version of the scenario_simulator_v2 wait for regression test labels Sep 18, 2024
Copy link

sonarcloud bot commented Sep 20, 2024

Please retry analysis of this Pull-Request directly on SonarCloud

@yamacir-kit yamacir-kit marked this pull request as ready for review September 25, 2024 02:36
@yamacir-kit yamacir-kit merged commit 695dbf2 into master Sep 26, 2024
10 checks passed
@yamacir-kit yamacir-kit deleted the fix/acquire-position-action branch September 26, 2024 08:53
@github-actions github-actions bot restored the fix/acquire-position-action branch September 26, 2024 08:53
@github-actions github-actions bot deleted the fix/acquire-position-action branch September 26, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch If this pull request merged, bump patch version of the scenario_simulator_v2 wait for regression test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants