Skip to content

Instantly share code, notes, and snippets.

@iKrishneel
Last active November 24, 2021 07:48
Show Gist options
  • Save iKrishneel/06ff2ea6e04089598a09215288cd0974 to your computer and use it in GitHub Desktop.
Save iKrishneel/06ff2ea6e04089598a09215288cd0974 to your computer and use it in GitHub Desktop.
version: "3"
services:
ros-azure-left:
image: sonyai/shokunin_azure:melodic
container_name: ros-azure-left
environment:
- "DISPLAY=${DISPLAY}"
- "QT_X11_NO_MITSHM=1"
- "LIBGL_ALWAYS_SOFTWARE=1"
- "LIBGL_ALWAYS_INDIRECT="
- "ROS_IP=${ROS_IP}"
- "ROS_MASTER_URI=${ROS_MASTER_URI}"
- "ROS_NAMESPACE=/000173393812"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /dev/shm:/dev/shm
privileged: true
network_mode: host
restart: "unless-stopped"
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
command: roslaunch azure_kinect_ros_driver driver.launch fps:=30 point_cloud:=false rgb_point_cloud:=false depth_mode:=NFOV_UNBINNED color_resolution:=720P sensor_sn:=000173393812
ros-azure-right:
image: sonyai/shokunin_azure:melodic
container_name: ros-azure-right
environment:
- "DISPLAY=${DISPLAY}"
- "QT_X11_NO_MITSHM=1"
- "LIBGL_ALWAYS_SOFTWARE=1"
- "LIBGL_ALWAYS_INDIRECT="
- "ROS_IP=${ROS_IP}"
- "ROS_MASTER_URI=${ROS_MASTER_URI}"
- "ROS_NAMESPACE=/001008510812"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /dev/shm:/dev/shm
privileged: true
network_mode: host
restart: "unless-stopped"
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
command: roslaunch azure_kinect_ros_driver driver.launch fps:=30 point_cloud:=false rgb_point_cloud:=false depth_mode:=NFOV_UNBINNED color_resolution:=720P sensor_sn:=001008510812
@iKrishneel
Copy link
Author

Record all topics with the namespace

$ rosbag record -b 1024  -e "(.*)000173393812(.*)"  -e "(.*)001008510812(.*)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment