| GarciaTool | Index |
Garcia Tool
The GarciaTool application offers diagnostic and testing interfaces for most of the Garcia functionallity. This tool can be used to view sensor data, spin the motors, recover a scrambled Garcia, and even upgrade the entire Garcia configuration. This application is written completely independent from the Garcia API to allow testing when you are having trouble using the API.
Configuration File
The GarciaTool application relies on settings in a configuration file named "garcia.config". This file resides in the aBinary directory of the Garcia software and is the same file used by the Garcia API for basic configuration information.
The most important information in this file is the settings that affect the link settings the GarciaTool uses. These are:
| setting name | description | default |
|---|---|---|
| portname | The name of the port to use for communication | COM1 (Windows) COM1: (WinCE) ttyS0 (Linux) tty.KeyUSA19QI121.1 (MacOS X) |
| baudrate | The communication speed to use | 38400 |
The settings above are the defaults. You may have a different portname based on the particular configuration of your host machine.
With the proper settings in the garcia.config file and the Garcia robot turned on, this application should show a proper heartbeat by displaying a small blinking green circle in the application. The Garcia robot should show a corresponding heartbeat indication with the 2 green LED indicators in the head.