当前位置:网站首页>Local rviz call and display of remote rostopic
Local rviz call and display of remote rostopic
2022-07-03 06:22:00 【Daytime plus】
hypothesis
Robotic IP: 192.168.0.11 // remote computer (robot)
Local PC Of IP: 192.168.0.111 // local computer Ubuntu (host)
see IP Address method : Reference resources 1, Reference resources 2
Local PC adopt ssh Link remote robot , Such as utilization Mobaxterm or VSCode
Input the following commands in the remote command line terminal :
export ROS_MASTER_URI=http://192.168.0.11:11311 //this ensures that we do not use localhost, but the real IP address as master node
export ROS_IP=192.168.0.11 //this ensures that ROS knows that we cannot use hostname directly (due to DHCP firewall issues)
then
roscore
Remote plug usb camera , Reference resources ROS call USB Binocular camera module call usb_cam, After running through, there will be the following pile topic:
Then turn on the local PC Terminal , Enter the following command :
export ROS_MASTER_URI=http://192.168.0.11:11311 //tells local computer to look for the remote here
export ROS_IP=192.168.0.111 //this ensures that ROS knows that we cannot use hostname directly (due to DHCP firewall issues)
“11311” What does it mean? I haven't cleared it yet …… Thank you for telling me in the comment area !
then
rosrun rviz rviz // fires up rviz on local computer. It will attach to the master node of the remote computer

Using the above export Every time you open a terminal, you have to input it .
If you use more , For convenience , You can also modify environment variables directly :
sudo gedit ~/.bashrc //add the two export commands at the end of the file.
source ~/.bashrc //and restart terminal
however Remember to remove the top when you don't need it export The order of !
Reference
ROS The journey ( 6、 ... and ) Distal rviz monitor
rviz Remote desktop startup problem solved , Multi machine distributed local operation rviz
Ubuntu see IP Address
ubuntu see ip Address order ( How to be in Ubuntu Check your IP Address )
边栏推荐
- Characteristics and isolation level of database
- 使用conda创建自己的深度学习环境
- Interface test weather API
- Scripy learning
- Advanced technology management - do you know the whole picture of growth?
- The most responsible command line beautification tutorial
- 从小数据量 MySQL 迁移数据到 TiDB
- Page text acquisition
- Luogu problem list: [mathematics 1] basic mathematics problems
- Kubernetes notes (IV) kubernetes network
猜你喜欢
![[system design] proximity service](/img/4a/2e68536cbe385af1d1a591e674fbf0.png)
[system design] proximity service

Tabbar settings

arcgis创建postgre企业级数据库

Une exploration intéressante de l'interaction souris - pointeur

Project summary --04

Kubesphere - build Nacos cluster

Svn branch management

IE browser flash back, automatically open edge browser

轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷

YOLOV3学习笔记
随机推荐
SVN分支管理
Kubesphere - build MySQL master-slave replication structure
从小数据量分库分表 MySQL 合并迁移数据到 TiDB
Synthetic keyword and NBAC mechanism
Request weather interface format, automation
从小数据量 MySQL 迁移数据到 TiDB
In depth learning
CKA certification notes - CKA certification experience post
项目总结--2(Jsoup的基本使用)
The most responsible command line beautification tutorial
Zhiniu stock project -- 05
Leetcode solution - 02 Add Two Numbers
Migrate data from Amazon aurora to tidb
数值法求解最优控制问题(一)——梯度法
Oauth2.0 - user defined mode authorization - SMS verification code login
Cesium 点击获三维坐标(经纬度高程)
Interesting research on mouse pointer interaction
深入解析kubernetes controller-runtime
YOLOV1学习笔记
Mysql database table export and import with binary