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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package ardupilotmega
     4  
     5  // Control on-board Camera Control System to take shots.
     6  type MessageDigicamControl struct {
     7  	// System ID.
     8  	TargetSystem uint8
     9  	// Component ID.
    10  	TargetComponent uint8
    11  	// 0: stop, 1: start or keep it up //Session control e.g. show/hide lens.
    12  	Session uint8
    13  	// 1 to N //Zoom's absolute position (0 means ignore).
    14  	ZoomPos uint8
    15  	// -100 to 100 //Zooming step value to offset zoom from the current position.
    16  	ZoomStep int8
    17  	// 0: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus.
    18  	FocusLock uint8
    19  	// 0: ignore, 1: shot or start filming.
    20  	Shot uint8
    21  	// Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once.
    22  	CommandId uint8
    23  	// Extra parameters enumeration (0 means ignore).
    24  	ExtraParam uint8
    25  	// Correspondent value to given extra_param.
    26  	ExtraValue float32
    27  }
    28  
    29  // GetID implements the message.Message interface.
    30  func (*MessageDigicamControl) GetID() uint32 {
    31  	return 155
    32  }