Skip to content

Commit

Permalink
Merge branch 'ros2' into ros2-dev-bake
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuya-ishihara committed Dec 19, 2024
2 parents c183da9 + 4a5a066 commit 1b296d2
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
19 changes: 12 additions & 7 deletions docker-compose-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ services:
service: localization-dev-base
environment:
# rtklib
RTK_STR_IN: ${RTK_STR_IN}
CABOT_SITE: ${CABOT_SITE} # if RTK_STR_IN is not specified, RTK_STR_IN will be loaded from CABOT_SITE
BAUD_UBLOX: ${BAUD_UBLOX:-230400}
- RTK_STR_IN
- CABOT_SITE # if RTK_STR_IN is not specified, RTK_STR_IN will be loaded from CABOT_SITE
- BAUD_UBLOX=${BAUD_UBLOX:-230400}
tty: true
stdin_open: true
command: /launch_rtklib.sh
Expand All @@ -248,9 +248,9 @@ services:
service: localization-prod-base
environment:
# rtklib
RTK_STR_IN: ${RTK_STR_IN}
CABOT_SITE: ${CABOT_SITE} # if RTK_STR_IN is not specified, RTK_STR_IN will be loaded from CABOT_SITE
BAUD_UBLOX: ${BAUD_UBLOX:-230400}
- RTK_STR_IN
- CABOT_SITE # if RTK_STR_IN is not specified, RTK_STR_IN will be loaded from CABOT_SITE
- BAUD_UBLOX=${BAUD_UBLOX:-230400}
tty: true
stdin_open: true
command: /launch_rtklib.sh
Expand Down Expand Up @@ -289,14 +289,19 @@ services:
- XAUTHORITY=/tmp/.docker.xauth
- NVIDIA_DRIVER_CAPABILITIES=compute,graphics,utility,video,display
- NVIDIA_VISIBLE_DEVICES=all
- ROS_LOG_DIR
- CABOT_ROSBAG_BACKEND
- CABOT_ROSBAG_COMPRESSION
- CABOT_ROSBAG_RECORD_CAMERA
- CABOT_ROSBAG_SEPARATE_LOG
- CABOT_SHOW_ROS2_LOCAL_RVIZ
# ROS2/DDS
- ROS_LOG_DIR
- RMW_IMPLEMENTATION
- ROS_LOCALHOST_ONLY
- ROS_DOMAIN_ID
- CYCLONEDDS_URI
- CYCLONEDDS_NETWORK_INTERFACE_NAME
- CYCLONEDDS_NETWORK_INTERFACE_AUTODETERMINE # set automatically by launch.sh
volumes:
# device, bluetooth
- /dev:/dev
Expand Down
5 changes: 5 additions & 0 deletions docker-compose-mapping-gazebo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ services:
- CABOT_MODEL
- PLAYBAG_RATE_CARTOGRAPHER
- PLAYBAG_RATE_PC2_CONVERT
# ROS2/DDS
- ROS_LOG_DIR
- RMW_IMPLEMENTATION
- ROS_DOMAIN_ID
- ROS_LOCALHOST_ONLY
- CYCLONEDDS_URI
- CYCLONEDDS_NETWORK_INTERFACE_NAME
- CYCLONEDDS_NETWORK_INTERFACE_AUTODETERMINE
volumes:
- /dev:/dev
- /sys/devices:/sys/devices
Expand Down
12 changes: 12 additions & 0 deletions docker-compose-mapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@ services:
- CABOT_MODEL
- PLAYBAG_RATE_CARTOGRAPHER
- PLAYBAG_RATE_PC2_CONVERT
# ROS2/DDS
- ROS_LOG_DIR
- RMW_IMPLEMENTATION
- ROS_DOMAIN_ID
- ROS_LOCALHOST_ONLY
- CYCLONEDDS_URI
- CYCLONEDDS_NETWORK_INTERFACE_NAME
- CYCLONEDDS_NETWORK_INTERFACE_AUTODETERMINE
# ntrip client
- NTRIP_CLIENT # rtklib, str2str_node, or ntrip_client
- NTRIP_CLIENT_START_AT_LAUNCH=${NTRIP_CLIENT_START_AT_LAUNCH:-0}
Expand Down Expand Up @@ -90,7 +95,14 @@ services:
- XAUTHORITY=/tmp/.docker.xauth
- NVIDIA_DRIVER_CAPABILITIES=compute,graphics,utility,video,display
- NVIDIA_VISIBLE_DEVICES=all
# ROS2/DDS
- ROS_LOG_DIR
- RMW_IMPLEMENTATION
- ROS_DOMAIN_ID
- ROS_LOCALHOST_ONLY
- CYCLONEDDS_URI
- CYCLONEDDS_NETWORK_INTERFACE_NAME
- CYCLONEDDS_NETWORK_INTERFACE_AUTODETERMINE
volumes:
- ./docker/home:/home/developer
- ./cabot-navigation/cabot:/home/developer/diagnostic_ws/src/cabot
Expand Down

0 comments on commit 1b296d2

Please sign in to comment.