| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <Aibo3DControllerBehavior.h>
Inheritance diagram for Aibo3DControllerBehavior:

Definition at line 25 of file Aibo3DControllerBehavior.h.
Public Member Functions | |
| Aibo3DControllerBehavior () | |
| constructor | |
| virtual | ~Aibo3DControllerBehavior () |
| destructor | |
| int | registerData (char *buf, int bytes) |
| processes input from the GUI | |
| void | updateRC () |
| virtual void | DoStart () |
| By default, merely adds to the reference counter (through AddReference()) you should still call this from your overriding methods. | |
| virtual void | DoStop () |
By default, subtracts from the reference counter, and deletes if zero you should still call this when you override this call this at the end of your DoStop(), not beginning (it might delete this ). | |
| virtual std::string | getGUIType () const |
| returns string corresponding to the Java GUI which should be launched | |
| virtual unsigned int | getPort () const |
| returns port number the Java GUI should connect to | |
| virtual std::string | getName () const |
| returns name of behavior | |
Static Public Member Functions | |
| std::string | getClassDescription () |
| Gives a short description of what this class of behaviors does... you should override this (but don't have to). | |
Protected Attributes | |
| MotionManager::MC_ID | rcontrol_id |
| remote controller motion command's id | |
| Socket * | cmdsock |
| The input command stream socket. | |
| float | val [NumPIDJoints] |
| the value to use for each of the PID joints | |
| char * | fbuf |
| alias to val | |
| unsigned int | pos |
| a counter to know when we've gotten 4 frames | |
Private Member Functions | |
| Aibo3DControllerBehavior (const Aibo3DControllerBehavior &) | |
| don't call | |
| Aibo3DControllerBehavior | operator= (const Aibo3DControllerBehavior &) |
| don't call | |
|
|
don't call
|
|
|
constructor
Definition at line 42 of file Aibo3DControllerBehavior.h. References aibo3dControllerBehavior, cmdsock, fbuf, pos, rcontrol_id, Wireless::setDaemon(), SocketNS::SOCK_STREAM, val, and wireless. |
Here is the call graph for this function:

|
|
destructor
Definition at line 50 of file Aibo3DControllerBehavior.h. References aibo3dControllerBehavior. |
|
|
By default, merely adds to the reference counter (through AddReference()) you should still call this from your overriding methods.
Reimplemented from BehaviorBase. Definition at line 75 of file Aibo3DControllerBehavior.h. References MotionManager::addMotion(), Config::main_config::aibo3d_port, aibo3dcontrollercmd_callback(), cmdsock, config, BehaviorBase::DoStart(), getGUIType(), getPort(), Wireless::listen(), Controller::loadGUI(), Config::main, motman, ERS210Info::NumPIDJoints, WorldState::outputs, rcontrol_id, Wireless::setReceiver(), Socket::sock, state, updateRC(), val, and wireless. |
Here is the call graph for this function:

|
|
By default, subtracts from the reference counter, and deletes if zero you should still call this when you override this call this at the end of your DoStop(), not beginning (it might
Reimplemented from BehaviorBase. Definition at line 95 of file Aibo3DControllerBehavior.h. References Wireless::close(), Controller::closeGUI(), cmdsock, BehaviorBase::DoStop(), getGUIType(), motman, rcontrol_id, MotionManager::removeMotion(), and wireless. |
Here is the call graph for this function:

|
|
Gives a short description of what this class of behaviors does... you should override this (but don't have to).
Reimplemented from BehaviorBase. Definition at line 111 of file Aibo3DControllerBehavior.h. References Config::main_config::aibo3d_port, config, and Config::main. |
|
|
returns string corresponding to the Java GUI which should be launched
Definition at line 106 of file Aibo3DControllerBehavior.h. |
|
|
returns name of behavior
Implements BehaviorBase. Definition at line 110 of file Aibo3DControllerBehavior.h. |
|
|
returns port number the Java GUI should connect to
Definition at line 108 of file Aibo3DControllerBehavior.h. References Config::main_config::aibo3d_port, config, and Config::main. |
|
|
don't call
|
|
||||||||||||
|
processes input from the GUI
Definition at line 53 of file Aibo3DControllerBehavior.h. References fbuf, ERS210Info::NumPIDJoints, pos, and updateRC(). |
Here is the call graph for this function:

|
|
Definition at line 67 of file Aibo3DControllerBehavior.h. References MotionManager::checkinMotion(), MotionManager::checkoutMotion(), RemoteControllerMC::cmds, motman, ERS210Info::NumPIDJoints, rcontrol_id, RemoteControllerMC::setDirty(), and val. |
Here is the call graph for this function:

|
|
The input command stream socket.
Definition at line 30 of file Aibo3DControllerBehavior.h. |
|
|
alias to val
Definition at line 33 of file Aibo3DControllerBehavior.h. |
|
|
a counter to know when we've gotten 4 frames
Definition at line 34 of file Aibo3DControllerBehavior.h. |
|
|
remote controller motion command's id
Definition at line 27 of file Aibo3DControllerBehavior.h. |
|
|
the value to use for each of the PID joints
Definition at line 32 of file Aibo3DControllerBehavior.h. |
|
Tekkotsu v1.5 |
Generated Fri Oct 10 15:54:50 2003 by Doxygen 1.3.4 |