当前位置:网站首页>ROS learning -5 how function packs with the same name work (workspace coverage)
ROS learning -5 how function packs with the same name work (workspace coverage)
2022-06-13 02:07:00 【Jerry-hao】
If you have a lot of workspaces and feature packs , Nodes with the same name may affect each other
Workspace has a,b,c
Under each workspace there is hello Function pack , that , Which workspace is the function package ?
[email protected]:~$ env | grep ros
LD_LIBRARY_PATH=/home/xrh/ROStest/devel/lib:/home/xrh/testmoveit/devel/lib:/opt/ros/melodic/lib
ROS_ETC_DIR=/opt/ros/melodic/etc/ros
CMAKE_PREFIX_PATH=/home/xrh/ROStest/devel:/home/xrh/testmoveit/devel:/opt/ros/melodic
ROS_ROOT=/opt/ros/melodic/share/ros
PYTHONPATH=/opt/ros/melodic/lib/python2.7/dist-packages
ROS_PACKAGE_PATH=/home/xrh/ROStest/src:/home/xrh/testmoveit/src/beginner_tutorials:/home/xrh/testmoveit/src/moveit_tutorials:/home/xrh/testmoveit/src/panda_moveit_config:/opt/ros/melodic/share
PATH=/opt/ros/melodic/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PKG_CONFIG_PATH=/home/xrh/ROStest/devel/lib/pkgconfig:/home/xrh/testmoveit/devel/lib/pkgconfig:/opt/ros/melodic/lib/pkgconfig
[email protected]:~$
env You can see the environment variables of the whole system
Use grep You can just watch and ROS dependent .
Most in need of attention ROS_PACKAGE_PATH=
After running a feature pack , The system will ROS_PACKAGE_PATH= Start , Look backward in turn , When you find a node, use it , If you don't find it, look back . If more than one workspace has a feature pack with the same name , Once you find it, you won't look back

边栏推荐
- Restful interface specification annotation of pringboot (2)
- Stm32 mpu6050 servo pan tilt support follow
- Why is "iFLYTEK Super Brain 2030 plan" more worthy of expectation than "pure" virtual human
- C语言压缩字符串保存到二进制文件,从二进制文件读取压缩字符串后解压。
- Decompression and compression of chrome resource file Pak
- [the fourth day of actual combat of stm32f401ret6 smart lock project in 10 days] voice control is realized by externally interrupted keys
- js获取元素
- [arithmetic, relation, logic, bit, compound assignment, self increasing, self decreasing and other] operators (learning note 4 -- C language operators)
- [unity] problems encountered in packaging webgl project and their solutions
- 10 days based on stm32f401ret6 smart lock project practice day 1 (environment construction and new construction)
猜你喜欢

如何解决通过new Date()获取时间写出数据库与当前时间相差8小时问题【亲测有效】

Installing Oracle with docker for Mac

Simple ranging using Arduino and ultrasonic sensors

Learning notes 51 single chip microcomputer keyboard (non coding keyboard and coding keyboard, scanning mode of non coding keyboard, independent keyboard, matrix keyboard)
![[51nod.3210] binary Statistics (bit operation)](/img/37/aa4a549deebf994b0049d41d49ff12.jpg)
[51nod.3210] binary Statistics (bit operation)

华为设备配置CE双归属
![[programming idea] communication interface of data transmission and decoupling design of communication protocol](/img/cd/896d1bcad556ffcbf1007bc984afeb.jpg)
[programming idea] communication interface of data transmission and decoupling design of communication protocol

华为设备配置私网IP路由FRR

Devexpress implementation flow chart

Uniapp preview function
随机推荐
柏瑞凯电子冲刺科创板:拟募资3.6亿 汪斌华夫妇为大股东
[the 4th day of the 10 day smart lock project based on stm32f401ret6] what is interrupt, interrupt service function, system tick timer
Use mediapipe+opencv to make a simple virtual keyboard
Vivo released originos ocean, and the domestic customized system is getting better and better
Establishment of microservice development environment
Devaxpress Chinese description --tcxpropertiesstore (property store recovery control)
js-dom
The method of drawing rounded panel with Delphi
Decoding iFLYTEK open platform 2.0 is a fertile land for developers and a source of industrial innovation
Restrict cell input type and display format in CXGRID control
Mac下搭建MySQL环境
反爬虫策略(ip代理、设置随机休眠时间、哔哩哔哩视频信息爬取、真实URL的获取、特殊字符的处理、时间戳的处理、多线程处理)
[work notes] xr872 codec driver migration and application program example (with chip debugging method)
记录:如何解决MultipartFile类的transferTo()上传图片报“系统找不到指定的路径“问题【亲测有效】
rsync 傳輸排除目錄
Learning notes 51 single chip microcomputer keyboard (non coding keyboard and coding keyboard, scanning mode of non coding keyboard, independent keyboard, matrix keyboard)
Implementation of pointer linked list
Opencv camera calibration (1): internal and external parameters, distortion coefficient calibration and 3D point to 2D image projection
Sensor: sht30 temperature and humidity sensor testing ambient temperature and humidity experiment (code attached at the bottom)
Sqlserver2008 denied select permission on object'***** '(database'*****', schema'dbo')