All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.wsyjlly.mavlink.common.enums.MavPowerStatus Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package cn.wsyjlly.mavlink.common.enums;

import cn.wsyjlly.mavlink.annotation.MavlinkEnum;
import cn.wsyjlly.mavlink.annotation.MavlinkEnumEntry;

/**********************************
 * Author YSW
 * Description
 * Date 2020.11.09 - 03:37
 *
 **********************************/

@MavlinkEnum(name = "MAV_POWER_STATUS")
public enum  MavPowerStatus {
	
	/**
	 * main brick power supply valid
	 */
	@MavlinkEnumEntry(value = 1,description = "main brick power supply valid")
	MAV_POWER_STATUS_BRICK_VALID(),
	
	/**
	 * main servo power supply valid for FMU
	 */
	@MavlinkEnumEntry(value = 2,description = "main servo power supply valid for FMU")
	MAV_POWER_STATUS_SERVO_VALID(),
	
	/**
	 * USB power is connected
	 */
	@MavlinkEnumEntry(value = 4,description = "USB power is connected")
	MAV_POWER_STATUS_USB_CONNECTED(),
	
	/**
	 * peripheral supply is in over-current state
	 */
	@MavlinkEnumEntry(value = 8,description = "peripheral supply is in over-current state")
	MAV_POWER_STATUS_PERIPH_OVERCURRENT(),
	
	/**
	 * hi-power peripheral supply is in over-current state
	 */
	@MavlinkEnumEntry(value = 16,description = "hi-power peripheral supply is in over-current state")
	MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT(),
	
	/**
	 * Power status has changed since boot
	 */
	@MavlinkEnumEntry(value = 32,description = "Power status has changed since boot")
	MAV_POWER_STATUS_CHANGED(),
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy