#include <MTNAgent7.h>
Inheritance diagram for MTNAgent7:
Public Member Functions | |
MTNAgent7 () | |
virtual | ~MTNAgent7 () |
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 | TILT1_PGAIN = 0x000a |
const word | TILT1_IGAIN = 0x0004 |
const word | TILT1_DGAIN = 0x0002 |
const word | PAN_PGAIN = 0x0008 |
const word | PAN_IGAIN = 0x0002 |
const word | PAN_DGAIN = 0x0004 |
const word | TILT2_PGAIN = 0x0008 |
const word | TILT2_IGAIN = 0x0004 |
const word | TILT2_DGAIN = 0x0002 |
const word | J1_PGAIN = 0x0010 |
const word | J1_IGAIN = 0x0004 |
const word | J1_DGAIN = 0x0001 |
const word | J2_PGAIN = 0x000a |
const word | J2_IGAIN = 0x0004 |
const word | J2_DGAIN = 0x0001 |
const word | J3_PGAIN = 0x0010 |
const word | J3_IGAIN = 0x0004 |
const word | J3_DGAIN = 0x0001 |
const word | TAIL_PGAIN = 0x000a |
const word | TAIL_IGAIN = 0x0004 |
const word | TAIL_DGAIN = 0x0004 |
const word | PSHIFT = 0x000e |
const word | ISHIFT = 0x0002 |
const word | DSHIFT = 0x000f |
|
Definition at line 38 of file MTNAgent7.cc. |
|
Definition at line 23 of file MTNAgent7.h. |
|
Reimplemented from MoNetAgent. Reimplemented in MTNWALKAgent7. Definition at line 49 of file MTNAgent7.cc. |
|
Reimplemented from MoNetAgent. Definition at line 43 of file MTNAgent7.cc. References motionODA. |
|
Definition at line 109 of file MTNAgent7.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 56 of file MTNAgent7.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 93 of file MTNAgent7.cc. References MoNetAgentCommand::agent, MoNetAgentResult::agent, MoNetAgentCommand::endPosture, MoNetAgentResult::endPosture, MoNetAgentCommand::index, MoNetAgentResult::index, MoNetStatus, Move(), and MoNetAgentResult::status. |
|
Reimplemented from MoNetAgent. Reimplemented in MTNWALKAgent7. Definition at line 166 of file MTNAgent7.cc. References DSHIFT, HEAD_PAN, HEAD_TILT1, HEAD_TILT2, 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, TAIL_DGAIN, TAIL_IGAIN, TAIL_PAN, TAIL_PGAIN, TAIL_TILT, TILT1_DGAIN, TILT1_IGAIN, TILT1_PGAIN, TILT2_DGAIN, TILT2_IGAIN, and TILT2_PGAIN. |
|
Definition at line 140 of file MTNAgent7.cc. References DRX1000_INDEX, DRX1000_NUM_JOINTS, and MoNetAgentManager::PrimitiveID(). Referenced by Move(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 64 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 63 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 48 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 47 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 46 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 52 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 51 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 50 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 56 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 55 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 54 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 69 of file MTNAgent7.h. Referenced by Init(), and NotifyCommand(). |
|
Definition at line 70 of file MTNAgent7.h. Referenced by Move(), and NotifyCommand(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 40 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 39 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 38 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 62 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 60 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 59 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 58 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 36 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 35 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 34 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 44 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 43 of file MTNAgent7.h. Referenced by SetJointGain(). |
|
Reimplemented in MTNWALKAgent7. Definition at line 42 of file MTNAgent7.h. Referenced by SetJointGain(). |