Skip to content

Commit

Permalink
Print fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 committed Jun 23, 2020
1 parent a492a2d commit 6cdc4bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void analyzeResults(const rct_optimizations::IntrinsicCalibrationAccuracyResult
const double pos_tol, const double ang_tol)
{
ROS_INFO_STREAM("Positional Error:\nMean (m): " << result.pos_error.first << "\nStd. Dev. (m): " << result.pos_error.second);
ROS_INFO_STREAM("Angular Error:\nMean (m): " << result.ang_error.first << "\nStd. Dev. (m): " << result.ang_error.second);
ROS_INFO_STREAM("Angular Error:\nMean (rad): " << result.ang_error.first << "\nStd. Dev. (rad): " << result.ang_error.second);

// Calculate the error such that it represents ~95% of the results (mean + 2 * sigma)
double pos_error = result.pos_error.first + 2.0 * result.pos_error.second;
Expand Down

0 comments on commit 6cdc4bb

Please sign in to comment.