Page 219 - PDA Robotics Using Your Personal Digital Assistant to Control Your Robot
P. 219
PDA 10 5/27/03 8:51 AM Page 195
10
The PDA
Robotics
Command Center
The command center runs on a Windows 95 or better operating system
PC that is connected to the wireless network through a Network
Everywhere Cable/DSL Router. It has a Video Capture Card connected
to an X10 wireless video receiver.
From the command center, users can control PDA Robot remotely. It
can detect motion, as well as save and send images via file transfer
protocol (FTP) or simple mail transfer protocol (SMTP). When the
application starts, it listens for a connection from the PDA that is con-
trolling PDA Robot. When PDA Robot successfully logs in, users can
begin controlling the craft remotely, looking through its eyes. Figure
10.1 shows the main screen of the command center.
The Video Link
The following program is using the Video for Windows application
programming interface (API) provided by Microsoft. A window is cre-
ated in the dialog, with the Dialog window being the parent, and it is
registered as the video window.
void CBeamDlg::OnInitializeDriver()
{
//
// Display the video source window that allows the user to select the input
195
Copyright 2003 by The McGraw-Hill Companies, Inc. Click Here for Terms of Use.