Skip to content

Commit

Permalink
fix(control_performance_analysis): fix bug of ignoredReturnValue (#6921)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryuta Kambe <[email protected]>
  • Loading branch information
veqcc authored May 6, 2024
1 parent ebe360d commit 28d384e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ std::pair<bool, Pose> ControlPerformanceAnalysisCore::calculateClosestPose()
if (
!interpolated_pose_ptr_ || !interpolated_velocity_ptr_ || !interpolated_acceleration_ptr_ ||
!interpolated_steering_angle_ptr_) {
std::make_pair(false, interp_point.pose);
return std::make_pair(false, interp_point.pose);
}

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

0 comments on commit 28d384e

Please sign in to comment.