当前位置:网站首页>Px4 system terminal for pixhawk
Px4 system terminal for pixhawk
2022-06-26 00:49:00 【Blue sky】
Version Description :
1. Self driving instrument :Holybro Of Pixhawk 4.
2. PX4 edition :1.13
3. The host machine :Thinkpad The notebook +Ubuntu 20.04.2 LTS
Reference resources :PX4 Consoles/Shells | PX4 User Guide
One . Making hardware interface
This interface is 3 Root line , take PC The machine USB Serial port and Pixhawk Serial port ( Also called Debug port) Connect .
1. understand Pixhawk 4 Yes IO Debug Interface and FMU Debug Definition of interface
PIXHAWK 4 There are two Debug Port, One is IO Debug Port, The other is FMU Debug Port. Both ports provide Pixhawk standard 6-Pin SH Debug Port.(6 The needle )

2. take Pixhawk 4 Of FMU Debug Port With the host USB The mouth is connected
In order to realize the system terminal , The host machine USB Need to be connected to a FTDI On the converter (FTDI Yes, it will USB A device that converts a port into a serial port ), I'm buying Pixhawk 4 Of the wire package Debug Port Adapter wire of ( See the picture below ), This wire is made of 6 The root line connects the two adapters , Can be cut from the middle , A system terminal interface , The other can be used to do J-Link Interface .

stay 6 Select... From the root line 3 Root line and FTDI The pins of the ,3 How to choose the root line , See the table below :
FMU Debug Port | FTDI |
|---|---|
1 Vtref | - |
2 Console TX | 5 |
3 Console RX | 4 |
4 SWDIO | - |
5 SWDCLK | - |
6 GND | 1 |
The finished 3 Root line will FTDI( Right connection FTDI DuPont head is used for stitching ) And FMU Debug Port Adapter port of ( White on the left ) Connect , See the picture below .

Two . Software part
1. stay Ubuntu End installation screen Software :
sudo apt-get install screen
2. Connection interface , start-up Pixhawk
Connect one end of the interface to PC Machine connection , The other end is with Pixhawk 4 Of FMU Debug Mouth connection , Then start Pixhawk.
3. function screen command
Open one linux terminal , Run the following command screen /dev/ttyXXX BAUDRATE 8N1here ttyxxx choice ttyACM1 perhaps ttyUSB0. baudrate choice 57600, such as :
sudo screen /dev/ttyUSB0 57600 8N1
here , stay screen ... appears in the interface "nsh>" Prompt , Can run nuttx command .
If you unplug the connection Pixhawk Of USB Connecting line , Then put on , You'll see PX4 stay Pixhawk Start sequence information on , Here's the picture :

边栏推荐
- Mysql5.7.31 user defined installation details
- leetcode.14 --- 最长公共前缀
- 认识map
- Apache foundation officially announced Apache inlong as a top-level project
- js数组中修改元素的方法
- Send mail tool class
- [TSP problem] solving traveling salesman problem based on Hopfield neural network with matlab code
- Types of feeder and how to work
- Run the test program using rknn-toolkit-lite2 for rk3568 development board
- “Method Not Allowed“,405问题分析及解决
猜你喜欢

flink报错:No ExecutorFactory found to execute the application

How to deliver a shelter hospital within 48 hours?

No executorfactory found to execute the application

ciscn_2019_en_2

1-11solutions to common problems of VMware virtual machine

1-10Vmware构建自定义的网络架构

Blob

C IO stream (II) extension class_ Packer

【TSP问题】基于Hopfield神经网络求解旅行商问题附Matlab代码

Is camkiia the same as gcamp6f?
随机推荐
Analyze the five root causes of product development failure
1-9network configuration in VMWare
Example: use C # Net to teach you how to develop wechat official account (21) -- using wechat to pay online collection: H5 method
Binary sort tree
Explanation of chip processing manufacturer__ What is ICT? What is the main test? Advantages and disadvantages of ICT testing?
使用VS2022編譯Telegram桌面端(tdesktop)
Atlas200dk刷机
leetcode.14 --- 最长公共前缀
Leetcode 513. Find the value in the lower left corner of the tree
1-9Vmware中网络配置
After being trapped by the sequelae of the new crown for 15 months, Stanford Xueba was forced to miss the graduation ceremony. Now he still needs to stay in bed for 16 hours every day: I should have e
What do SMT operators do? operating duty?
idea设置mapper映射文件的模板
Things / phenomena / things / things / situations / appearances
Anti shake and throttling
Research and development practice of Kwai real-time data warehouse support system
How product managers control the progress of product development
mtb13_Perform extract_blend_Super{Candidate(PrimaryAlternate)_Unique(可NULL过滤_Foreign_index_granulari
"Seamless" deployment of paddlenlp model based on openvinotm development kit
【OEM专场活动】清“芯”夏日,有奖征文