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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package ardupilotmega
     4  
     5  // Control vehicle LEDs.
     6  type MessageLedControl struct {
     7  	// System ID.
     8  	TargetSystem uint8
     9  	// Component ID.
    10  	TargetComponent uint8
    11  	// Instance (LED instance to control or 255 for all LEDs).
    12  	Instance uint8
    13  	// Pattern (see LED_PATTERN_ENUM).
    14  	Pattern uint8
    15  	// Custom Byte Length.
    16  	CustomLen uint8
    17  	// Custom Bytes.
    18  	CustomBytes [24]uint8
    19  }
    20  
    21  // GetID implements the message.Message interface.
    22  func (*MessageLedControl) GetID() uint32 {
    23  	return 186
    24  }