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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll,dupl,gocritic
     3  package matrixpilot
     4  
     5  import (
     6  	"github.com/bluenviron/gomavlib/v2/pkg/dialects/common"
     7  )
     8  
     9  // Flags in the HIL_SENSOR message indicate which fields have updated since the last message
    10  type HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_FLAGS
    11  
    12  const (
    13  	// None of the fields in HIL_SENSOR have been updated
    14  	HIL_SENSOR_UPDATED_NONE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_NONE
    15  	// The value in the xacc field has been updated
    16  	HIL_SENSOR_UPDATED_XACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XACC
    17  	// The value in the yacc field has been updated
    18  	HIL_SENSOR_UPDATED_YACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YACC
    19  	// The value in the zacc field has been updated
    20  	HIL_SENSOR_UPDATED_ZACC HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZACC
    21  	// The value in the xgyro field has been updated
    22  	HIL_SENSOR_UPDATED_XGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XGYRO
    23  	// The value in the ygyro field has been updated
    24  	HIL_SENSOR_UPDATED_YGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YGYRO
    25  	// The value in the zgyro field has been updated
    26  	HIL_SENSOR_UPDATED_ZGYRO HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZGYRO
    27  	// The value in the xmag field has been updated
    28  	HIL_SENSOR_UPDATED_XMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_XMAG
    29  	// The value in the ymag field has been updated
    30  	HIL_SENSOR_UPDATED_YMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_YMAG
    31  	// The value in the zmag field has been updated
    32  	HIL_SENSOR_UPDATED_ZMAG HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ZMAG
    33  	// The value in the abs_pressure field has been updated
    34  	HIL_SENSOR_UPDATED_ABS_PRESSURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_ABS_PRESSURE
    35  	// The value in the diff_pressure field has been updated
    36  	HIL_SENSOR_UPDATED_DIFF_PRESSURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_DIFF_PRESSURE
    37  	// The value in the pressure_alt field has been updated
    38  	HIL_SENSOR_UPDATED_PRESSURE_ALT HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_PRESSURE_ALT
    39  	// The value in the temperature field has been updated
    40  	HIL_SENSOR_UPDATED_TEMPERATURE HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_TEMPERATURE
    41  	// Full reset of attitude/position/velocities/etc was performed in sim (Bit 31).
    42  	HIL_SENSOR_UPDATED_RESET HIL_SENSOR_UPDATED_FLAGS = common.HIL_SENSOR_UPDATED_RESET
    43  )