In order to write programs for specific purposes for Corobots you need to first install the following pre-requisite software:
Additionally, you need the following software if you plan to use the mentioned resources:
- A compiler of C++ or a programming environment, such as Microsoft Visual Studio C++, or Microsoft Robotics Developer Studio. These guidelines were prepared using Visual C++ Studio 2010 Express.
- The C language API for the CoroBot provided by Coroware, CAPI. The original API may be downloaded from
- However it is highly recommended to use the most recent version of CAPI adapted for the robots of CMANTIC, in which the files have been modified. The files of CAPI used by Corobots are available *here*.
- The CAPI library needs to be locally compiled in order to generate the libraries required for programming specific applications. Make sure that the file CAPI.lib is generated in:
- D:\ProgramFiles\...\CAPI\Products\Corobot\CAPI\Debug
- D:\ProgramFiles\...\CAPI\Products\Corobot\CAPI\Release
- The Phidgets drivers comprises set of building blocks to control internal components of the robots available in http://www.phidgets.com/drivers.php. These guidelines were prepared using the drivers Phidget21.
according to the modality used for compiling your own applicacions (Debug or Release).
Additionally, you need the following software if you plan to use the mentioned resources:
- Inter-robot communication. Communication among robots, and from robots to an external server is provided by a local access point. Once communicated, robots exchange information through UDP ports using Boost C++ Libraries. Below is a brief description of communication requirements.
Wireless communication facilities. Each Corobot is equipped with a wireless adapter, the DWA-130B from D-Link, with its own MAC address. Inter-robot communication in the CMANTIC is established through a server or PC host equipped with the wireless adapter RNX-G1W from Rosewill. For that you need to install the proper drivers in the PC acting as the host of the robots, available in http://www.rosewill.com/products/1117/productDetail.htm. In order to configure your access point follow these instructions.
Data exchange: In order to include exchanges of information in a program, you need to install the Boost C++ Libraries available in http://www.boost.org. These guidelines were prepared using boost_1_46_1.
- Remote logon and file transference. Once a wireless device to communicate with the robots is installed, it is possible to communicate with the robots remotely from the PC host. You can establish a remote session using tools such as puTTY. File transference can be done via ftp or WinSCP. Be sure to have installed these tools.
- StarGazer. Indoor localization is supported by the StarGazer Robot Localization System from Hagisonic.
- Camera. Visual object detection and recognition is performed by a CCD camera from ...