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

refactor(motion_utils): cherry picked from a merged PR #1090

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

HansOersted
Copy link

Description

autowarefoundation#5909

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

…dependencies (autowarefoundation#5909)

* change .hpp name

Signed-off-by: Zhe Shen <[email protected]>

* change .cpp name

Signed-off-by: Zhe Shen <[email protected]>

* correct the #inlcude and #ifndef

Signed-off-by: Zhe Shen <[email protected]>

* toPath(): move the prototypes and the implementations in .hpp and .cpp

Signed-off-by: Zhe Shen <[email protected]>

* correct the dependency for /home/shen/autoware.universe/planning/behavior_path_planner/src/behavior_path_planner_node.cpp

Signed-off-by: Zhe Shen <[email protected]>

* toPath(): deleted the repeat definition in planning_interface_test_manager_utils.hpp

Signed-off-by: Zhe Shen <[email protected]>

* toPath(): corrected the call and dependency in planning_interface_test_manager.cpp

Signed-off-by: Zhe Shen <[email protected]>

* convertPathToTrajectoryPoints(), convertTrajectoryPointsToPath(), lerpOrientation(): moved to conversion.hpp and conversion.cpp

Signed-off-by: Zhe Shen <[email protected]>

* convertPathToTrajectoryPoints(): corrected the call and dependency

Signed-off-by: Zhe Shen <[email protected]>

* convertTrajectoryPointsToPath(): Corrected the call

Signed-off-by: Zhe Shen <[email protected]>

* lerpOrientation(): deleted the repeat definition in longitudinal_controller_utils.hpp and longitudinal_controller_utils.cpp

Signed-off-by: Zhe Shen <[email protected]>

* lerpOrientation(): Correct the call in longitudinal_controller_utils.hpp

Signed-off-by: Zhe Shen <[email protected]>

* lerpOrientation(): Corrected the dependency and call in test_longitudinal_controller_utils.cpp

Signed-off-by: Zhe Shen <[email protected]>

* name of conversion.cpp: modified the CMakeLists

Signed-off-by: Zhe Shen <[email protected]>

* namespace updated, but maybe not correct, will be tested in the next commit

Signed-off-by: Zhe Shen <[email protected]>

* Correct the dependencies the test_trajectory.cpp and test_interpolation.cpp

Signed-off-by: Zhe Shen <[email protected]>

* style(pre-commit): autofix

* [namespace problems fixed] conversion.cpp & conversion.hpp: The dependencies have been added. Also, the namespaces have been corrected.

Signed-off-by: Zhe Shen <[email protected]>

* style(pre-commit): autofix

* correct all the dependencies in #include

Signed-off-by: Zhe Shen <[email protected]>

* style(pre-commit): autofix

* avoid using the ../../ in the paths

Signed-off-by: Zhe Shen <[email protected]>

* dependencies fixed and package added in .xml

Signed-off-by: Zhe Shen <[email protected]>

* style(pre-commit): autofix

* change toPath() to convertToPath()

Signed-off-by: Zhe Shen <[email protected]>

* lerpOrientation(): move from conversion to spherical_linear_interpolation

Signed-off-by: Zhe Shen <[email protected]>

* style(pre-commit): autofix

* fix the missing relative path definition. ../../ will not be used.

Signed-off-by: Zhe Shen <[email protected]>

* the unneccessary dependencies eleminated. In specific, the lerpOrientation() related dependencies in coversion.hpp and unneccessary dependencies in conversion.cpp are deleted.

Signed-off-by: Zhe Shen <[email protected]>

* change the function to template in .cpp and .hpp

Signed-off-by: Zhe Shen <[email protected]>

* style(pre-commit): autofix

* change the corresponding calls to template

Signed-off-by: Zhe Shen <[email protected]>

* style(pre-commit): autofix

* change name to convertToTrajectory()

Signed-off-by: Zhe Shen <[email protected]>

* style(pre-commit): autofix

* change the template of convertToPathWithLaneId()

Signed-off-by: Zhe Shen <[email protected]>

* fix the dependencies

Signed-off-by: Zhe Shen <[email protected]>

* refactor(motion_utils): specialize class

Signed-off-by: satoshi-ota <[email protected]>

* fix(motion_utils): remove unnecessary header

Signed-off-by: satoshi-ota <[email protected]>

---------

Signed-off-by: Zhe Shen <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Satoshi OTA <[email protected]>
Co-authored-by: satoshi-ota <[email protected]>
@shmpwk shmpwk merged commit 89139f3 into tier4:beta/v0.20.0 Jan 11, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants