C# Class MissionPlanner.Utilities.Proximity.directionState

ファイルを表示 Open project: ArduPilot/MissionPlanner

Public Methods

Method Description
Add ( uint id, MAV_SENSOR_ORIENTATION orientation, double distance, System.DateTime received, double age = 1 ) : void
GetClosest ( ) : double

Closest distance

GetRaw ( ) : List
GetWarnings ( double min_distance = 2 ) : List

List of direction bellow the min_distance

Private Methods

Method Description
expire ( ) : void

Method Details

Add() public method

public Add ( uint id, MAV_SENSOR_ORIENTATION orientation, double distance, System.DateTime received, double age = 1 ) : void
id uint
orientation MAV_SENSOR_ORIENTATION
distance double
received System.DateTime
age double
return void

GetClosest() public method

Closest distance
public GetClosest ( ) : double
return double

GetRaw() public method

public GetRaw ( ) : List
return List

GetWarnings() public method

List of direction bellow the min_distance
public GetWarnings ( double min_distance = 2 ) : List
min_distance double
return List