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