# 无线电控制(遥控)设置

*遥控器设置 *界面是用来映射遥控器的摇杆(如横滚、俯仰、偏航以及油门)通道,校准最小值和最大值和遥控器的正反向设置。

可以使用操纵杆代替遥控器手动控制。 COM_RC_IN_MODE参数可以设置来定义启用哪种类型的手动控制器。 :::

# 绑定接收机

在你校准遥控器之前,遥控器的发射机和接收机需要绑定(对频)。 发射机和接收机对频的方法各有不同(请参照您使用的遥控器的说明书) 提醒:如果您使用的是 Spektrum 的接收机, 提醒:如果您使用的是 FrSky 的接收机,您可以在发射机上进行绑定(对频),下面是介绍。

如果您使用Spektrum接收器,您可以使用QGroundControl置于绑定模式,如下面所示。 :::

如果您使用FrSky接收器,您可以在按照此处 (opens new window)的说明与发射机进行绑定。 :::

# RC Loss Detection

PX4 needs to be able to detect when the signal from the RC controller has been lost in order to be able to take appropriate safety measures.

RC receivers have different ways of indicating signal loss:

  • Output nothing (automatically detected by PX4)
  • Output a low throttle value (you can configure PX4 to detect this).
  • 输出最后收到的信号(无法被 PX4 检测,因为它看起来像是有效输入)。

If your RC receiver does not support outputting no signal on RC loss, you must configure it to set throttle low instead, and set the corresponding value in RC_FAILS_THR.

The way to do this is to set the RC controller trim and throttle stick as low as possible, and use the resulting output PWM value in both PX4 and the receiver (read your receiver manual to determine how to set the RC loss value). Then reset the throttle stick trim back to its normal position. This process ensures that the RC loss value is below the minimum value output by the receiver in normal operation.

注解

Do not use a receiver that cannot support one of the two supported RC loss detection methods!

# 执行校准

The calibration process is straightforward - you will be asked to move the sticks in a specific pattern that is shown on the transmitter diagram on the top right of the screen.

To calibrate the radio:

  1. 打开您的 RC 发射机。

  2. 打开 QGroundControl 并连接上机体。

  3. 在上面的工具条中选择 齿轮 图标(机体设置),然后在左面的工具条中选择 遥控器 按钮。

  4. 点击 OK 开始校准。

    遥控器设置-开始之前

  5. 设置和你遥控相匹配的 发射机模式(即左右手)(这个确保在下面的校准中 QGroundControl 准确显示摇杆的位置)

    遥控器设置-移动摇杆

  6. 按照文字(在遥控器的图上)提示移动摇杆的位置。 当摇杆到达位置,点击 下一步 。 重复上述步骤。

  7. 当出现提示,移动所有开关和旋钮到最大行程(你可以在 通道监视器 上看到他们指示条的移动)。

  8. 点击 下一步 保存设置。

Radio calibration is demonstrated in the autopilot setup video here (opens new window) (youtube).

# 其他的遥控器设置

As well as calibrating your control sticks and other transmitter controls, there are a number of additional radio setup options that you may find useful on this screen.

# Spectrum 对频

在你校准遥控器之前,遥控器的发射机和接收机需要绑定(对频)。 如果你使用的是 Spektrum 的接收机,你可以按照下面的提示,使用 QGroundControl 将它设置到 绑定(对频)模式 (如果你没有简便的物理方式用接收机连接飞控,这个会挺好用)。

To bind a Spektrum transmitter/receiver:

  1. 选择 Spektrum 绑定 按钮。

  2. 选择接收机上的 “radio” 按钮。

  3. 点击 OK

    Spektrum对频

  4. 按着对频按钮,打开你的 Spektrum 遥控器。

# 复制微调

This setting is used to copy the manual trim settings from your radio transmitter so that they can be applied automatically within the autopilot. After this is done you will need to remove the manually set trims.

注解

Trim settings are used to adjust the roll, pitch, yaw such that when you center the sticks on your remote control, you get stable or level flight (in Stabilized flight mode). Some RC controllers provide trim knobs that allow you to provide an offset to the value sent by the RC controller for each stick position. 这里的微调设置将偏移量转移到了自驾仪中。 :::

To copy the trims:

  1. 选择 微调

  2. 摇杆居中,油门杆最低。

  3. 点击 Ok

    复制微调

  4. 设置遥控器器微调为0。

# 辅助通道

AUX passthrough channels allow you to control arbitrary optional hardware from your transmitter (for example, a gripper).

To use the AUX passthrough channels:

  1. 映射2个遥控器控制来隔离通道。

  2. 如下所示,依次映射这些通道到端口 AUX1 和 AUX2。 设置后,保存到自驾仪。

    遥控器的AUX1和AUX2通道

The flight controller will pass through the unmodified values from the specified channels out of AUX1/AUX2 to the connected servos/relays that drive your hardware.

# 参数调试通道

Tuning channels allow you to map a transmitter tuning knob to a parameter (so that you can dynamically modify a parameter from your transmitter).

提示

This feature is provided to enable manual in-flight tuning: Multicopter PID Tuning Guide, Fixed-wing PID Tuning Guide. :::

The channels used for parameter tuning are assigned in the Radio setup (here!), while the mapping from each tuning channel to its associated parameter is defined in the Parameter editor.

To set up tuning channels:

  1. 映射3个遥控器通道(旋钮或滑块开关)来分离通道。

  2. Select the mapping of PARAM Tuning Id to radio channels, using the selection lists. 设置后,保存到自驾仪。

    映射遥控器通道到调试通道

To map a PARAM tuning channel to a parameter:

  1. Open the Parameters sidebar.

  2. Select the parameter to map to your transmitter (this will open the Parameter Editor).

  3. Check the Advanced Settings checkbox.

  4. Click the Set RC to Param... button (this will pop-up the foreground dialog displayed below)

    映射调试通道到参数

  5. Select the tuning channel to map (1, 2 or 3) from the Parameter Tuning ID selection list.

  6. Press OK to close the dialog.

  7. Press Save to save all changes and close the Parameter Editor.

提示

You can clear all parameter/tuning channel mappings by selecting menu Tools > Clear RC to Param at the top right of the Parameters screen. :::

# 更多信息