|
UgCS video streamer
|
#include <telemetry.h>
Public Member Functions | |
| void | Merge (const Telemetry &other) |
| void | Reset () |
| ff::AvPacket | ToKlvPacket (const std::string &tailNumber) const |
| void | Validate () const |
Public Attributes | |
| Optional< std::string > | missionId |
| Optional< std::string > | platformDesignation |
| Optional< std::string > | cameraManufacturer |
| Optional< std::string > | cameraModel |
| Optional< double > | heading |
| Optional< double > | pitch |
| Optional< double > | roll |
| Optional< double > | latitude |
| Optional< double > | longitude |
| Optional< double > | altitude |
| Optional< double > | sensorHorizontalFov |
| Optional< double > | sensorVerticalFov |
| Optional< double > | sensorRelativeAzimuth |
| Optional< double > | sensorRelativeElevation |
| Optional< double > | sensorRelativeRoll |
| Optional< double > | slantRange |
| Optional< double > | cameraFocalLength |
Telemetry block. See VsTelemetry for fields description.
| void Telemetry::Merge | ( | const Telemetry & | other | ) |
Overwrite values which are set in the specified telemetry block. Empty values do not affect values in this instance.
| void Telemetry::Reset | ( | ) |
Set all fields empty.
| ff::AvPacket Telemetry::ToKlvPacket | ( | const std::string & | tailNumber | ) | const |
Get KLV-encoded ffmpeg frame for this telemetry object. Timestamp and tail number fields are always present. Non-empty fields of this telemetry block are inserted as well. Timestamp is generated from current system time.
| void Telemetry::Validate | ( | ) | const |
Validate values to ensure they can be represented in KLV. InvalidParamException is thrown if any value is out of range.
| Optional<double> Telemetry::cameraFocalLength |
In millimeters.
1.8.17