36 const auto objectToCamera = cameraToObject.
Inverse();
37 const auto cameraToRobot = robotToCamera.
Inverse();
38 return objectInField + objectToCamera + cameraToRobot;
#define WPILIB_DLLEXPORT
Definition SymbolExports.h:36
Represents a 3D pose containing translational and rotational elements.
Definition Pose3d.h:31
Definition SystemServer.h:9
WPILIB_DLLEXPORT constexpr frc::Pose3d ObjectToRobotPose(const frc::Pose3d &objectInField, const frc::Transform3d &cameraToObject, const frc::Transform3d &robotToCamera)
Returns the robot's pose in the field coordinate system given an object's field-relative pose,...
Definition ComputerVisionUtil.h:33