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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // The positioning status, as reported by GPS. This message is intended to display status information about each satellite visible to the receiver. See message GLOBAL_POSITION_INT for the global position estimate. This message can contain information for up to 20 satellites.
     6  type MessageGpsStatus struct {
     7  	// Number of satellites visible
     8  	SatellitesVisible uint8
     9  	// Global satellite ID
    10  	SatellitePrn [20]uint8
    11  	// 0: Satellite not used, 1: used for localization
    12  	SatelliteUsed [20]uint8
    13  	// Elevation (0: right on top of receiver, 90: on the horizon) of satellite
    14  	SatelliteElevation [20]uint8
    15  	// Direction of satellite, 0: 0 deg, 255: 360 deg.
    16  	SatelliteAzimuth [20]uint8
    17  	// Signal to noise ratio of satellite
    18  	SatelliteSnr [20]uint8
    19  }
    20  
    21  // GetID implements the message.Message interface.
    22  func (*MessageGpsStatus) GetID() uint32 {
    23  	return 25
    24  }