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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // Publishes the GPS coordinates of the vehicle local origin (0,0,0) position. Emitted whenever a new GPS-Local position mapping is requested or set - e.g. following SET_GPS_GLOBAL_ORIGIN message.
     6  type MessageGpsGlobalOrigin struct {
     7  	// Latitude (WGS84)
     8  	Latitude int32
     9  	// Longitude (WGS84)
    10  	Longitude int32
    11  	// Altitude (MSL). Positive for up.
    12  	Altitude int32
    13  	// Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
    14  	TimeUsec uint64 `mavext:"true"`
    15  }
    16  
    17  // GetID implements the message.Message interface.
    18  func (*MessageGpsGlobalOrigin) GetID() uint32 {
    19  	return 49
    20  }