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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package storm32
     4  
     5  // Message reporting the current status of a gimbal manager. This message should be broadcast at a low regular rate (e.g. 1 Hz, may be increase momentarily to e.g. 5 Hz for a period of 1 sec after a change).
     6  type MessageStorm32GimbalManagerStatus struct {
     7  	// Gimbal ID (component ID or 1-6 for non-MAVLink gimbal) that this gimbal manager is responsible for.
     8  	GimbalId uint8
     9  	// Client who is currently supervisor (0 = none).
    10  	Supervisor MAV_STORM32_GIMBAL_MANAGER_CLIENT `mavenum:"uint8"`
    11  	// Gimbal device flags currently applied. Same flags as reported by GIMBAL_DEVICE_ATTITUDE_STATUS.
    12  	DeviceFlags GIMBAL_DEVICE_FLAGS `mavenum:"uint16"`
    13  	// Gimbal manager flags currently applied.
    14  	ManagerFlags MAV_STORM32_GIMBAL_MANAGER_FLAGS `mavenum:"uint16"`
    15  	// Profile currently applied (0 = default).
    16  	Profile MAV_STORM32_GIMBAL_MANAGER_PROFILE `mavenum:"uint8"`
    17  }
    18  
    19  // GetID implements the message.Message interface.
    20  func (*MessageStorm32GimbalManagerStatus) GetID() uint32 {
    21  	return 60011
    22  }