Skip to content

Commit 28d384e

Browse files
authored
fix(control_performance_analysis): fix bug of ignoredReturnValue (#6921)
Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
1 parent ebe360d commit 28d384e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/control_performance_analysis/src/control_performance_analysis_core.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ std::pair<bool, Pose> ControlPerformanceAnalysisCore::calculateClosestPose()
401401
if (
402402
!interpolated_pose_ptr_ || !interpolated_velocity_ptr_ || !interpolated_acceleration_ptr_ ||
403403
!interpolated_steering_angle_ptr_) {
404-
std::make_pair(false, interp_point.pose);
404+
return std::make_pair(false, interp_point.pose);
405405
}
406406

407407
return std::make_pair(true, interp_point.pose);

0 commit comments

Comments
 (0)