[real] 整理 ROS 2/C++ Sim2Real 初版

This commit is contained in:
2026-07-27 16:56:43 +08:00
parent 3bf6eb0c4c
commit 302b6acc64
62 changed files with 6355 additions and 2 deletions
@@ -0,0 +1,22 @@
version: '3.8'
services:
sim2real_ros2:
build:
context: .
dockerfile: Dockerfile
container_name: sim2real_ros2_node
runtime: nvidia
network_mode: host
privileged: true
stdin_open: true
tty: true
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
cap_add:
- SYS_NICE
shm_size: '2gb'
volumes:
- /dev:/dev
restart: unless-stopped