| EH3
& EH3-R / ServoPod / PS2 Wireless Control Rev. 2.
Updated 09/27/2005 This project is based on code that was written and modified by Mike Keesling and Randy Dumse. Thanks guys! This software has been verified to work with the MadCatz wireless Playstation 2 controller only. The robot's motion can be controlled either with the MadCatz Playstation 2 controller or from the serial port on the ServoPod. We will publish the format for the serial port control soon. In the meantime this tutorial will use only the MadCatz Playstation 2 controller. |
![]() Image of Hexapod 3 & 3-R. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Step
1. In order to control the robot we need an input device. Plug in the Playstation 2 controller connector cable as shown in Figure 1. You can also refer to Table 1-1. Then plug the controller receiver module into the connector cable. Make sure you have fresh batteries in your controller.
|
![]() Figure 1. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Step
2. Download the Program Download the program from Table 2-1. Now go to the terminal program. By typing [alt] D the terminal program will bring up an Open File Dialog. Just click to where you have put the EH3-R program and click Open. It will then be transferred to the ServoPod. FYI, you can then do one of the following three options to start the program. Type
STARTUP |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Step
3. Use the Program Make sure your PS2 controller is turned on. Turn on the ServoPod. Press the Analog / Digital button on the MadCatz controller to put it into Analog mode. This is verified by the illumination of the red LED. Now select a gait, use the Triangle button for a Tripod gait. The robot should start walking right away. Use the Up and Down on the D-pad (the cross-shaped pad on the left) to adjust the body height. Use the Left and Right on the D-pad to adjust the leg lift. The speed and direction are controlled by using the Right joystick. A light touch on the joystick will provide you with the best results. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Step
4. Serial Commands Make sure your ServoPod is connected via the serial port. You may want to set the bot on something so that the feet aren't touching the ground. Turn on the ServoPod. The screen should say the following: WALKER CODE EH-3R Note, you must use CAPITAL letters for all commands; lower case won't work. Now select a gait. Use the "G" key followed by 1-8 for different gaits. Ex: "G3" would be gait three. "G0" (g-zero) is stop, and "GO" (g-oh) is resume with previously selected gait. If no gait has been selected before "GO" (g-oh) is commanded, then gait 1 will be used. The robot should start walking right away. Use the "W" and "Z" keys to adjust the body height. Use the "A" and "S" keys to adjust the leg lift (reach). Use the "I" and "M" keys to adjust the speed (stride). Use the "J" and "K" keys to adjust the direction (vector). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||