CommandLong class
Send a command with up to seven parameters to the MAV. COMMAND_INT is generally preferred when sending MAV_CMD commands that include positional information; it offers higher precision and allows the MAV_FRAME to be specified (which may otherwise be ambiguous, particularly for altitude). The command microservice is documented at https://mavlink.io/en/services/command.html
COMMAND_LONG
- Implemented types
Constructors
- CommandLong({required float param1, required float param2, required float param3, required float param4, required float param5, required float param6, required float param7, required MavCmd command, required uint8_t targetSystem, required uint8_t targetComponent, required uint8_t confirmation})
- CommandLong.parse(ByteData data_)
-
factory
Properties
- command → MavCmd
-
Command ID (of command to send).
final
- confirmation → uint8_t
-
0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- param1 → float
-
Parameter 1 (for the specific command).
final
- param2 → float
-
Parameter 2 (for the specific command).
final
- param3 → float
-
Parameter 3 (for the specific command).
final
- param4 → float
-
Parameter 4 (for the specific command).
final
- param5 → float
-
Parameter 5 (for the specific command).
final
- param6 → float
-
Parameter 6 (for the specific command).
final
- param7 → float
-
Parameter 7 (for the specific command).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetComponent → uint8_t
-
Component which should execute the command, 0 for all components
final
- targetSystem → uint8_t
-
System which should execute the command
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