Webviz安装记录
webviz
docker 镜像拉取
配置daemon.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35sudo gedit /etc/docker/daemon.json
# 内容
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
},
"registry-mirrors": [
"https://mirror.tuna.tsinghua.edu.cn/docker/",
"http://hub-mirror.c.163.com",
"https://reg-mirror.com",
"https://docker.registry.cyou",
"https://docker-cf.registry.cyou",
"https://dockercf.jsdelivr.fyi",
"https://docker.jsdelivr.fyi",
"https://dockertest.jsdelivr.fyi",
"https://mirror.aliyuncs.com",
"https://dockerproxy.com",
"https://mirror.baidubce.com",
"https://docker.m.daocloud.io",
"https://docker.nju.edu.cn",
"https://docker.mirrors.sjtug.sjtu.edu.cn",
"https://docker.mirrors.ustc.edu.cn",
"https://mirror.iscas.ac.cn",
"https://docker.rainbond.cc"
]
}
# 重启docker
sudo systemctl daemon-reload
sudo systemctl restart dockerdocker run -p 8080:8080 cruise/webviz
启动rosbridge
首先安装rosbridge
1
sudo apt install ros-noetic-rosbridge-suite
启动
1
roslaunch rosbridge_server rosbridge_websocket.launch
启动ros程序,确保话题发布到ros中
访问webviz
本地访问
打开ws://localhost:8080
局域网内访问
使用ip访问
192.168.110.158:8080/?rosbridge-websocket-url=ws://192.168.110.158:9090
参考链接