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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // The RAW pressure readings for the typical setup of one absolute pressure and one differential pressure sensor. The sensor values should be the raw, UNSCALED ADC values.
     6  type MessageRawPressure struct {
     7  	// 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.
     8  	TimeUsec uint64
     9  	// Absolute pressure (raw)
    10  	PressAbs int16
    11  	// Differential pressure 1 (raw, 0 if nonexistent)
    12  	PressDiff1 int16
    13  	// Differential pressure 2 (raw, 0 if nonexistent)
    14  	PressDiff2 int16
    15  	// Raw Temperature measurement (raw)
    16  	Temperature int16
    17  }
    18  
    19  // GetID implements the message.Message interface.
    20  func (*MessageRawPressure) GetID() uint32 {
    21  	return 28
    22  }