当前位置:网站首页>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 8N1
here 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 :
边栏推荐
- Circuit board edge removal - precautions for V-CUT splitting machine
- 11.1.1 overview of Flink_ Flink overview
- Ssl/tls, symmetric and asymmetric encryption, and tlsv1.3
- Things / phenomena / things / things / situations / appearances
- Logstash discards log data that does not match the file name exactly
- Atlas200dk刷机
- AD20(Altium Designer) PCB 高亮网络
- What are AOI, X-ray and ICT in SMT industry? What does it do?
- Camkiia et gcamp6f sont - ils les mêmes?
- Post ordered clue binary tree
猜你喜欢
Preorder and middle order traversal of forest
Display unassigned virtual address after easyconnect connection
Ad20 (Altium designer) PCB highlight network
Compiler Telegram Desktop end (tdesktop) en utilisant vs2022
Research and development practice of Kwai real-time data warehouse support system
CaMKIIa和GCaMP6f是一樣的嘛?
Atlas200dk brush machine
DPVS fullnat mode management
Idea view unit test coverage
Anaconda beginner's notes
随机推荐
Flink reports error: a JNI error has occurred, please check your installation and try again
Function and principle of SPI solder paste inspection machine
Login interceptor
[image detection] vascular tracking and diameter estimation based on Gaussian process and Radon transform with matlab code
Explanation of chip processing manufacturer__ What is ICT? What is the main test? Advantages and disadvantages of ICT testing?
机器视觉:照亮“智”造新“视”界
元宇宙中的法律与自我监管
Comprehensive introduction to Simulink solver
Compile the telegraph desktop side (tdesktop) using vs2022
Types of feeder and how to work
CaMKIIa和GCaMP6f是一样的嘛?
Idea set the template of mapper mapping file
debezium
Example: use C # Net to teach you how to develop wechat official account (21) -- using wechat to pay online collection: H5 method
SQL中只要用到聚合函数就一定要用到group by 吗?
Solution to component stele in SMT chip processing
Cloud rendering and Intel jointly create the "core" era of cloud rendering
SQL按某字段去重 保留按某个字段排序最大值
11.1.2 overview of Flink_ Wordcount case
Leetcode 513. Find the value in the lower left corner of the tree