#include <MTNAgent.h>
Inheritance diagram for MTNAgent:
Public Member Functions | |
MTNAgent () | |
virtual | ~MTNAgent () |
virtual bool | AreYou (MoNetAgentID agent) |
virtual void | Init (ODA *oda) |
virtual void | NotifyCommand (const MoNetAgentCommand &command, MoNetAgentResult *result) |
virtual void | ReadyEffector (const MoNetAgentCommand &command, MoNetAgentResult *result) |
virtual void | SetJointGain () |
Private Member Functions | |
MoNetStatus | SetPrimitiveID (OCommandVectorData *cmdVec, char *robotDesign) |
MoNetStatus | Move (OVRSyncKey syncKey) |
Private Attributes | |
ODA * | motionODA |
MTN | mtn |
Static Private Attributes | |
const word | TILT_PGAIN = 0x000a |
const word | TILT_IGAIN = 0x0008 |
const word | TILT_DGAIN = 0x000c |
const word | PAN_PGAIN = 0x000d |
const word | PAN_IGAIN = 0x0008 |
const word | PAN_DGAIN = 0x000b |
const word | ROLL_PGAIN = 0x000a |
const word | ROLL_IGAIN = 0x0008 |
const word | ROLL_DGAIN = 0x000c |
const word | J1_PGAIN = 0x0016 |
const word | J1_IGAIN = 0x0004 |
const word | J1_DGAIN = 0x0008 |
const word | J2_PGAIN = 0x0014 |
const word | J2_IGAIN = 0x0004 |
const word | J2_DGAIN = 0x0006 |
const word | J3_PGAIN = 0x0023 |
const word | J3_IGAIN = 0x0004 |
const word | J3_DGAIN = 0x0005 |
const word | PSHIFT = 0x000e |
const word | ISHIFT = 0x0002 |
const word | DSHIFT = 0x000f |
|
Definition at line 33 of file MTNAgent.cc. |
|
Definition at line 23 of file MTNAgent.h. |
|
Reimplemented from MoNetAgent. Definition at line 44 of file MTNAgent.cc. |
|
Reimplemented from MoNetAgent. Definition at line 38 of file MTNAgent.cc. References motionODA. |
|
Definition at line 104 of file MTNAgent.cc. References MoNetAgentManager::Effector(), MoNetAgentManager::FindFreeCommandRegion(), MTN::GetName(), MTN::GetRobotDesign(), MTN::InterpolateCommandVectorData(), MoNetStatus, monetSUCCESS, MTN::More(), mtn, MTN::Next(), NUM_FRAMES, and SetPrimitiveID(). Referenced by NotifyCommand(), and ReadyEffector(). |
|
Reimplemented from MoNetAgent. Definition at line 51 of file MTNAgent.cc. References MoNetAgentResult::agent, MoNetAgentCommand::agent, MoNetAgentResult::endPosture, MoNetAgentCommand::endPosture, ODA::GetData(), MoNetAgentResult::index, MoNetAgentCommand::index, MoNetStatus, motionODA, Move(), mtn, MTN::Set(), MoNetAgentCommand::startPosture, MoNetAgentResult::status, and MoNetAgentCommand::syncKey. |
|
Reimplemented from MoNetAgent. Definition at line 88 of file MTNAgent.cc. References MoNetAgentCommand::agent, MoNetAgentResult::agent, MoNetAgentCommand::endPosture, MoNetAgentResult::endPosture, MoNetAgentCommand::index, MoNetAgentResult::index, MoNetStatus, Move(), and MoNetAgentResult::status. |
|
Reimplemented from MoNetAgent. Definition at line 159 of file MTNAgent.cc. References DSHIFT, HEAD_PAN, HEAD_ROLL, HEAD_TILT, ISHIFT, J1_DGAIN, J1_IGAIN, J1_PGAIN, J2_DGAIN, J2_IGAIN, J2_PGAIN, J3_DGAIN, J3_IGAIN, J3_PGAIN, PAN_DGAIN, PAN_IGAIN, PAN_PGAIN, MoNetAgentManager::PrimitiveID(), PSHIFT, ROLL_DGAIN, ROLL_IGAIN, ROLL_PGAIN, TILT_DGAIN, TILT_IGAIN, and TILT_PGAIN. |
|
Definition at line 135 of file MTNAgent.cc. References DRX900_INDEX, and MoNetAgentManager::PrimitiveID(). Referenced by Move(). |
|
Definition at line 60 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 59 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 48 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 47 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 46 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 52 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 51 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 50 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 56 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 55 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 54 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 65 of file MTNAgent.h. Referenced by Init(), and NotifyCommand(). |
|
Definition at line 66 of file MTNAgent.h. Referenced by Move(), and NotifyCommand(). |
|
Definition at line 40 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 39 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 38 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 58 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 44 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 43 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 42 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 36 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 35 of file MTNAgent.h. Referenced by SetJointGain(). |
|
Definition at line 34 of file MTNAgent.h. Referenced by SetJointGain(). |