SetGpsGlobalOrigin class
Sets the GPS coordinates of the vehicle local origin (0,0,0) position. Vehicle should emit GPS_GLOBAL_ORIGIN irrespective of whether the origin is changed. This enables transform between the local coordinate frame and the global (GPS) coordinate frame, which may be necessary when (for example) indoor and outdoor settings are connected and the MAV should move from in- to outdoor.
SET_GPS_GLOBAL_ORIGIN
- Implemented types
Constructors
- SetGpsGlobalOrigin({required int32_t latitude, required int32_t longitude, required int32_t altitude, required uint8_t targetSystem, required uint64_t timeUsec})
- SetGpsGlobalOrigin.parse(ByteData data_)
-
factory
Properties
- altitude → int32_t
-
Altitude (MSL). Positive for up.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → int32_t
-
Latitude (WGS84)
final
- longitude → int32_t
-
Longitude (WGS84)
final
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetSystem → uint8_t
-
System ID
final
- timeUsec → uint64_t
-
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
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