github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/matrixpilot/enum_estimator_status_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 ESTIMATOR_STATUS message
    10  type ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_STATUS_FLAGS
    11  
    12  const (
    13  	// True if the attitude estimate is good
    14  	ESTIMATOR_ATTITUDE ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_ATTITUDE
    15  	// True if the horizontal velocity estimate is good
    16  	ESTIMATOR_VELOCITY_HORIZ ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_VELOCITY_HORIZ
    17  	// True if the  vertical velocity estimate is good
    18  	ESTIMATOR_VELOCITY_VERT ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_VELOCITY_VERT
    19  	// True if the horizontal position (relative) estimate is good
    20  	ESTIMATOR_POS_HORIZ_REL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_HORIZ_REL
    21  	// True if the horizontal position (absolute) estimate is good
    22  	ESTIMATOR_POS_HORIZ_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_HORIZ_ABS
    23  	// True if the vertical position (absolute) estimate is good
    24  	ESTIMATOR_POS_VERT_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_VERT_ABS
    25  	// True if the vertical position (above ground) estimate is good
    26  	ESTIMATOR_POS_VERT_AGL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_POS_VERT_AGL
    27  	// True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow)
    28  	ESTIMATOR_CONST_POS_MODE ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_CONST_POS_MODE
    29  	// True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate
    30  	ESTIMATOR_PRED_POS_HORIZ_REL ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_PRED_POS_HORIZ_REL
    31  	// True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate
    32  	ESTIMATOR_PRED_POS_HORIZ_ABS ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_PRED_POS_HORIZ_ABS
    33  	// True if the EKF has detected a GPS glitch
    34  	ESTIMATOR_GPS_GLITCH ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_GPS_GLITCH
    35  	// True if the EKF has detected bad accelerometer data
    36  	ESTIMATOR_ACCEL_ERROR ESTIMATOR_STATUS_FLAGS = common.ESTIMATOR_ACCEL_ERROR
    37  )