File tree 2 files changed +4
-4
lines changed
obstacle_avoidance_planner/include/obstacle_avoidance_planner/utils
path_smoother/include/path_smoother/utils
2 files changed +4
-4
lines changed 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