public enum MavCmdPreflightCalibration extends Enum<MavCmdPreflightCalibration>
| 枚举常量和说明 |
|---|
PARAM_1
Gyro calibration: 0: no, 1: yes
|
PARAM_2
Magnetometer calibration: 0: no, 1: yes
|
PARAM_3
Ground pressure: 0: no, 1: yes
|
PARAM_4
Radio calibration: 0: no, 1: yes
|
PARAM_5
Accelerometer calibration: 0: no, 1: yes
|
PARAM_6
Compass/Motor interference calibration: 0: no, 1: yes
|
PARAM_7
Empty
|
| 限定符和类型 | 方法和说明 |
|---|---|
static MavCmdPreflightCalibration |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MavCmdPreflightCalibration[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MavCmdPreflightCalibration PARAM_1
public static final MavCmdPreflightCalibration PARAM_2
public static final MavCmdPreflightCalibration PARAM_3
public static final MavCmdPreflightCalibration PARAM_4
public static final MavCmdPreflightCalibration PARAM_5
public static final MavCmdPreflightCalibration PARAM_6
public static final MavCmdPreflightCalibration PARAM_7
public static MavCmdPreflightCalibration[] values()
for (MavCmdPreflightCalibration c : MavCmdPreflightCalibration.values()) System.out.println(c);
public static MavCmdPreflightCalibration valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.