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
12
namespace
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
51
static
Controller
get_controller
();
52
57
static
Codec
get_codec
();
58
63
static
unsigned
int
get_bitrate
();
64
};
65
}
// namespace flyby
flyby::Environment
This object represents the drone's executing environment, including variables and drone configuration...
Definition
env.h:18
flyby::Environment::Codec
Codec
The video codec requested.
Definition
env.h:36
flyby::Environment::Radio
Radio
The radio model target.
Definition
env.h:24
flyby::Environment::get_codec
static Codec get_codec()
Get the codec target.
flyby::Environment::Controller
Controller
The controller model target.
Definition
env.h:30
flyby::Environment::get_bitrate
static unsigned int get_bitrate()
Get the bitrate target.
flyby::Environment::get_radio
static Radio get_radio()
Get the radio target.
flyby::Environment::get_controller
static Controller get_controller()
Get the controller target.
include
flyby
util
env.h
Generated by
1.14.0