-
Notifications
You must be signed in to change notification settings - Fork 676
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into refactor/ground_segmentation
- Loading branch information
Showing
217 changed files
with
5,217 additions
and
1,962 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ common/autoware_grid_map_utils/** [email protected] | |
common/autoware_interpolation/** [email protected] [email protected] | ||
common/autoware_kalman_filter/** [email protected] [email protected] [email protected] | ||
common/autoware_motion_utils/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] | ||
common/autoware_object_recognition_utils/** [email protected] [email protected] [email protected] | ||
common/autoware_overlay_rviz_plugin/autoware_mission_details_overlay_rviz_plugin/** [email protected] | ||
common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin/** [email protected] | ||
common/autoware_path_distance_calculator/** [email protected] | ||
|
@@ -24,7 +25,6 @@ common/fake_test_node/** [email protected] [email protected] shumpei.wakabay | |
common/global_parameter_loader/** [email protected] | ||
common/glog_component/** [email protected] | ||
common/goal_distance_calculator/** [email protected] | ||
common/object_recognition_utils/** [email protected] [email protected] [email protected] | ||
common/osqp_interface/** [email protected] [email protected] [email protected] [email protected] | ||
common/polar_grid/** [email protected] | ||
common/qp_interface/** [email protected] [email protected] [email protected] [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
|
||
jobs: | ||
cancel-previous-workflows: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
cppcheck-weekly: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout code | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
common/autoware_motion_utils/include/autoware/motion_utils/trajectory/path_shift.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
// Copyright 2024 TIER IV, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#ifndef AUTOWARE__MOTION_UTILS__TRAJECTORY__PATH_SHIFT_HPP_ | ||
#define AUTOWARE__MOTION_UTILS__TRAJECTORY__PATH_SHIFT_HPP_ | ||
|
||
namespace autoware::motion_utils | ||
{ | ||
/** | ||
* @brief Calculates the velocity required for shifting | ||
* @param lateral lateral distance | ||
* @param jerk lateral jerk | ||
* @param longitudinal_distance longitudinal distance | ||
* @return velocity | ||
*/ | ||
double calc_feasible_velocity_from_jerk( | ||
const double lateral, const double jerk, const double longitudinal_distance); | ||
|
||
/** | ||
* @brief Calculates the lateral distance required for shifting | ||
* @param longitudinal longitudinal distance | ||
* @param jerk lateral jerk | ||
* @param velocity velocity | ||
* @return lateral distance | ||
*/ | ||
double calc_lateral_dist_from_jerk( | ||
const double longitudinal, const double jerk, const double velocity); | ||
|
||
/** | ||
* @brief Calculates the lateral distance required for shifting | ||
* @param lateral lateral distance | ||
* @param jerk lateral jerk | ||
* @param velocity velocity | ||
* @return longitudinal distance | ||
*/ | ||
double calc_longitudinal_dist_from_jerk( | ||
const double lateral, const double jerk, const double velocity); | ||
|
||
/** | ||
* @brief Calculates the total time required for shifting | ||
* @param lateral lateral distance | ||
* @param jerk lateral jerk | ||
* @param acc lateral acceleration | ||
* @return time | ||
*/ | ||
double calc_shift_time_from_jerk(const double lateral, const double jerk, const double acc); | ||
|
||
/** | ||
* @brief Calculates the required jerk from lateral/longitudinal distance | ||
* @param lateral lateral distance | ||
* @param longitudinal longitudinal distance | ||
* @param velocity velocity | ||
* @return jerk | ||
*/ | ||
double calc_jerk_from_lat_lon_distance( | ||
const double lateral, const double longitudinal, const double velocity); | ||
|
||
} // namespace autoware::motion_utils | ||
|
||
#endif // AUTOWARE__MOTION_UTILS__TRAJECTORY__PATH_SHIFT_HPP_ |
Oops, something went wrong.