|
|
void | start () |
| | Begins a calibration: state WaitPoint1, 0 points, previous result and failure cleared.
|
| |
|
void | cancel () |
| | Returns to Idle from any state and discards points, result and failure.
|
| |
| CalState | record (float x, float y, Angles at, bool target_visible) |
| | Records a calibration point.
|
| |
|
CalState | state () const |
| |
|
int | points () const |
| |
|
std::optional< AimMap > | result () const |
| |
|
const char * | failure () const |
| |
◆ record()
| CalState aiming::CalibrationSession::record |
( |
float | x, |
|
|
float | y, |
|
|
Angles | at, |
|
|
bool | target_visible ) |
Records a calibration point.
- Parameters
-
| x,y | Target pixel position. |
| at | Turret angles pointing at that target. |
| target_visible | false ignores the press (no state change). |
- Returns
- The state after the call.
The documentation for this class was generated from the following files: