github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/asluav/message_command_long_stamped.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package asluav
     4  
     5  // Send a command with up to seven parameters to the MAV and additional metadata
     6  type MessageCommandLongStamped struct {
     7  	// UTC time, seconds elapsed since 01.01.1970
     8  	UtcTime uint32
     9  	// Microseconds elapsed since vehicle boot
    10  	VehicleTimestamp uint64
    11  	// System which should execute the command
    12  	TargetSystem uint8
    13  	// Component which should execute the command, 0 for all components
    14  	TargetComponent uint8
    15  	// Command ID, as defined by MAV_CMD enum.
    16  	Command MAV_CMD `mavenum:"uint16"`
    17  	// 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command)
    18  	Confirmation uint8
    19  	// Parameter 1, as defined by MAV_CMD enum.
    20  	Param1 float32
    21  	// Parameter 2, as defined by MAV_CMD enum.
    22  	Param2 float32
    23  	// Parameter 3, as defined by MAV_CMD enum.
    24  	Param3 float32
    25  	// Parameter 4, as defined by MAV_CMD enum.
    26  	Param4 float32
    27  	// Parameter 5, as defined by MAV_CMD enum.
    28  	Param5 float32
    29  	// Parameter 6, as defined by MAV_CMD enum.
    30  	Param6 float32
    31  	// Parameter 7, as defined by MAV_CMD enum.
    32  	Param7 float32
    33  }
    34  
    35  // GetID implements the message.Message interface.
    36  func (*MessageCommandLongStamped) GetID() uint32 {
    37  	return 224
    38  }