github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/asluav/enum_mav_generator_status_flag.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll,dupl,gocritic 3 package asluav 4 5 import ( 6 "github.com/bluenviron/gomavlib/v2/pkg/dialects/common" 7 ) 8 9 // Flags to report status/failure cases for a power generator (used in GENERATOR_STATUS). Note that FAULTS are conditions that cause the generator to fail. Warnings are conditions that require attention before the next use (they indicate the system is not operating properly). 10 type MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG 11 12 const ( 13 // Generator is off. 14 MAV_GENERATOR_STATUS_FLAG_OFF MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OFF 15 // Generator is ready to start generating power. 16 MAV_GENERATOR_STATUS_FLAG_READY MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_READY 17 // Generator is generating power. 18 MAV_GENERATOR_STATUS_FLAG_GENERATING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_GENERATING 19 // Generator is charging the batteries (generating enough power to charge and provide the load). 20 MAV_GENERATOR_STATUS_FLAG_CHARGING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_CHARGING 21 // Generator is operating at a reduced maximum power. 22 MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER 23 // Generator is providing the maximum output. 24 MAV_GENERATOR_STATUS_FLAG_MAXPOWER MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_MAXPOWER 25 // Generator is near the maximum operating temperature, cooling is insufficient. 26 MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING 27 // Generator hit the maximum operating temperature and shutdown. 28 MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT 29 // Power electronics are near the maximum operating temperature, cooling is insufficient. 30 MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING 31 // Power electronics hit the maximum operating temperature and shutdown. 32 MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT 33 // Power electronics experienced a fault and shutdown. 34 MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT 35 // The power source supplying the generator failed e.g. mechanical generator stopped, tether is no longer providing power, solar cell is in shade, hydrogen reaction no longer happening. 36 MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT 37 // Generator controller having communication problems. 38 MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING 39 // Power electronic or generator cooling system error. 40 MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING 41 // Generator controller power rail experienced a fault. 42 MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT 43 // Generator controller exceeded the overcurrent threshold and shutdown to prevent damage. 44 MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT 45 // Generator controller detected a high current going into the batteries and shutdown to prevent battery damage. 46 MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT 47 // Generator controller exceeded it's overvoltage threshold and shutdown to prevent it exceeding the voltage rating. 48 MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT 49 // Batteries are under voltage (generator will not start). 50 MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT 51 // Generator start is inhibited by e.g. a safety switch. 52 MAV_GENERATOR_STATUS_FLAG_START_INHIBITED MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_START_INHIBITED 53 // Generator requires maintenance. 54 MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED 55 // Generator is not ready to generate yet. 56 MAV_GENERATOR_STATUS_FLAG_WARMING_UP MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_WARMING_UP 57 // Generator is idle. 58 MAV_GENERATOR_STATUS_FLAG_IDLE MAV_GENERATOR_STATUS_FLAG = common.MAV_GENERATOR_STATUS_FLAG_IDLE 59 )