当前位置:网站首页>Analysis of startup process of gazebo multi computer simulation
Analysis of startup process of gazebo multi computer simulation
2022-06-30 06:19:00 【Smoking hot】
The website links
The image below shows px4_sitl Connection mode with each module .
Systematic API/Offboard,GCS Partially through UDP Connect , Can run on the same computer or another computer on the same network .
The emulator is partially via local TCP port 4560 And PX4_sitl Connected to a . Then the simulator uses Simulator MAVLink API And PX4 Exchange information .
1. Gazebo Model file
1)gazebo The model is defined as xacro file ,xacro Files can be used to generate urdf file . Path as follows :
Every gazebo The model should have a name mavlink_udp_port Parameters of , It defines the Gazebo And PX4 Node communication UDP port . Model xacro The file will be used to generate the... Containing your choice UDP Port of urdf Model . To define the UDP port , Please set... For each vehicle in the startup file mavlink_udp_port, See here for an example .
2. px4_sitl
1)px4_sitl adopt gazebo Defined in the model mavlink_udp_port And Gazebo Simulator communication .
2) stay PX4 SITL app End settings UDP port , You need to set... In the startup file SITL_UDP_PRT Parameters , Match the previous discussion mavlink_udp_port.
Each aircraft corresponds to a startup file rcs,rcs It contains px4 Parameters of , Path as follows :
param set SITL_UDP_PRT 14562
3)launch Start file in file rcs The path is based on the vehicle and ID Parameter generated , As shown below :
arg name=“rcS” value=" ( f i n d p x 4 ) / p o s i x − c o n f i g s / S I T L / i n i t / (find px4)/posix-configs/SITL/init/ (findpx4)/posix−configs/SITL/init/(arg est)/KaTeX parse error: Expected group after '_' at position 14: (arg vehicle)_̲(arg ID)"
3. MAVROS
- mavros Nodes can be set separately in launch In file , As shown below :
2) If you want to use ROS Control drones , You must be in the boot file rcs Set up independent MAVLink stream Port number
This port number must be the same as the boot port number mavros Of launch The port number in the file is consistent ,
边栏推荐
- Configure the user to log in to the device through telnet -- AAA local authentication
- 拼多多店铺搜索相关问题,为什么新品上架搜索不到
- 583. 两个字符串的删除操作-动态规划
- Collection and method of traversing collection elements (1)
- Common address collection
- Detailed description of methods in the interface
- 880. decoded string at index
- Basic use of markdown
- ES6 deconstruction assignment
- ES6 array
猜你喜欢
Feisheng: Based on the Chinese word breaker ik-2 ways to build custom hot word separators Showcase & pit arrangement Showtime
File operation io-part1
Use and principle of completionservice (source code analysis)
DXP copper laying settings
飞升:基于中文分词器IK-2种自定义热词分词器构建方式showcase & 排坑showtime
MySQL數據庫用戶管理
CompletableFuture从了解到精通,你想知道的这里都有
图像处理7-图像增强
Strlen and sizeof, array length and string length, don't be silly
CompletionService使用及原理(源码分析)
随机推荐
[untitled]
Title: enter two positive integers m and N to find their maximum common divisor and minimum common multiple
Zibll子比主题V6.4.1wordpress 开心版源码下载_破解原版/直接使用/无需教程
requests. The difference between session () sending requests and using requests to send requests directly
Develop stylelint rules from zero (plug-ins)
[ansible series] fundamentals 02 module debug
Potential bottleneck of redis
多线程进阶篇
ES6 array
MySQL數據庫用戶管理
SHELL
Ten years' miscellaneous thoughts
CompletableFuture从了解到精通,你想知道的这里都有
Decompilation normal decompilation problems. Solve them yourself
Unable to access the Internet at win10 /11 hotspot
Cocos studio3.1 installation package win
Loading class `com. mysql. jdbc. Driver‘. This is deprecated. The new driver class is `com. mysql. cj. jdb
New project folder based on PIO plug-in in vscode -- Interpretation
Learn fpga---ram IP core and key parameters from the bottom structure
MySQL log management, data backup and recovery