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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package development
     4  
     5  // Set temporary maximum limits for horizontal speed, vertical speed and yaw rate.
     6  // The consumer must stream the current limits in VELOCITY_LIMITS at 1 Hz or more (when limits are being set).
     7  // The consumer should latch the limits until a new limit is received or the mode is changed.
     8  type MessageSetVelocityLimits struct {
     9  	// System ID (0 for broadcast).
    10  	TargetSystem uint8
    11  	// Component ID (0 for broadcast).
    12  	TargetComponent uint8
    13  	// Limit for horizontal movement in MAV_FRAME_LOCAL_NED. NaN: Field not used (ignore)
    14  	HorizontalSpeedLimit float32
    15  	// Limit for vertical movement in MAV_FRAME_LOCAL_NED. NaN: Field not used (ignore)
    16  	VerticalSpeedLimit float32
    17  	// Limit for vehicle turn rate around its yaw axis. NaN: Field not used (ignore)
    18  	YawRateLimit float32
    19  }
    20  
    21  // GetID implements the message.Message interface.
    22  func (*MessageSetVelocityLimits) GetID() uint32 {
    23  	return 354
    24  }