Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ bool ControlTabWidget::solveCameraRobotPose()
const auto& reproj_err = solver_->getReprojectionError(effector_wrt_world_, object_wrt_sensor_,
camera_robot_pose_, sensor_mount_type_);
std::ostringstream reproj_err_text;
reproj_err_text << "Reprojection error:\n" << reproj_err.first << " m, " << reproj_err.second << " rad";
reproj_err_text << "Reprojection error:\n" << reproj_err.first << " rad, " << reproj_err.second << " m";
ROS_WARN_NAMED(LOGNAME, "%s", reproj_err_text.str().c_str());
reprojection_error_label_->setText(QString(reproj_err_text.str().c_str()));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class HandEyeSolverBase
* with respect to the camera.
* @param X The calibration, as a 4X4 transform.
* @param setup Camera mount type, {EYE_TO_HAND, EYE_IN_HAND}.
* @return Pair of translation and rotation reprojection error in meters and radians, or NaNs on error.
* @return Pair of rotation and translation reprojection error in radians and meters, or NaNs on error.
*/
std::pair<double, double> getReprojectionError(const std::vector<Eigen::Isometry3d>& effector_wrt_world,
const std::vector<Eigen::Isometry3d>& object_wrt_sensor,
Expand Down