-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#35 Added an md so i dont remember how to launch lmao
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |