Flyby SDK v1.0.2
Loading...
Searching...
No Matches
env.h
Go to the documentation of this file.
1
7
8#pragma once
9
10#include <cstdint>
11
12namespace flyby {
18 class Environment {
19 public:
24 enum class Radio : std::uint8_t { HERELINK, SILVUS, DOODLE, UNKNOWN };
25
30 enum class Controller : std::uint8_t { HERELINK, SROC, UNKNOWN };
31
36 enum class Codec : std::uint8_t { H264, H265, UNKNOWN };
37
38 Environment() = delete;
39 ~Environment() = delete;
40
45 static Radio get_radio();
46
52
57 static Codec get_codec();
58
63 static unsigned int get_bitrate();
64 };
65} // namespace flyby
This object represents the drone's executing environment, including variables and drone configuration...
Definition env.h:18
Codec
The video codec requested.
Definition env.h:36
Radio
The radio model target.
Definition env.h:24
static Codec get_codec()
Get the codec target.
Controller
The controller model target.
Definition env.h:30
static unsigned int get_bitrate()
Get the bitrate target.
static Radio get_radio()
Get the radio target.
static Controller get_controller()
Get the controller target.