diff --git a/non-ros-files/Programming_Rules.md b/non-ros-files/Programming_Rules.md index 2d51da8..1b36bbd 100644 --- a/non-ros-files/Programming_Rules.md +++ b/non-ros-files/Programming_Rules.md @@ -29,10 +29,10 @@ The next chapters will describe the content of the files inside a package direct ## setup.py -The file `//setup.py` defines how to call your scripts using the command line. This results in commands such as +The file `//setup.py` defines how you can call your scripts using a self defined in the command line. This results in commands such as `ros2 run pubsub talker` `ros2 run pubsub listener`. -This is done by linking the names _talker_ and _listener_ to the Python scripts of your choice, eg. +This is done by linking the correct Python scripts to the names _talker_ and _listener_ using the file _setup.py_, eg. ```python entry_points={ 'console_scripts': [ @@ -41,4 +41,4 @@ entry_points={ ], }, ``` -From this you can see that you need to follow the Python programming style of creating a _main_ procedure, in order for the entry point to work. +From this you can see that you need to follow the Python programming style of creating a _main_ procedure, in order for the entry points to work.