File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Feedback control (also called closed-loop control) means that we are using
8
8
sensor readings (in this case the output pose of the snake) in order to create
9
9
our control signal that we send to the snake. As a block diagram, it may look
10
10
like this:
11
+
11
12
![ heading controller] ( images/heading-controller.png )
12
13
13
14
This node is also going to handle the linear velocity command too. We're just
@@ -23,8 +24,8 @@ in the `nodes` directory to house our code. We'll call this file
23
24
24
25
Note that it is general practice not to add a ` .py ` file extension to nodes.
25
26
This is because the file name becomes the name of the node when building our
26
- package with catkin. Ex: ` roslaunch snake_controller snake_heading_controller`
27
- is cleaner than ` roslaunch snake_controller snake_heading_controller.py` .
27
+ package with catkin. Ex: ` rosrun snake_controller snake_heading_controller`
28
+ is cleaner than ` rosrun snake_controller snake_heading_controller.py` .
28
29
29
30
Let's start the file by writing a shebang and docstring.
30
31
``` python
You can’t perform that action at this time.
0 commit comments