You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--license LICENSE The license attached to this package; this can be an arbitrary string, but a LICENSE file will only be generated if it is one of the supported licenses (pass '?' to get a list)
Copy file name to clipboardExpand all lines: docs/source/editing_python_source.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,10 @@ With the project correctly configured, you can
21
21
1. move to :menuselection:`src --> python_package_with_a_node --> python_package_with_a_node`.
22
22
2. double (left) click :program:`sample_python_node.py` to open the source code, showing the contents of the Node. It is minimal to the point that it doesn't have anything related to :program:`ROS` at all.
Copy file name to clipboardExpand all lines: docs/source/workspace_setup.rst
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,22 +36,27 @@ for which the output will be something similar to
36
36
37
37
.. code :: console
38
38
39
-
Summary: 0 packages finished [0.17s]
39
+
Summary: 0 packages finished [0.08s]
40
40
41
41
given that we have an empty workspace, no surprise here.
42
42
43
43
The folders :code:`build`, :code:`install`, and :code:`log` have been generated automatically by :program:`colcon`. The project structure becomes as follows.
44
44
45
45
.. code-block:: console
46
-
:emphasize-lines: 3,4,5
46
+
:emphasize-lines: 2-4
47
47
48
48
ros2_tutorial_workspace/
49
-
└── src/
50
-
└── build/
51
-
└── install/
52
-
└── log/
49
+
|-- build
50
+
|-- install
51
+
|-- log
52
+
`-- src
53
53
54
-
Inside the :code:`install` folder lie all programs etc generated by the project that can be accessed by the users.
54
+
Inside the :code:`install` folder lie everything in the project that can be accessed by the users.
55
+
56
+
.. note::
57
+
58
+
An easy way to understand if something is not accessible via :program:`ROS2` commands is if they cannot be found
59
+
inside your `install` folder.
55
60
56
61
Do the following just once, so that all terminal windows automatically source this new workspace for you.
0 commit comments