当前位置:网站首页>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 )
边栏推荐
- Project summary --2 (basic use of jsup)
- Kubernetes notes (VI) kubernetes storage
- Print time Hahahahahaha
- 论文笔记 VSALM 文献综述《A Comprehensive Survey of Visual SLAM Algorithms》
- Cesium 点击获取模型表面经纬度高程坐标(三维坐标)
- Oauth2.0 - user defined mode authorization - SMS verification code login
- POI dealing with Excel learning
- Request weather interface format, automation
- 2022 CISP-PTE(三)命令执行
- Apifix installation
猜你喜欢

Skywalking8.7 source code analysis (II): Custom agent, service loading, witness component version identification, transform workflow

YOLOV3学习笔记

ThreadLocal的简单理解

JMeter linked database

Use selenium to climb the annual box office of Yien

Advanced technology management - do you know the whole picture of growth?

In depth analysis of kubernetes controller runtime

Kubesphere - set up redis cluster

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

How to scan when Canon c3120l is a network shared printer
随机推荐
Kubernetes notes (VIII) kubernetes security
Read blog type data from mysql, Chinese garbled code - solved
认识弹性盒子flex
CKA certification notes - CKA certification experience post
Oauth2.0 - Introduction and use and explanation of authorization code mode
【C#/VB.NET】 将PDF转为SVG/Image, SVG/Image转PDF
项目总结--01(接口的增删改查;多线程的使用)
学习笔记 -- k-d tree 和 ikd-Tree 原理及对比
ROS+Pytorch的联合使用示例(语义分割)
.NET程序配置文件操作(ini,cfg,config)
Shell conditional statement
MySQL带二进制的库表导出导入
Tabbar settings
堆排序和优先队列
arcgis创建postgre企业级数据库
phpstudy设置项目可以由局域网的其他电脑可以访问
论文笔记 VSALM 文献综述《A Comprehensive Survey of Visual SLAM Algorithms》
Method of converting GPS coordinates to Baidu map coordinates
Synthetic keyword and NBAC mechanism
Project summary --01 (addition, deletion, modification and query of interfaces; use of multithreading)