Flyby SDK v1.0.2
Loading...
Searching...
No Matches
flyby::Environment Class Reference

This object represents the drone's executing environment, including variables and drone configurations. More...

#include <env.h>

Public Types

enum class  Radio : std::uint8_t { HERELINK , SILVUS , DOODLE , UNKNOWN }
 The radio model target.
enum class  Controller : std::uint8_t { HERELINK , SROC , UNKNOWN }
 The controller model target.
enum class  Codec : std::uint8_t { H264 , H265 , UNKNOWN }
 The video codec requested.

Static Public Member Functions

static Radio get_radio ()
 Get the radio target.
static Controller get_controller ()
 Get the controller target.
static Codec get_codec ()
 Get the codec target.
static unsigned int get_bitrate ()
 Get the bitrate target.

Detailed Description

This object represents the drone's executing environment, including variables and drone configurations.

Member Function Documentation

◆ get_bitrate()

unsigned int flyby::Environment::get_bitrate ( )
static

Get the bitrate target.

Returns
Bitrate as an unsigned integer.

◆ get_codec()

Codec flyby::Environment::get_codec ( )
static

Get the codec target.

Returns
Codec type.

◆ get_controller()

Controller flyby::Environment::get_controller ( )
static

Get the controller target.

Returns
Controller type.

◆ get_radio()

Radio flyby::Environment::get_radio ( )
static

Get the radio target.

Returns
Radio type.

The documentation for this class was generated from the following file:
  • include/flyby/util/env.h