PX4 · configuration
RDS02UF 接入 PX4 UART / TTL / CAN / UART · CUAV V5:接入与配置指南
RDS02UF 接入 PX4 的准备、连接、配置与代码要点。原始文件可在资料下载区获取。涉及接口:UART / TTL、CAN、UART。
适用范围
RDS02UF · PX4 · UART / TTL、CAN、UART · CUAV V5
原始英文技术说明
Configuring RDS02UF with TTL interface using CUAV_V5 (Px4 Firmware)
Introduction
the guide provides first-time testers with instructions on how to test the RDS02UF using CUAV_V5 with Px4 Firmware.
Applicable product model of the guide :RDS02UF
Applicable communication interface : TTL
The products covered by the test : RDS02UF
Test Preparation
----------------------------------- ----------------------------------- Preparing Tools Number
PC with windows system 1
4pin dubond wires 1
RDS02UF-TTL 1CUAV_V5 1
QGroundControl
Px4 Firmware px4fmu-v5default.px4
DC POWER SUPPLY 1 ----------------------------------- -----------------------------------
Px4 Firmware Burning
To upgrade firmware using QGC ground station, go to Vehicle Setup -> Firmware page of QGC
[1667529395097]
Use USB to connect to the CUAV_V5, select ‘PX4Pro’ in the pop-up firmware Settings, check ‘Advanced Settings’, and select ‘Custom firmware’.
After loading our test firmware’px4fmu-v5default.px4’, we enter the upgrade process.
Wait for the upgrade progress bar to complete.
Hardware Configuration
CUAV_V5 is connected to Millimeter Wave Radar and computer (note that the Millimeter Wave Radar ID matches the ID set by the computer), and connected to the power supply, as shown in the following figure:
(schematic diagram)
[95152ac96bc4b183348132bbf72f813]
(Connection Example - for reference only)
Parameters Settings
Go to the Parameters page in the Settings and enter the keyword RDS02 in the search box to find SENSRDS02CFG, and select the communication serial port TELEM1,as shown below:
[1669793634623]
Parameter changes require a restart to take effect.After restarting your device, you should see something like the following:
The parameters are described as follows:
SENSRDS02CFG //Select communication serial port
SENSRDS02ROT //Setting sensor orientation
Here, the serial port is set as TELEM1, and the direction is forward (obstacle avoidance), as shown below:(if the direction is downward ,it is altitude hold.)
[1669793945465]
After restarting the device, the ranging value can be seen on the flight interface.
Data Test
Edit the data sheet below the QGC flight interface and add the range display value.
Click the pen flag to enter the edit mode, and click the value to modify the display content and modify the display of the ranging direction value.
After modification, the display effect is as follows:
使用说明
按原始资料可读取的技术内容编排;具体的产品硬件版本、飞控/软件版本和现场安全边界仍应以原始资料及目标平台当前文档为准。
资料与下载
- Configuring RDS02UF with TTL interface using CUAV_V5 (Px4 Firmware) · 英文原文(DOCX)填写信息后下载
