SafetySetAllowedArea class

Set a safety zone (volume), which is defined by two corners of a cube. This message can be used to tell the MAV which setpoints/waypoints to accept and which to reject. Safety areas are often enforced by national or competition regulations.

SAFETY_SET_ALLOWED_AREA

Implemented types

Constructors

SafetySetAllowedArea({required float p1x, required float p1y, required float p1z, required float p2x, required float p2y, required float p2z, required uint8_t targetSystem, required uint8_t targetComponent, required MavFrame frame})
SafetySetAllowedArea.parse(ByteData data_)
factory

Properties

frame MavFrame
Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
p1x float
x position 1 / Latitude 1
final
p1y float
y position 1 / Longitude 1
final
p1z float
z position 1 / Altitude 1
final
p2x float
x position 2 / Latitude 2
final
p2y float
y position 2 / Longitude 2
final
p2z float
z position 2 / Altitude 2
final
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