From 88caf9e5ca28a41e05e071ddd0dc874f399429c2 Mon Sep 17 00:00:00 2001 From: Aqil Date: Fri, 6 Dec 2024 05:52:18 +0000 Subject: [PATCH] #35 Added an md so i dont remember how to launch lmao --- ros2_ws/ros2.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ros2_ws/ros2.md diff --git a/ros2_ws/ros2.md b/ros2_ws/ros2.md new file mode 100644 index 0000000..9ccea94 --- /dev/null +++ b/ros2_ws/ros2.md @@ -0,0 +1,29 @@ +# ROS2 Quick Start + +## File structure + +- ros2_ws + - package1 + - package2 + + +## To craete changes +1. Make a change +2. Colcon build +3. Source the package? + +## To launch a package + +1. Build the package -> +Note: from ws level +colcon build +colcon build --packages-select + +2. Source ros2 installation and package setup file: +Note: from ws level +. install/setup.bash + +3. run launch file +Note: you can either launch at workspace level or in the launch folder +ros2 launch +ros2 launch