This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
cs:controllers:start [2017/01/14 21:16] Brandon Kallaher [Keyboard] |
cs:controllers:start [2022/04/15 02:29] Chris Nathman [Running] |
||
---|---|---|---|
Line 28: | Line 28: | ||
==== Running ==== | ==== Running ==== | ||
The keyboard can be run using the following command: | The keyboard can be run using the following command: | ||
- | rosrun robosub keyboard_control | + | <code bash> |
+ | $ ros2 run robosub keyboard_control | ||
+ | </code> | ||
==== Controls ==== | ==== Controls ==== | ||
The second control method is the arrow keys and some other keys. The Arrow keys control the linear movement of the sub in the x-y plane. Using the arrow keys with the Ctrl key pressed control the pitch and yaw rotations. Pg-Up/Pg-Dn control the dive of the sub. | The second control method is the arrow keys and some other keys. The Arrow keys control the linear movement of the sub in the x-y plane. Using the arrow keys with the Ctrl key pressed control the pitch and yaw rotations. Pg-Up/Pg-Dn control the dive of the sub. |