FOUND
Loading...
Searching...
No Matches
found::LOSTCalibrationAlgorithm Class Reference

The LostCalibrationAlgorithm class houses the calibration algorithm that uses the orientation information from LOST to calibrate the camera's local orientation with the reference orientation (i.e. More...

#include <calibrate.hpp>

Inheritance diagram for found::LOSTCalibrationAlgorithm:
Collaboration diagram for found::LOSTCalibrationAlgorithm:

Public Member Functions

 LOSTCalibrationAlgorithm ()=default
 
Quaternion Run (const std::pair< EulerAngles, EulerAngles > &orientations) override
 Runs the calibration algorithm.
 
- Public Member Functions inherited from found::CalibrationAlgorithm
 CalibrationAlgorithm ()=default
 
virtual ~CalibrationAlgorithm ()=default
 
- Public Member Functions inherited from found::Stage< std::pair< EulerAngles, EulerAngles >, Quaternion >
 Stage ()=default
 Constructs a new Stage.
 
virtual ~Stage ()=default
 Destroys this.
 
void DoAction () override
 Executes Run (with a stored input and storing the output)
 
std::pair< EulerAngles, EulerAngles > & GetResource ()
 Returns the stored input of this.
 
Quaternion *& GetProduct ()
 Returns the stored output of this.
 

Additional Inherited Members

- Protected Attributes inherited from found::Stage< std::pair< EulerAngles, EulerAngles >, Quaternion >
std::pair< EulerAngles, EulerAnglesresource
 The stored input for this.
 
Quaternionproduct
 The pointer to the stored output for this.
 

Detailed Description

The LostCalibrationAlgorithm class houses the calibration algorithm that uses the orientation information from LOST to calibrate the camera's local orientation with the reference orientation (i.e.

LOST's camera)

Constructor & Destructor Documentation

◆ LOSTCalibrationAlgorithm()

found::LOSTCalibrationAlgorithm::LOSTCalibrationAlgorithm ( )
default

Member Function Documentation

◆ Run()

Quaternion found::LOSTCalibrationAlgorithm::Run ( const std::pair< EulerAngles, EulerAngles > &  orientations)
overridevirtual

Runs the calibration algorithm.

Parameters
orientationsThe pair of orientations to use
Returns
The quaternion that represents the calibration
Note
Set the reference orientation to 0 to make this absolute (i.e., the orientation of this camera becomes the relative rotation)

Implements found::Stage< std::pair< EulerAngles, EulerAngles >, Quaternion >.


The documentation for this class was generated from the following files: