public enum MavMode extends Enum<MavMode>
| 枚举常量和说明 |
|---|
MAV_MODE_AUTO_ARMED
System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by MISSIONs)
|
MAV_MODE_AUTO_DISARMED
System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by MISSIONs)
|
MAV_MODE_GUIDED_ARMED
System is allowed to be active, under autonomous control, manual setpoint
|
MAV_MODE_GUIDED_DISARMED
System is allowed to be active, under autonomous control, manual setpoint
|
MAV_MODE_MANUAL_ARMED
System is allowed to be active, under manual (RC) control, no stabilization
|
MAV_MODE_MANUAL_DISARMED
System is allowed to be active, under manual (RC) control, no stabilization
|
MAV_MODE_PREFLIGHT
System is not ready to fly, booting, calibrating, etc.
|
MAV_MODE_STABILIZE_ARMED
System is allowed to be active, under assisted RC control.
|
MAV_MODE_STABILIZE_DISARMED
System is allowed to be active, under assisted RC control.
|
MAV_MODE_TEST_ARMED
UNDEFINED mode.
|
MAV_MODE_TEST_DISARMED
UNDEFINED mode.
|
public static final MavMode MAV_MODE_PREFLIGHT
public static final MavMode MAV_MODE_STABILIZE_DISARMED
public static final MavMode MAV_MODE_STABILIZE_ARMED
public static final MavMode MAV_MODE_MANUAL_DISARMED
public static final MavMode MAV_MODE_MANUAL_ARMED
public static final MavMode MAV_MODE_GUIDED_DISARMED
public static final MavMode MAV_MODE_GUIDED_ARMED
public static final MavMode MAV_MODE_AUTO_DISARMED
public static final MavMode MAV_MODE_AUTO_ARMED
public static final MavMode MAV_MODE_TEST_DISARMED
public static final MavMode MAV_MODE_TEST_ARMED
public static MavMode[] values()
for (MavMode c : MavMode.values()) System.out.println(c);
public static MavMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.