4#include "CameraProperties.h"
45 Transformation(
double x,
double y,
double z,
double qW,
double qX,
double qY,
double qZ)
46 : x(x), y(y), z(z), qW(qW), qX(qX), qY(qY), qZ(qZ)
50 std::string toString()
const
53 snprintf(
buff,
sizeof(
buff),
"%lf,%lf,%lf,%lf,%lf,%lf,%lf", x, y, z, qW, qX, qY, qZ);
Represents a 2D container of data.
Operates the camera. Use Camera::connect to connect an available camera, and then call the correspond...
ErrorStatus initializeCalibration(Camera &camera, CameraMountingMode mountingMode, CalibrationBoardModel boardModel)
Sets the board model and camera mounting mode for this calibration.
ErrorStatus addPoseAndDetect(Camera &camera, const Transformation &poseData, Color2DImage &color2DImage, unsigned int timeoutMs=10000)
Adds current pose of the robot, captures the image, and calculates necessary parameters prepared for ...
ErrorStatus calculateExtrinsics(Camera &camera, Transformation &cameraToBase)
Starts to calculate the result of hand-eye calibration.
ErrorStatus testRecognition(Camera &camera, Color2DImage &testResult, unsigned int timeoutMs=10000)
Only captures current image with feature recognition result for test.
Describes the types of errors.