This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
cs:controllers:start [2017/01/14 21:15] Brandon Kallaher [Gamepad] |
cs:controllers:start [2022/04/15 02:29] (current) Chris Nathman [Running] |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| The keyboard controller has two methods for controlling the sub. The first is through qweasdzxc control. q/e control the yaw of the sub. wasd control linear movements in the x-y plane. z/c control the dive. | The keyboard controller has two methods for controlling the sub. The first is through qweasdzxc control. q/e control the yaw of the sub. wasd control linear movements in the x-y plane. z/c control the dive. | ||
| + | ==== Running ==== | ||
| + | The keyboard can be run using the following command: | ||
| + | <code bash> | ||
| + | ros2 run robosub keyboard_control | ||
| + | </code> | ||
| + | ==== 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. | ||