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

Quaternion Run (const std::pair< EulerAngles, EulerAngles > &orientations) override
 Runs the calibration algorithm.
 
- Public Member Functions inherited from found::FunctionStage< std::pair< EulerAngles, EulerAngles >, Quaternion >
 FunctionStage ()=default
 Constructs a new Stage.
 
virtual ~FunctionStage ()=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.
 
- Public Member Functions inherited from found::Stage< Input, Output >
virtual Output Run (Input input)=0
 Runs this stage.
 

Additional Inherited Members

- Protected Attributes inherited from found::FunctionStage< 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)

Member Function Documentation

◆ Run()

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

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)

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