File tree 3 files changed +17
-6
lines changed
obstacle_avoidance_planner/include/obstacle_avoidance_planner/utils
path_smoother/include/path_smoother/utils
3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,21 @@ name: build-and-test-differential
2
2
3
3
on :
4
4
pull_request :
5
+ types :
6
+ - opened
7
+ - synchronize
8
+ - labeled
5
9
6
10
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
+
7
16
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]
9
20
container : ${{ matrix.container }}${{ matrix.container-suffix }}
10
21
strategy :
11
22
fail-fast : false
65
76
run : df -h
66
77
67
78
clang-tidy-differential :
68
- runs-on : ubuntu-latest
79
+ runs-on : [self-hosted, linux, X64]
69
80
container : ghcr.io/autowarefoundation/autoware-universe:humble-latest-cuda
70
81
needs : build-and-test-differential
71
82
steps :
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ std::optional<size_t> updateFrontPointForFix(
178
178
const double lon_offset_to_prev_front =
179
179
motion_utils::calcSignedArcLength (points, 0 , front_fix_point.pose .position );
180
180
if (0 < lon_offset_to_prev_front) {
181
- RCLCPP_WARN (
181
+ RCLCPP_DEBUG (
182
182
rclcpp::get_logger (" obstacle_avoidance_planner.trajectory_utils" ),
183
183
" Fixed point will not be inserted due to the error during calculation." );
184
184
return std::nullopt;
@@ -189,7 +189,7 @@ std::optional<size_t> updateFrontPointForFix(
189
189
// check if deviation is not too large
190
190
constexpr double max_lat_error = 3.0 ;
191
191
if (max_lat_error < dist) {
192
- RCLCPP_WARN (
192
+ RCLCPP_DEBUG (
193
193
rclcpp::get_logger (" obstacle_avoidance_planner.trajectory_utils" ),
194
194
" New Fixed point is too far from points %f [m]" , dist);
195
195
}
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ std::optional<size_t> updateFrontPointForFix(
136
136
const double lon_offset_to_prev_front =
137
137
motion_utils::calcSignedArcLength (points, 0 , front_fix_point.pose .position );
138
138
if (0 < lon_offset_to_prev_front) {
139
- RCLCPP_WARN (
139
+ RCLCPP_DEBUG (
140
140
rclcpp::get_logger (" path_smoother.trajectory_utils" ),
141
141
" Fixed point will not be inserted due to the error during calculation." );
142
142
return std::nullopt;
@@ -147,7 +147,7 @@ std::optional<size_t> updateFrontPointForFix(
147
147
// check if deviation is not too large
148
148
constexpr double max_lat_error = 3.0 ;
149
149
if (max_lat_error < dist) {
150
- RCLCPP_WARN (
150
+ RCLCPP_DEBUG (
151
151
rclcpp::get_logger (" path_smoother.trajectory_utils" ),
152
152
" New Fixed point is too far from points %f [m]" , dist);
153
153
}
You can’t perform that action at this time.
0 commit comments