Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

LoadCalibration Class Reference

#include <LoadCalibration.h>

Inheritance diagram for LoadCalibration:

Inheritance graph
[legend]
List of all members.

Detailed Description

will load calibration parameters from a text file into a forward and backward matrix

normally the calibration parameters are stored in the binary walk parameter file itself, but this will load a new set of calibration parameters from a text file as written by the tools/walk_calibration/WalkCalibration.m matlab script.

Definition at line 12 of file LoadCalibration.h.

Public Member Functions

 LoadCalibration (WalkMC::CalibrationParam *calp)
 Constructor.
 LoadCalibration (const std::string &n, WalkMC::CalibrationParam *calp)
 Constructor.
 LoadCalibration (const std::string &n, const std::string &d, WalkMC::CalibrationParam *calp)
 Constructor.

Protected Member Functions

virtual ControlBaseselectedFile (const std::string &f)
 calls readData() for each of the matrices
bool readData (FILE *f, float mat[ROWS][COLS])
 does the actual loading once a file is selected
bool readMaxs (FILE *f)
 reads the maximum forward, backward, strafe, and rotation velocities

Protected Attributes

WalkMC::CalibrationParamcp
 pointer to the calibration parameter structure

Static Protected Attributes

static const unsigned int ROWS = 3
 number of degrees of freedom of movement (probably won't change)
static const unsigned int COLS = 11
 number of basis functions (may change)

Private Member Functions

 LoadCalibration (const LoadCalibration &)
 don't call
LoadCalibrationoperator= (const LoadCalibration &)
 don't call


The documentation for this class was generated from the following file:

Tekkotsu v3.0
Generated Fri May 11 20:08:16 2007 by Doxygen 1.4.7