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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package ardupilotmega
     4  
     5  // Configure an OSD parameter slot.
     6  type MessageOsdParamConfig struct {
     7  	// System ID.
     8  	TargetSystem uint8
     9  	// Component ID.
    10  	TargetComponent uint8
    11  	// Request ID - copied to reply.
    12  	RequestId uint32
    13  	// OSD parameter screen index.
    14  	OsdScreen uint8
    15  	// OSD parameter display index.
    16  	OsdIndex uint8
    17  	// Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string
    18  	ParamId string `mavlen:"16"`
    19  	// Config type.
    20  	ConfigType OSD_PARAM_CONFIG_TYPE `mavenum:"uint8"`
    21  	// OSD parameter minimum value.
    22  	MinValue float32
    23  	// OSD parameter maximum value.
    24  	MaxValue float32
    25  	// OSD parameter increment.
    26  	Increment float32
    27  }
    28  
    29  // GetID implements the message.Message interface.
    30  func (*MessageOsdParamConfig) GetID() uint32 {
    31  	return 11033
    32  }