Flight Controller/Sensor Orientation

By default the flight controller (and external compass(es), if present) should be placed on the frame top-side up, oriented so that the arrow points towards the front of the vehicle. If the board or an external compass are mounted in any other orientation then you will need configure this in the firmware.

Calculating Orientation

YAW, PITCH and/or ROLL offsets are calculated relative to the forward-facing-upright orientation (clock-wise rotation around the Z, Y and X axis, respectively). This frame is referred to as the body frame and the default orientation as ROTATION_NONE.

For example, the vehicles shown below have rotations around the z-axis (only) corresponding to: ROTATION_NONE, ROTATION_YAW_90,ROTATION_YAW_180,ROTATION_YAW_270.

Yaw Rotation

Setting the Orientation

To set the orientations:

  1. Start QGroundControl and connect the vehicle.
  2. 在工具栏选择 齿轮 图标 (机体设置),然后在侧边栏选择 传感器
  3. Select the Set Orientations button.
  4. Select the AutoPilot Orientation (as calculated above).

  5. Select the External Compass Orientation in the same way (this option will only be displayed if your vehicle has an external compass).

  6. Press OK.

Fine Tuning

You can use Level Horizon Calibration to compensate for small miss-alignments in controller orientation and to level the horizon in flight view.

更多信息:

© PX4 Dev Team. License: CC BY 4.0            Updated: 2018-12-13 19:36:53

results matching ""

    No results matching ""