FencePoint class
A fence point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS.
FENCE_POINT
- Implemented types
Constructors
- FencePoint({required float lat, required float lng, required uint8_t targetSystem, required uint8_t targetComponent, required uint8_t idx, required uint8_t count})
- FencePoint.parse(ByteData data_)
-
factory
Properties
- count → uint8_t
-
Total number of points (for sanity checking).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idx → uint8_t
-
Point index (first point is 1, 0 is for return point).
final
- lat → float
-
Latitude of point.
final
- lng → float
-
Longitude of point.
final
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetComponent → uint8_t
-
Component ID.
final
- targetSystem → uint8_t
-
System ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → ByteData -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- mavlinkEncodedLength → const int