Page 266 - Hacking Roomba
P. 266

Chapter 12 — Going Wireless with Wi-Fi               247



                             Testing It All

                             If you can ping and telnet to the WiMicro with its new IP address, remove the wall wart
                             power and plug in the Roomba prototyping plug. Then plug the assembly into the robot as
                             shown in Figure 12-11. The WiMicro Power LED should light as soon as you plug it into the
                             robot and within a few seconds it should be ping-able again. Turn on Roomba by pressing the
                             Power button, and start sending ROI commands to it through port 10001 of the WiMicro.




































                             FIGURE 12-11: Testing the bare WiMicro


                             As in the previous chapter, you can use the roombacomm.net.SimpleTest program to test
                             Roomba. All the roombacomm.net API will work with a Wi-Fi Roomba as well as it does
                             with an Ethernet Roomba. In fact, try out roombacomm.net.SimpleTest now. From the
                             settings used above, invoking the test program would look like this:
                             demo% cd roombacomm
                             demo% ./runit.sh roombacomm.net.SimpleTest 192.168.0.90:10001
   261   262   263   264   265   266   267   268   269   270   271