diff --git a/non-ros-files/Programming_Rules.md b/non-ros-files/Programming_Rules.md index fc08369..2a4f051 100644 --- a/non-ros-files/Programming_Rules.md +++ b/non-ros-files/Programming_Rules.md @@ -67,3 +67,6 @@ This is also done in the background when creating a new package and defining dep for example `ros2 pkg create pubsub_2 --dependencies std_msgs` This command creates the new package `pubsub_2` but already links it to the ROS standard messages `std_msgs` so they are available. + +## pubsub/ +The example package `pubsub/` contains a directory of the same name as the package. This is where you place your Python scripts. Inside this directory you are free to do as you please, however keep in mind that you need to link your main script (eg. `listener.py`) to a name later on (using _setup.py_).