Data Types Quick Reference

Core Math Types

All based on nalgebra with f64 precision:

TypeDefinitionDescription
Realf64Scalar type
Pt2Point2<f64>2D point
Pt3Point3<f64>3D point
Vec2Vector2<f64>2D vector
Vec3Vector3<f64>3D vector
Mat3Matrix3<f64>3×3 matrix
Mat4Matrix4<f64>4×4 matrix
Iso3Isometry3<f64>SE(3) rigid transform

Camera Model Types

TypeParametersDescription
FxFyCxCySkew<S>fx, fy, cx, cy, skewIntrinsics matrix
BrownConrady5<S>k1, k2, k3, p1, p2, itersDistortion model
Pinhole(none)Projection model
IdentitySensor(none)No sensor tilt
ScheimpflugParamstilt_x, tilt_yScheimpflug tilt
Camera<S,P,D,Sm,K>proj, dist, sensor, kComposable camera

Observation Types

TypeFieldsDescription
CorrespondenceViewpoints_3d, points_2d, weights2D-3D correspondences
View<Meta>obs, metaObservation + metadata
PlanarDatasetviews: Vec<View<NoMeta>>Planar calibration input
RigView<Meta>obs: RigViewObs, metaMulti-camera view
RigDataset<Meta>num_cameras, viewsMulti-camera input
ReprojectionStatsmean, rms, max, countError statistics

Fix Masks

TypeFieldsDescription
IntrinsicsFixMaskfx, fy, cx, cy (bool each)Fix individual intrinsics
DistortionFixMaskk1, k2, k3, p1, p2 (bool each)Fix individual distortion params
CameraFixMaskintrinsics, distortionCombined camera fix mask
FixedMaskopaque (all_free(), all_fixed(dim), fix_indices(&[usize]))IR-level parameter fixing

Optimization IR Types

TypeDescription
ProblemIRComplete optimization problem
ParamBlockParameter group (id, name, dim, manifold, fixed)
ResidualBlockResidual definition (params, loss, factor)
ParamIdUnique parameter identifier
FactorKindResidual computation type (enum)
ManifoldKindParameter geometry (Euclidean, SE3, SO3, S2)
RobustLossLoss function (None, Huber, Cauchy, Arctan)

Session Types

TypeDescription
CalibrationSession<P>Generic session container
SessionMetadataProblem name, version, timestamps
LogEntryAudit log entry (timestamp, operation, success)
ExportRecord<E>Timestamped export
InvalidationPolicyWhat to clear on input/config change

Backend Types

TypeDescription
BackendSolveOptionsSolver settings (max_iters, tolerances, etc.)
BackendSolutionOptimized params + solve report
SolveReportInitial/final cost, iterations, termination
LinearSolverTypeSparseCholesky or SparseQR

Hand-Eye Types

TypeDescription
HandEyeModeEyeInHand or EyeToHand
HandeyeMetabase_se3_gripper: Iso3
RobotPoseMetabase_se3_gripper: Iso3