睿思凯(FrSky)数传功能

睿思凯遥测功能允许你在兼容的遥控器发射机上访问载具的 遥测或状态信息

有效的 遥测信息如下所示,包括:飞行模式、电池信息、遥控信号强度、速度、高度等。 某些型号的发射机还可以提供声音和震动的反馈,这对于低电量和其他故障安全警告特别有用。

PX4平台支持睿思凯的 S.port(新)和D.port(旧)两种类型的遥测数据接口。

硬件安装

A typical hardware setup for the Pixhawk/S.Port telemetry connection is shown below.

FrSky-Taranis-遥测

The diagram below shows only the connection for telemetry! You will still need to separately connect the reciever for RC channels.

The setup includes:

  • 一个睿思凯兼容遥控发射机,比如睿思凯 Taranis X9D Plus;
  • 一个睿思凯遥测接收机,比如XSR和X8R;
  • A cable to connect the FrSky receiver Smart Port to a flight controller UART.

    Except for Pixracer, Pixhawk-series UART ports and receiver telemetry ports are incompatible, and must (usually) be connected via an adapter.

    Usually it is cheaper and easier to buy a ready made cable that contains this adapter and has the appropriate connectors for the autopilot and receiver. Creating a DIY cable requires electronics assembly expertise.

成品转接线缆

Ready-made cables (which include the required adapters) are available from:

  • Craft and Theory. 以下版本是可用的,DF-13 兼容PicoBlade 接头 (for FMUv2/3DR Pixhawk, FMUv2/HKPilot32) 和JST-GH 接头 (for FMUv3/Pixhawk 2 "The Cube" /FMUv4/PixRacer v1).

    从 Craft and Theory 购买转接线材。

PX4 Configuration

Configure the serial port on which FrSky will run using TEL_FRSKY_CONFIG. There is no need to set the baud rate for the port, as this is configured by the driver.

您可以使用任何可用的 uart, 但通常 TELEM 2 用于 frsky 遥测 (Pixracer 除外, 默认情况下, 它被预先配置为使用 FrSky 端口)。

如果配置参数在 QGroundControl 中不可用, 则可能需要 添加驱动程序到固件 </1 >: drivers/telemetry/frsky_telemetry</p> </blockquote>

No further configuration is required; FrSky telemetry auto-starts when connected and detects D or S mode.

兼容遥控发射机

You will need an RC transmitter that can receive the telemetry stream (and that is bound to the FrSky receiver).

Popular alternatives include:

  • FrSky Taranis X9D Plus(推荐)
  • FrSky Taranis X9D
  • FrSky Taranis X9E
  • FrSky Taranis Q X7
  • Turnigy 9XR Pro

The above transmitters can display telemetry data without any further configuration. The following section(s) explain how you can customise telemetry display (for example, to create a better UI/UX).

Taranis脚本设置(LuaPilot)

Compatible Taranis receivers (e.g. X9D Plus) running OpenTX 2.1.6 or newer can use the LuaPilot script to modify the displayed telemetry (as shown in the screenshot below).

Telemetry Screen on the Taranis

Instructions for installing the script can be found here: LuaPilot Taranis Telemetry script > Taranis Setup OpenTX 2.1.6 or newer

If you open the LuaPil.lua script with a text editor, you can edit the configuration. Suggested modifications include:

  • local BattLevelmAh = -1 使用载机计算的电池信息;
  • local SayFlightMode = 0没有可供PX4飞行模式使用的WAV音频文件 遥测信息

遥测信息

FrySky Telemetry can transmit most of the more useful status information from PX4. S-Port and D-Port receivers transmit different sets of messages, as listed in the following sections.

S-Port

S-Port receivers transmit the following messages from PX4 (from here):

  • AccX, accy, accz:加速度计数值。
  • Alt:基于气压计的高度, 初始化水平为零。
  • Curr:实际电流消耗 (安培)。
  • Fuel:电池容量参数和 smartport_fuel_percent = on</1 >参数设置好了, 则剩余电池剩余容量百分比,否则显示电池消耗容量时, 。</li>
  • Alt:基于气压计的高度, 初始化水平为零。
  • GPS:gps 坐标。
  • GSpd:当前相对水平地面速度, 由 gps 计算。
  • Hdg:机头朝向 (正北为 0°)。
  • VFAS:实际电池电压值 (电压 frsky 安培传感器)。
  • Vspd:垂直速度 (cm/s)。
  • Tmp1:飞行模式, 作为整数发送: 18-手动, 23-定高, 22-定位, 27-任务, 26-保持, 28-返航, 19-特技, 24 0 离线, 20-自稳, 21-速率, 25-起飞, 29-下降, 30-跟随。
  • Tmp2:gps 信息。 最右边的数字是 gps 定位类型 (0 = 无, 2 = 2d, 3 = 3d)。 其他数字是卫星的数量。
  • </ul>

px4 不支持以下 "标准" s 端口消息: ASpdA4

D-port

D-Port receivers transmit the following messages (from here):

  • AccX, accy, accz:加速度计数值。
  • Alt:基于气压计的高度, 初始化水平为零。
  • Cels:平均电池电压值 (电池电压除以电池片数)。
  • Curr:实际电流消耗 (安培)。
  • Fuel:如果设置了容量, 则剩余电池百分比, 否则显示消耗电量。
  • Date:通电后运行时间。
  • Alt:基于气压计的高度, 初始化水平为零。
  • GPS:gps 坐标。
  • GSpd:当前速度, 由 gps 计算。
  • Hdg:机头朝向 (正北为 0°)。
  • RPM:解锁后为油门数值, 否则为电池容量。 请注意, 在Taranis上,电池片数需要设置为12。
  • Tmp1:飞行模式 (适用于 s-port)。
  • Tmp2:gps 信息 (适用于 s-port)。
  • VFAS:实际电池电压值 (电压 frsky 安培传感器)。
  • Vspd:垂直速度 (cm/s)。

睿思凯遥测接收机

Pixhawk/PX4 supports D (old) and S (new) FrSky telemetry. The table belows all FrSky receivers that support telemetry via a D/S.PORT (in theory all of these should work).

值得注意的是,下面列出的X系列接收机是推荐可用的,如XSR、X8R。 R系列和G系列还没有经过测试团队的测试,但是应该也是可以工作的。

接收机 范围 集成输出 数字遥测输入 尺寸 重量
D4R-II 1.5km CPPM (8) D.Port 40x22.5x6mm 5.8g
D8R-XP 1.5km CPPM (8) D.Port 55x25x14mm 12.4g
D8R-II Plus 1.5km D.Port 55x25x14mm 12.4g
X4R 1.5km CPPM (8) Smart Port 40x22.5x6mm 5.8g
X4R-SB 1.5km S.Bus (16) Smart Port 40x22.5x6mm 5.8g
X6R / S6R 1.5km S.Bus (16) Smart Port 47.42×23.84×14.7mm 15.4g
X8R / S8R 1.5km S.Bus (16) Smart Port 46.25 x 26.6 x 14.2mm 16.6g
XSR / XSR-M 1.5km S.Bus (16) / CPPM (8) Smart Port 26x19.2x5mm 3.8g
RX8R 1.5km S.Bus (16) Smart Port 46.25x26.6x14.2mm 12.1g
RX8R PRO 1.5km S.Bus (16) Smart Port 46.25x26.6x14.2mm 12.1g
R-XSR 1.5km S.Bus (16) / CPPM (8) Smart Port 16x11x5.4mm 1.5g
G-RX8 1.5km S.Bus (16) Smart Port + integrated vario 55.26178mm 5.8g
R9 10km S.Bus (16) Smart Port 43.3x26.8x13.9mm 15.8g
R9 slim 10km S.Bus (16) Smart Port 43.3x26.8x13.9mm 15.8g

以上列表信息来源于: http://www.redsilico.com/frsky-receiver-chart and FrSky product documentation.

自制转接线缆

It is possible to create your own cables. You will need connectors that are appropriate for your autopilot (e.g. JST-GH connectors for FMUv3/Pixhawk 2 "The Cube" and FMUv4/PixRacer v1, and DF-13 compatible PicoBlade connectors for older autopilots).

The Pixracer includes electronics for converting between S.PORT and UART signals, but for other boards you will need a UART to S.PORT adapter. These can be sourced from:

More information about the connections for different boards is given below.

Pixracer to S-port 接收机

Connect the Pixracer FrSky TX and RX lines together (solder the wires together) to the X series receiver's S.port pin. GND need not be attached as this will have been done when attaching to S.Bus (normal RC connection).

The S-port connection is shown below (using the provided I/O Connector).

Grau b Pixracer FrSkyS.Port Connection

Pixracer FrSkyS.Port Connection

Pixracer to D-port 接收机

绝大多数用户现在更倾向于使用S.port。

Connect the Pixracer FrSky TX line (FS out) to the receiver's RX line. Connect the Pixracer FrSky RX line (FS in) to the receivers TX line. GND need not be connected as this will have been done when attaching to RC/SBus (for normal RC).

<!-- Image would be nice -->

Pixhawk Pro

Pixhawk 3 Pro can be connected to TELEM4 (no additional software configuration is needed). You will need to connect via a UART to S.PORT adapter board, or a ready-made cable.

其他飞控板

Most other boards connect to the receiver for FrSky telemetry via the TELEM2 UART. This includes, for example: Pixhawk 1, mRo Pixhawk, Pixhawk2.

You will need to connect via a UART to S.PORT adapter board, or a ready-made cable.

<!-- ideally add diagram here -->

更多信息

For additional information, see the following links:

© PX4 Dev Team. License: CC BY 4.0            Updated: 2024-02-13 22:49:01

results matching ""

    No results matching ""