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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll,dupl,gocritic
     3  package ardupilotmega
     4  
     5  import (
     6  	"github.com/bluenviron/gomavlib/v2/pkg/dialects/common"
     7  )
     8  
     9  // Battery mode. Note, the normal operation mode (i.e. when flying) should be reported as MAV_BATTERY_MODE_UNKNOWN to allow message trimming in normal flight.
    10  type MAV_BATTERY_MODE = common.MAV_BATTERY_MODE
    11  
    12  const (
    13  	// Battery mode not supported/unknown battery mode/normal operation.
    14  	MAV_BATTERY_MODE_UNKNOWN MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_UNKNOWN
    15  	// Battery is auto discharging (towards storage level).
    16  	MAV_BATTERY_MODE_AUTO_DISCHARGING MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_AUTO_DISCHARGING
    17  	// Battery in hot-swap mode (current limited to prevent spikes that might damage sensitive electrical circuits).
    18  	MAV_BATTERY_MODE_HOT_SWAP MAV_BATTERY_MODE = common.MAV_BATTERY_MODE_HOT_SWAP
    19  )