PX4 · configuration
TF02-Pro、TF02-Pro-W 接入 PX4 UART / TTL / CAN / UART:接入与配置指南
TF02-Pro、TF02-Pro-W 接入 PX4 的准备、连接、配置与代码要点。原始文件可在资料下载区获取。涉及接口:UART / TTL、CAN、UART。
适用范围
TF02-Pro、TF02-Pro-W · PX4 · UART / TTL、CAN、UART
原始英文技术说明
Configuring TF02-pro with TTL interface using Pixhawk (Px4 Firmware)
Introduction
the guide provides first-time testers with instructions on how to test TF02-pro using Pixhawk (Px4 Firmware).
Applicable product model of the guide :TF02-pro-TTL(Confirm the hardware version and firmware version of the product before testing.)
Test Preparation
----------------------------------- ----------------------------------- Preparing Tools Number
PC with windows system 1
4pin dubond wires 1
TF02-pro-TTL 1Pixhawk(PX4 ) 1
QGroundControl
Px4 Firmware px4fmu-v3main1.13.px4 ----------------------------------- -----------------------------------
Px4 Firmware Burning
To upgrade firmware using QGC ground station, go to Vehicle Setup -> Firmware page of QGC
Use USB to connect to the flight control, select ‘PX4Pro’ in the pop-up firmware Settings, check ‘Advanced Settings’, and select ‘Custom firmware’.
After loading our test firmware’px4fmu-v3main1.13.px4’, we enter the upgrade process.
Wait for the upgrade progress bar to complete.
Hardware Configuration
The Pixhawk is connected to the LiDAR and the computer (note that the LiDAR ID matches the ID set by the computer), as shown below:
(schematic diagram)
[f73edd1c451de2b9890d0bd66f36192]
(Connection Example - for reference only)
Parameters Settings
Go to the Parameters page in the Settings and enter the keyword TF in the search box to find it easily, and find SENSTFMINICFG to select a flight control serial port, as shown below
After restarting your device, you should see something like the following:
The parameters are described as follows:
SENSTFMINICFG //Select a flight control serial port
SENSTFMINNIMAXD //The maximum ranging setting for the x-th TF device in cm
SENSTFMINNIMIND //The minimum ranging setting for the x-th TF device in cm
ENSTFMINIROT //Set sensor orientation
Here, the serial port is set to TELEM2, the maximum distance is 4000cm, the minimum distance is 10cm, and the direction is forward, as shown below:
[] []
[] []
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 TF02-pro with TTL interface using Pixhawk (Px4 Firmware) · 英文原文(DOCX)填写信息后下载
