Loading...
Searching...
No Matches
pangea_survey::CameraAltitude Class Reference
Apply the route's chosen terrain-following or fixed-start altitude policy. More...
#include <route.h>
Public Member Functions | |
| CameraAltitude (const Config &config) | |
| Initialize altitude policy from a validated route configuration. | |
| double | at (double ground, double routeAgl, bool settled) |
| Compute camera AMSL altitude for one terrain sample. | |
| bool | locked () const |
| Report whether fixed-start AMSL has been latched. | |
Private Attributes | |
| bool | lockStart_ |
| double | startAgl_ |
| std::optional< double > | lockedMsl_ |
Detailed Description
Apply the route's chosen terrain-following or fixed-start altitude policy.
A fixed altitude is latched only after the initial camera has settled; before then the provisional value follows current terrain plus configured AGL.
Constructor & Destructor Documentation
◆ CameraAltitude()
|
inlineexplicit |
Member Function Documentation
◆ at()
|
inline |
Compute camera AMSL altitude for one terrain sample.
- Parameters
-
[in] ground Ground elevation AMSL in metres. [in] routeAgl Requested route height above ground in metres. [in] settled Whether the initial settled position may be latched.
- Returns
- Camera altitude AMSL in metres.
- Exceptions
-
std::runtime_error If either input height is nonfinite.
◆ locked()
|
inline |
Field Documentation
◆ lockedMsl_
|
private |
◆ lockStart_
◆ startAgl_
The documentation for this class was generated from the following file:
- modules/pangea/route.h