User manual
Copyright © Dr Robot Inc. 2006
12
Figure IV.6 GUI of WiRobot Gateway on PC
The “WiRobot Gateway” will provide connection status information between the PC and the robot.
This program is required to keep running as long as the user wants to access and control the robot
through the sample applications or their custom programs. Robot data acquisitions including human
sensor, ultrasonic sensor, Infrared distance sensor, tilting sensor, potentiometer, color CMOS image
sensor, microphone, and etc. and motion control can be done by making function calls offered by the
“WiRobot SDK ActiveX Module”. Details of this ActiveX control component can be found in the
Chapter III. WiRobot SDK API Reference.
After the connection is established between the robot and the PC, user can start to use the WiRobot
system by running the sample applications offered in the WiRobot software package.
V. Building PC Applications Using SDK
This section will discuss how to program user’s applications. Several sample applications with source
code are provided to help user kick start in using the WiRobot system. All these source code will be
stored in the “SampleApps” folder under the WiRobot SDK installation location.
V.1 Using WiRobot SDK Component ActiveX Control
When user starts to write an application, he/she first adds the WiRobot SDK Component in your VB or
VC++ project. The ActiveX object is installed during the installation process and the following is a step
to step guideline showing how to incorporate the ActiveX Control into a VB 6.0 project:
. Create a new VB project