ws
-
[ROS2] 3. Work Space 만들기ROS 2024. 2. 3. 15:19
1. ROS2 source 하기이전 포스트에서 마지막에 ~/.bashrc에 "source /opt/ros/humble/setup.bash" 명령어를 등록해놨다면 생략하셔도 됩니다.#터미널을 열고source /opt/ros/humble/setup.bash 2. Directory 만들기mkdir -p ~/catkin_ws/src #가운데 catkin_ws는 사용자가 원하는 이름 가능!cd ~/catkin_ws/src해당 공간이 이제 ros2 작업을 진행할 공간이다. 3. Sample repository 복사#해당 작성자는 ros2 humble 버전 사용git clone https://github.com/ros/ros_tutorials.git -b humble해당 repository는 ros_tutorials..