Skip to content

Commit 1cff5ff

Browse files
authored
Merge branch 'main' into fix/shift-ratio
2 parents a02b0e8 + 9b4d7e4 commit 1cff5ff

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.github/workflows/build-and-test-differential.yaml

+13-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,21 @@ name: build-and-test-differential
22

33
on:
44
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- labeled
59

610
jobs:
11+
prevent-no-label-execution:
12+
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
13+
with:
14+
label: tag:run-build-and-test-differential
15+
716
build-and-test-differential:
8-
runs-on: ubuntu-latest
17+
needs: prevent-no-label-execution
18+
if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
19+
runs-on: [self-hosted, linux, X64]
920
container: ${{ matrix.container }}${{ matrix.container-suffix }}
1021
strategy:
1122
fail-fast: false
@@ -65,7 +76,7 @@ jobs:
6576
run: df -h
6677

6778
clang-tidy-differential:
68-
runs-on: ubuntu-latest
79+
runs-on: [self-hosted, linux, X64]
6980
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest-cuda
7081
needs: build-and-test-differential
7182
steps:

planning/obstacle_avoidance_planner/include/obstacle_avoidance_planner/utils/trajectory_utils.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ std::optional<size_t> updateFrontPointForFix(
178178
const double lon_offset_to_prev_front =
179179
motion_utils::calcSignedArcLength(points, 0, front_fix_point.pose.position);
180180
if (0 < lon_offset_to_prev_front) {
181-
RCLCPP_WARN(
181+
RCLCPP_DEBUG(
182182
rclcpp::get_logger("obstacle_avoidance_planner.trajectory_utils"),
183183
"Fixed point will not be inserted due to the error during calculation.");
184184
return std::nullopt;
@@ -189,7 +189,7 @@ std::optional<size_t> updateFrontPointForFix(
189189
// check if deviation is not too large
190190
constexpr double max_lat_error = 3.0;
191191
if (max_lat_error < dist) {
192-
RCLCPP_WARN(
192+
RCLCPP_DEBUG(
193193
rclcpp::get_logger("obstacle_avoidance_planner.trajectory_utils"),
194194
"New Fixed point is too far from points %f [m]", dist);
195195
}

planning/path_smoother/include/path_smoother/utils/trajectory_utils.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ std::optional<size_t> updateFrontPointForFix(
136136
const double lon_offset_to_prev_front =
137137
motion_utils::calcSignedArcLength(points, 0, front_fix_point.pose.position);
138138
if (0 < lon_offset_to_prev_front) {
139-
RCLCPP_WARN(
139+
RCLCPP_DEBUG(
140140
rclcpp::get_logger("path_smoother.trajectory_utils"),
141141
"Fixed point will not be inserted due to the error during calculation.");
142142
return std::nullopt;
@@ -147,7 +147,7 @@ std::optional<size_t> updateFrontPointForFix(
147147
// check if deviation is not too large
148148
constexpr double max_lat_error = 3.0;
149149
if (max_lat_error < dist) {
150-
RCLCPP_WARN(
150+
RCLCPP_DEBUG(
151151
rclcpp::get_logger("path_smoother.trajectory_utils"),
152152
"New Fixed point is too far from points %f [m]", dist);
153153
}

0 commit comments

Comments
 (0)