当前位置:网站首页>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 )
边栏推荐
- 学习笔记 -- k-d tree 和 ikd-Tree 原理及对比
- Shell conditional statement
- 从小数据量 MySQL 迁移数据到 TiDB
- Various usages of MySQL backup database to create table select and how many days are left
- ROS+Pytorch的联合使用示例(语义分割)
- The mechanical hard disk is connected to the computer through USB and cannot be displayed
- Selenium ide installation recording and local project maintenance
- JMeter linked database
- 【系统设计】邻近服务
- arcgis创建postgre企业级数据库
猜你喜欢

Method of converting GPS coordinates to Baidu map coordinates

Project summary --04
![[set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)](/img/a4/00aca72b268f77fe4fb24ac06289f5.jpg)
[set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)

How to scan when Canon c3120l is a network shared printer

Kubesphere - build Nacos cluster

有意思的鼠标指针交互探究

Use selenium to climb the annual box office of Yien

Docker advanced learning (container data volume, MySQL installation, dockerfile)

Synthetic keyword and NBAC mechanism

【5G NR】UE注册流程
随机推荐
Redis cluster creation, capacity expansion and capacity reduction
项目总结--01(接口的增删改查;多线程的使用)
Migrate data from Amazon aurora to tidb
Kubernetes cluster environment construction & Deployment dashboard
arcgis创建postgre企业级数据库
Clickhouse learning notes (I): Clickhouse installation, data type, table engine, SQL operation
Oauth2.0 - user defined mode authorization - SMS verification code login
The win7 computer can't start. Turn the CPU fan and stop it
Clickhouse learning notes (2): execution plan, table creation optimization, syntax optimization rules, query optimization, data consistency
Tabbar settings
Migrate data from Mysql to tidb from a small amount of data
Zhiniu stock -- 03
Mysql
Simple understanding of ThreadLocal
Oracle Database Introduction
Push box games C #
How to scan when Canon c3120l is a network shared printer
Kubernetes notes (VII) kuberetes scheduling
MySQL帶二進制的庫錶導出導入
scroll-view指定滚动元素的起始位置