ROS2_02 - 8BitsCoding/RobotMentor GitHub Wiki

๋‚ด์šฉ์ •๋ฆฌ๋Š” ๋‹ค์Œ์—... Gitthub์ฐธ๊ณ ํ•˜๋ฉด ์‰ฝ๊ฒŒ ๋งŒ๋“ค์ˆ˜ ์žˆ์Œ...


ROS1 Bridge source file ์ƒ์„ฑ

$ gedit /home/user/.bashrc_bridge
# ROS Bridge
export ROS1_DISTRO=melodic
export ROS2_DISTRO=crystal

source /opt/ros/$ROS_DISTRO/setup.bash
source /opt/ros/$ROS2_DISTRO/local_setup.bash

source /home/user/catkin_ws/devel/setup.bash
source /home/user/ros2_ws/install/local_setup.bash
$ gedit /home/user/.bashrc_ros1
# ROS1
export ROS_DISTRO=melodic

source /opt/ros/$ROS_DISTRO/setup.bash
source /home/user/catkin_ws/devel/setup.bash
$ gedit /home/user/.bashrc_ros2
# ROS2
export ROS_DISTRO=crystal

source /opt/ros/$ROS_DISTRO/setup.bash
source /home/user/ros2_ws/install/local_setup.bash