Commit cdeea66 1 parent ed926b3 commit cdeea66 Copy full SHA for cdeea66
File tree 1 file changed +5
-5
lines changed
planning/behavior_path_avoidance_module/src
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1505,11 +1505,6 @@ void AvoidanceModule::insertReturnDeadLine(
1505
1505
{
1506
1506
const auto & data = avoid_data_;
1507
1507
1508
- if (data.new_shift_line .empty ()) {
1509
- RCLCPP_WARN (getLogger (), " module doesn't have return shift line." );
1510
- return ;
1511
- }
1512
-
1513
1508
if (data.to_return_point > planner_data_->parameters .forward_path_length ) {
1514
1509
RCLCPP_DEBUG (getLogger (), " return dead line is far enough." );
1515
1510
return ;
@@ -1522,6 +1517,11 @@ void AvoidanceModule::insertReturnDeadLine(
1522
1517
return ;
1523
1518
}
1524
1519
1520
+ if (data.new_shift_line .empty ()) {
1521
+ RCLCPP_WARN (getLogger (), " module doesn't have return shift line." );
1522
+ return ;
1523
+ }
1524
+
1525
1525
if (!helper_->isFeasible (data.new_shift_line )) {
1526
1526
RCLCPP_WARN (getLogger (), " return shift line is not feasible. do nothing.." );
1527
1527
return ;
You can’t perform that action at this time.
0 commit comments