Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Config::main_config Class Reference

#include <Config.h>

Inheritance diagram for Config::main_config:

List of all members.


Detailed Description

general configuration options

Definition at line 176 of file Config.h.


Public Types

enum  consoleMode_t { CONTROLLER, TEXTMSG, AUTO }
 types that consoleMode can take on More...

Public Member Functions

 main_config ()
 constructor

Public Attributes

plist::Primitive< bool > seed_rng
 if true, will call srand with timestamp data, mangled by current sensor data
plist::Primitive< int > console_port
plist::NamedEnumeration
< consoleMode_t
consoleMode
 determines how input on console_port is interpreted
plist::Primitive< int > stderr_port
 port to send error information to
plist::Primitive< int > wsjoints_port
 port to send joint positions on
plist::Primitive< int > wspids_port
 port to send pid info on
plist::Primitive< int > headControl_port
 port for receiving head commands
plist::Primitive< int > walkControl_port
 port for receiving walk commands
plist::Primitive< int > estopControl_port
 port for receiving walk commands
plist::Primitive< int > stewart_port
 port for running a stewart platform style of control
plist::Primitive< int > aibo3d_port
 port for send/receive of joint positions from Aibo 3D GUI
plist::Primitive< int > wmmonitor_port
 port for monitoring Watchable Memory
plist::Primitive< bool > use_VT100
 if true, enables VT100 console codes (currently only in Controller menus - 1.3)
plist::Primitive< unsigned int > worldState_interval
 time (in milliseconds) to wait between sending WorldState updates over wireless

Static Public Attributes

static const unsigned int NUM_CONSOLE_MODES = 3
 the number of consoleMode_t values available
static const char * consoleModeNames [NUM_CONSOLE_MODES+1] = { "controller", "textmsg", "auto", "" }

Member Enumeration Documentation

types that consoleMode can take on

Enumerator:
CONTROLLER  all input is interpreted as Controller commands, using same syntax as the GUI sends
TEXTMSG  all input is broadcast as a text message event
AUTO  if the GUI is connected, interpret as text messages, otherwise as controller commands. This was the historical behavior, but seems to be more confusing than helpful.

Definition at line 206 of file Config.h.


Constructor & Destructor Documentation

Config::main_config::main_config (  )  [inline]

constructor

Definition at line 179 of file Config.h.


Member Data Documentation

if true, will call srand with timestamp data, mangled by current sensor data

Definition at line 203 of file Config.h.

Referenced by main_config().

port to send/receive "console" information on (separate from system console)

Definition at line 204 of file Config.h.

Referenced by main_config().

const unsigned int Config::main_config::NUM_CONSOLE_MODES = 3 [static]

the number of consoleMode_t values available

Definition at line 211 of file Config.h.

const char * Config::main_config::consoleModeNames = { "controller", "textmsg", "auto", "" } [static]

string names for consoleMode_t

Definition at line 212 of file Config.h.

determines how input on console_port is interpreted

Definition at line 214 of file Config.h.

Referenced by Controller::console_callback(), and main_config().

port to send error information to

Definition at line 215 of file Config.h.

Referenced by main_config().

port for running a stewart platform style of control

Definition at line 221 of file Config.h.

Referenced by StewartPlatformBehavior::DoStart(), StewartPlatformBehavior::getClassDescription(), and main_config().

port for send/receive of joint positions from Aibo 3D GUI

Definition at line 222 of file Config.h.

Referenced by main_config().

time (in milliseconds) to wait between sending WorldState updates over wireless

Definition at line 225 of file Config.h.

Referenced by main_config(), WorldStateSerializerBehavior::processEvent(), and CameraStreamBehavior::sendSensors().


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:13 2007 by Doxygen 1.5.4