Skip to content

Commit

Permalink
#35 Added an md so i dont remember how to launch lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
aqil18 committed Dec 6, 2024
1 parent 5213e2d commit 88caf9e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions ros2_ws/ros2.md
Original file line number Diff line number Diff line change
@@ -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 <package_name>

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 <launch_file_name>
ros2 launch <package_name> <launch_file_name>

0 comments on commit 88caf9e

Please sign in to comment.