dronecode_sdk::FollowMe::Config Struct Reference

#include: follow_me.h


FollowMe Configuration.

See Also:

Public Types

Type Description
enum FollowDirection Relative position of following vehicle.

Data Fields

float min_height_m = 8.0f - Min follow height, in meters.

float follow_distance_m = 8.0f - Horizontal follow distance to target, in meters.

FollowDirection follow_direction = FollowDirection::BEHIND - Relative position of the following vehicle.

float responsiveness = 0.5f - Responsiveness, Range (0.0-1.0)

Static Public Attributes

static constexpr const float MIN_HEIGHT_M = 8.0f - Min follow height, in meters.

static constexpr const float MIN_FOLLOW_DIST_M = 1.0f - Min follow distance, in meters.

static constexpr const float MIN_RESPONSIVENESS = 0.f - Min responsiveness.

static constexpr const float MAX_RESPONSIVENESS = 1.0f - Max responsiveness.

Static Public Member Functions

Type Name Description
std::string to_str (FollowDirection direction) Human-readable string for enum FollowDirection.

Member Enumeration Documentation

enum FollowDirection

Relative position of following vehicle.

Value Description
FRONT_RIGHT Follow from front right.
BEHIND Follow from behind.
FRONT Follow from front.
FRONT_LEFT Follow from front left.
NONE

See Also:

Member Function Documentation

to_str()

static std::string dronecode_sdk::FollowMe::Config::to_str(FollowDirection direction)

Human-readable string for enum FollowDirection.

Parameters

Returns

 std::string - std::string representing given direction

Field Documentation

MIN_HEIGHT_M

constexpr const float dronecode_sdk::FollowMe::Config::MIN_HEIGHT_M = 8.0f

Min follow height, in meters.

MIN_FOLLOW_DIST_M

constexpr const float dronecode_sdk::FollowMe::Config::MIN_FOLLOW_DIST_M = 1.0f

Min follow distance, in meters.

MIN_RESPONSIVENESS

constexpr const float dronecode_sdk::FollowMe::Config::MIN_RESPONSIVENESS = 0.f

Min responsiveness.

MAX_RESPONSIVENESS

constexpr const float dronecode_sdk::FollowMe::Config::MAX_RESPONSIVENESS = 1.0f

Max responsiveness.

min_height_m

float dronecode_sdk::FollowMe::Config::min_height_m = 8.0f

Min follow height, in meters.

follow_distance_m

float dronecode_sdk::FollowMe::Config::follow_distance_m = 8.0f

Horizontal follow distance to target, in meters.

follow_direction

FollowDirection dronecode_sdk::FollowMe::Config::follow_direction = FollowDirection::BEHIND

Relative position of the following vehicle.

responsiveness

float dronecode_sdk::FollowMe::Config::responsiveness = 0.5f

Responsiveness, Range (0.0-1.0)

© Dronecode 2017. License: CC BY 4.0            Updated: 2018-09-20 23:28:43

results matching ""

    No results matching ""