Position ex-client
You can also use the higher-level IPositionClientEx, which provides convenient reactive properties and helper methods for common operations such as takeoff, landing, setting targets, and ROI management.
IPositionClientEx (source)
Represents a higher-level wrapper over IPositionClient
providing convenient reactive properties and additional helper methods.
Property | Type | Description |
---|---|---|
|
| The underlying base client. |
|
| Gets the pitch value. |
|
| Gets the pitch speed property. |
|
| Gets the roll value of the object. |
|
| Gets the roll speed value. |
|
| Gets the yaw value. |
|
| Gets the yaw speed. |
|
| Gets the current value of type GeoPoint. |
|
| Gets the target value of type |
|
| The property representing the home location. |
|
| Gets the altitude above home. |
|
| Represents the distance from a home location. |
|
| Gets the target distance. |
|
| Represents a property that indicates whether the object is armed. |
|
| Gets the armed time as an observable value of type TimeSpan. |
|
| Gets the Roi property. |
Method | Return Type | Description |
---|---|---|
|
| Gets the home position. |
|
| Arms or disarms the system. |
|
| Sets the region of interest (ROI) using the specified location. |
|
| Clears the region of interest (ROI). |
|
| Sets the target for the application. |
|
| Initiates the takeoff process. |
|
| Initiates vertical takeoff. |
|
| VTOL landing procedure. |
IPositionClientEx.GetHomePosition
Parameter | Type | Description |
---|---|---|
|
| Optional cancellation token. |
IPositionClientEx.ArmDisarm
Parameter | Type | Description |
---|---|---|
|
| True to arm, false to disarm. |
|
| Optional cancellation token. |
IPositionClientEx.SetRoi
Parameter | Type | Description |
---|---|---|
|
| The geographical point representing the location of the ROI. |
|
| Optional cancellation token. |
IPositionClientEx.ClearRoi
Parameter | Type | Description |
---|---|---|
|
| Optional cancellation token. |
IPositionClientEx.SetTarget
Parameter | Type | Description |
---|---|---|
|
| Target position to set. |
|
| Optional cancellation token. |
IPositionClientEx.TakeOff
Parameter | Type | Description |
---|---|---|
|
| Target altitude in meters. |
|
| Optional cancellation token. |
IPositionClientEx.QTakeOff
Parameter | Type | Description |
---|---|---|
|
| Target altitude in meters. |
|
| Optional cancellation token. |
IPositionClientEx.QLand
Parameter | Type | Description |
---|---|---|
|
| VTOL landing option. |
|
| Approach altitude, NaN if unspecified. |
|
| Optional cancellation token. |