public enum MavCmdPreflightSetSensorOffsets extends Enum<MavCmdPreflightSetSensorOffsets>
| 枚举常量和说明 |
|---|
PARAM_1
Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow, 5: second magnetometer
|
PARAM_2
X axis offset (or generic dimension 1), in the sensor's raw units
|
PARAM_3
Y axis offset (or generic dimension 2), in the sensor's raw units
|
PARAM_4
Z axis offset (or generic dimension 3), in the sensor's raw units
|
PARAM_5
Generic dimension 4, in the sensor's raw units
|
PARAM_6
Generic dimension 5, in the sensor's raw units
|
PARAM_7
Generic dimension 6, in the sensor's raw units
|
| 限定符和类型 | 方法和说明 |
|---|---|
static MavCmdPreflightSetSensorOffsets |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MavCmdPreflightSetSensorOffsets[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MavCmdPreflightSetSensorOffsets PARAM_1
public static final MavCmdPreflightSetSensorOffsets PARAM_2
public static final MavCmdPreflightSetSensorOffsets PARAM_3
public static final MavCmdPreflightSetSensorOffsets PARAM_4
public static final MavCmdPreflightSetSensorOffsets PARAM_5
public static final MavCmdPreflightSetSensorOffsets PARAM_6
public static final MavCmdPreflightSetSensorOffsets PARAM_7
public static MavCmdPreflightSetSensorOffsets[] values()
for (MavCmdPreflightSetSensorOffsets c : MavCmdPreflightSetSensorOffsets.values()) System.out.println(c);
public static MavCmdPreflightSetSensorOffsets valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.