-
Install Docker using the convenience script
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh
-
Manage Docker as a non-root user (Optional)
sudo usermod -aG docker $USER newgrp docker
-
Authenticating to the Container registry
export CR_PAT=YOUR_TOKEN echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
-
拉取镜像
docker pull ghcr.io/chenjunnn/rm_pioneer_vision:latest
-
运行视觉代码
docker run --name vision --privileged --network=host \ ghcr.io/chenjunnn/rm_pioneer_vision:latest
如果不希望容器一启动就运行程序,可以在命令的最后加上
zsh
替代默认指令,进入zsh shell -
使用
exec
命令进入容器docker exec -it vision zsh
-
设置开机自启
sudo systemctl enable docker.service sudo systemctl enable containerd.service docker update --restart always vision
-
安装 rocker 用于运行GUI程序 (Optional)
sudo apt install python3-rocker
- 启动rviz2
rocker --x11 --devices /dev/dri/card0 \ ghcr.io/chenjunnn/rm_pioneer_vision:latest rviz2
-
Notifications
You must be signed in to change notification settings - Fork 27
SCNU PIONEER 2022 视觉代码
License
liqianqi/rm_pioneer_vision
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
SCNU PIONEER 2022 视觉代码
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published