From iLab Cookbook

Toolkits: HTPConfigs


Contents


Configuration Files

Each HTP contains a configuration file, so that the HTP Manager can access them and make use of them. The configuration file contains information about the HTP, the phidgets attached to them and the corresponding calibration properties for them.

The default location for configuration files in the HTP folder inside documents, which is the default path on installation.

Structure

We follow the example of an HTP with the tag EF.

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <HTP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  3.   <ID>239</ID>
  4.   <ServoHeightSerialNum>88419</ServoHeightSerialNum>
  5.   <InterfaceKitSerialNum>68103</InterfaceKitSerialNum>
  6.   <ServoHeightPort>4</ServoHeightPort>
  7.   <SensorPort>0</SensorPort>
  8.   <HeightMimimum>54</HeightMimimum>
  9.   <HeightMaximum>88</HeightMaximum>
  10.   <MinimumPressureValue>0</MinimumPressureValue>
  11.   <MaximumPressureValue>600</MaximumPressureValue>
  12.   <BrakeMove>-1</BrakeMove>
  13.   <BrakeStop>-1</BrakeStop>
  14.   <ServoBrakeSerialNum>-1</ServoBrakeSerialNum>
  15.   <ServoBrakePort>-1</ServoBrakePort>
  16. </HTP>

Note that if an HTP device does not support friction, the entries BrakeMove, BrakeStop, ServoBrakeSerialNum and ServoBrakePort must be set to '-1'.

Retrieved from http://grouplab.cpsc.ucalgary.ca/cookbook/index.php/Toolkits/HTPConfigs
Page last modified on May 25, 2011, at 01:27 PM