ViewSyncOptions¶
struct nmeasim::core::viewsync::ViewSyncOptions ยท Library API
Camera settings for the packets of one output.
#include <nmeasim/core/viewsync/viewsync.hpp>
Declared in src/core/include/nmeasim/core/viewsync/viewsync.hpp (line 26)
Summary¶
Public data members
| Name | Description |
|---|---|
camera_altitude_m |
Height of the camera above the vessel's altitude. |
tilt_deg |
Camera tilt in degrees from straight down: 0 looks down, 90 looks at the horizon. |
roll_deg |
Camera roll in degrees. |
planet |
Planet name: empty for Earth, otherwise sky, mars or moon. |
Public data members¶
camera_altitude_m¶
double camera_altitude_m{500.0}
Height of the camera above the vessel's altitude.
Declared in src/core/include/nmeasim/core/viewsync/viewsync.hpp:28
tilt_deg¶
double tilt_deg{60.0}
Camera tilt in degrees from straight down: 0 looks down, 90 looks at the horizon.
Declared in src/core/include/nmeasim/core/viewsync/viewsync.hpp:30
roll_deg¶
double roll_deg{0.0}
Camera roll in degrees.
Declared in src/core/include/nmeasim/core/viewsync/viewsync.hpp:32
planet¶
std::string planet
Planet name: empty for Earth, otherwise sky, mars or moon.
It is sent through sanitize_planet(), so a comma or a line break in it cannot corrupt the packet.
Declared in src/core/include/nmeasim/core/viewsync/viewsync.hpp:35