Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Config::main_config Class Reference

#include <Config.h>

Inheritance diagram for Config::main_config:

Inheritance graph
[legend]
List of all members.

Detailed Description

general configuration options

Definition at line 163 of file Config.h.

Public Types

 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.
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_tconsoleMode
 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 193 of file Config.h.


Member Data Documentation

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

Definition at line 191 of file Config.h.

Referenced by main_config().

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

string names for consoleMode_t

Definition at line 199 of file Config.h.


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

Tekkotsu v3.0
Generated Fri May 11 20:07:51 2007 by Doxygen 1.4.7