Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

dsacssinterface.h File Reference


Detailed Description

This file contains function that are used specifically for DSACSS to parse a xml file.

Author:
Author
jayhawk_hokie
Version:
Revision
1.2
Date:
Date
2007/03/08 16:18:30

Definition in file dsacssinterface.h.

#include "tinyxml.h"
#include <matrix/Matrix.h>
#include <iostream>
#include <sstream>

Include dependency graph for dsacssinterface.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

void checkResponse (int response)
 Checks the return value from parsing an element.
0 = good response
returns: nothing or terminates program if not 0.
void checkLoadFile (bool loadOkay, const char *fileName, TiXmlDocument config)
 Checks the return value from loading Xml file.
0 = good response
returns: nothing or terminates program if not 0.
Matrix simulatorInertia (TiXmlHandle docHandle, const char *simulator)
 Returns inertia matrix from xml config file.
pass: TiXmlHandle and simulator ("WHORL-I" / "WHORL-II" etc.)
returns: inertia matrix.


Function Documentation

void checkLoadFile bool  loadOkay,
const char *  fileName,
TiXmlDocument  config
 

Checks the return value from loading Xml file.
0 = good response
returns: nothing or terminates program if not 0.

Definition at line 31 of file dsacssinterface.cpp.

References TiXmlDocument::ErrorDesc(), and fileName.

Referenced by main().

void checkResponse int  response  ) 
 

Checks the return value from parsing an element.
0 = good response
returns: nothing or terminates program if not 0.

Definition at line 18 of file dsacssinterface.cpp.

Referenced by DMUAccelerometer::DMUAccelerometer(), DMURateGyro::DMURateGyro(), Whorl::Initialize(), MomentumWheel::Initialize(), Magnetometer::Magnetometer(), main(), triadObserver::Parse(), QuaternionEKFObserver::Parse(), and simulatorInertia().

Matrix simulatorInertia TiXmlHandle  docHandle,
const char *  simulator
 

Returns inertia matrix from xml config file.
pass: TiXmlHandle and simulator ("WHORL-I" / "WHORL-II" etc.)
returns: inertia matrix.

Definition at line 44 of file dsacssinterface.cpp.

References checkResponse(), TiXmlHandle::Element(), TiXmlHandle::FirstChild(), and O_SESSAME::Matrix.

Referenced by Whorl::Initialize(), and main().


Generated on Wed Sep 5 12:54:30 2007 for DSACSS Operational Code by  doxygen 1.3.9.1