Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Config::main_config Class Reference

general configuration options More...

#include <Config.h>

Inheritance diagram for Config::main_config:

Detailed Description

general configuration options

Definition at line 185 of file Config.h.

List of all members.

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 > gamepadControl_port
 port for gamepad
plist::Primitive< int > headControl_port
 port for receiving head commands
plist::Primitive< int > armControl_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", NULL }

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


Constructor & Destructor Documentation

Config::main_config::main_config (  ) 

constructor

Definition at line 188 of file Config.h.


Member Data Documentation

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

Definition at line 235 of file Config.h.

Referenced by main_config().

port for receiving head commands

Definition at line 231 of file Config.h.

Referenced by ArmController::doStart(), ArmController::getClassDescription(), and main_config().

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

Definition at line 215 of file Config.h.

Referenced by main_config().

determines how input on console_port is interpreted

Definition at line 225 of file Config.h.

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

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

string names for consoleMode_t

Definition at line 223 of file Config.h.

port for receiving walk commands

Definition at line 233 of file Config.h.

Referenced by EStopController::doStart(), EStopController::getClassDescription(), and main_config().

port for receiving head commands

Definition at line 230 of file Config.h.

Referenced by HeadController::doStart(), HeadController::getClassDescription(), and main_config().

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

the number of consoleMode_t values available

Definition at line 222 of file Config.h.

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

Definition at line 214 of file Config.h.

Referenced by main_config().

port to send error information to

Definition at line 226 of file Config.h.

Referenced by main_config().

port for running a stewart platform style of control

Definition at line 234 of file Config.h.

Referenced by main_config().

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

Definition at line 238 of file Config.h.

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


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:06 2016 by Doxygen 1.6.3