Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
ZEDCamera::Pose Struct Reference

This struct is used within the ZEDCam class to store the camera pose with high precision. The sl::Pose object from the ZEDSDK stores everything as float which is not precise enough for storing relative UTM values. This struct replaces that. More...

#include <ZEDCamera.hpp>

Collaboration diagram for ZEDCamera::Pose:

Classes

struct  EulerAngles
 
struct  Translation
 

Public Member Functions

 Pose (const double dX=0.0, const double dY=0.0, const double dZ=0.0, const double dXO=0.0, const double dYO=0.0, const double dZO=0.0)
 Construct a new Pose object.
 

Public Attributes

Translation stTranslation
 
EulerAngles stEulerAngles
 

Detailed Description

This struct is used within the ZEDCam class to store the camera pose with high precision. The sl::Pose object from the ZEDSDK stores everything as float which is not precise enough for storing relative UTM values. This struct replaces that.

Author
clayjay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
Date
2024-04-17

Constructor & Destructor Documentation

◆ Pose()

ZEDCamera::Pose::Pose ( const double  dX = 0.0,
const double  dY = 0.0,
const double  dZ = 0.0,
const double  dXO = 0.0,
const double  dYO = 0.0,
const double  dZO = 0.0 
)
inline

Construct a new Pose object.

Parameters
dX- The X position of the camera in ZED_MEASURE_UNITS.
dY- The Y position of the camera in ZED_MEASURE_UNITS.
dZ- The Z position of the camera in ZED_MEASURE_UNITS.
dXO- The tilt of the camera around the X axis in degrees.
dYO- The tilt of the camera around the Y axis in degrees.
dZO- The tilt of the camera around the Z axis in degrees.
Author
clayjay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
Date
2024-04-17
136 {
137 // Initialize member variables.
138 stTranslation.dX = dX;
139 stTranslation.dY = dY;
140 stTranslation.dZ = dZ;
141 stEulerAngles.dXO = dXO;
142 stEulerAngles.dYO = dYO;
143 stEulerAngles.dZO = dZO;
144 }

The documentation for this struct was generated from the following file: