#include <NeutralAgent.h>
Inheritance diagram for NeutralAgent:
Public Member Functions | |
NeutralAgent () | |
virtual | ~NeutralAgent () |
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 | AdjustDiffJointValue (OVRSyncKey syncKey) |
MoNetStatus | MoveToBroadBase () |
MoNetStatus | MoveToSleeping () |
void | SetJointValue (RCRegion *rgn, int idx, double start, double end) |
Private Attributes | |
NeutralAgentState | neutralAgentState |
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 |
const int | BROADBASE_MAX_COUNTER = 192 |
const int | SLEEPING_MAX_COUNTER = 192 |
|
Definition at line 59 of file NeutralAgent.cc. References NAS_IDLE. |
|
Definition at line 28 of file NeutralAgent.h. |
|
Definition at line 148 of file NeutralAgent.cc. References MoNetAgentManager::Effector(), MoNetAgentManager::FindFreeCommandRegion(), GetJointValue(), MoNetAgentManager::PrimitiveID(), and SetJointValue(). Referenced by NotifyCommand(). |
|
Reimplemented from MoNetAgent. Definition at line 69 of file NeutralAgent.cc. |
|
Reimplemented from MoNetAgent. Definition at line 64 of file NeutralAgent.cc. |
|
Definition at line 170 of file NeutralAgent.cc. References BROADBASE_ANGLE, MoNetAgentManager::Effector(), MoNetAgentManager::FindFreeCommandRegion(), GetJointValue(), monetCOMPLETION, MoNetAgentManager::PrimitiveID(), and SetJointValue(). Referenced by ReadyEffector(). |
|
Definition at line 213 of file NeutralAgent.cc. References BROADBASE_ANGLE, MoNetAgentManager::Effector(), MoNetAgentManager::FindFreeCommandRegion(), monetCOMPLETION, SetJointValue(), and SLEEPING_ANGLE. Referenced by ReadyEffector(). |
|
Reimplemented from MoNetAgent. Definition at line 76 of file NeutralAgent.cc. References AdjustDiffJointValue(), MoNetAgentResult::agent, MoNetAgentCommand::agent, MoNetAgentResult::endPosture, MoNetAgentCommand::endPosture, MoNetAgentResult::index, MoNetAgentCommand::index, monetagentNEUTRAL, neutralAgentState, MoNetAgentCommand::startPosture, MoNetAgentResult::status, and MoNetAgentCommand::syncKey. |
|
Reimplemented from MoNetAgent. Definition at line 106 of file NeutralAgent.cc. References MoNetAgentResult::agent, MoNetAgentResult::endPosture, MoNetAgentResult::index, MoNetStatus, MoveToBroadBase(), MoveToSleeping(), neutralAgentState, SetJointGain(), and MoNetAgentResult::status. |
|
Reimplemented from MoNetAgent. Definition at line 244 of file NeutralAgent.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. Referenced by ReadyEffector(). |
|
Definition at line 290 of file NeutralAgent.cc. References NUM_FRAMES, and MoNetAgentManager::PrimitiveID(). Referenced by AdjustDiffJointValue(), MoveToBroadBase(), and MoveToSleeping(). |
|
Definition at line 67 of file NeutralAgent.h. |
|
Definition at line 65 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 64 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 53 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 52 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 51 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 57 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 56 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 55 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 61 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 60 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 59 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 76 of file NeutralAgent.h. Referenced by NotifyCommand(), and ReadyEffector(). |
|
Definition at line 45 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 44 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 43 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 63 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 49 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 48 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 47 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 68 of file NeutralAgent.h. |
|
Definition at line 41 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 40 of file NeutralAgent.h. Referenced by SetJointGain(). |
|
Definition at line 39 of file NeutralAgent.h. Referenced by SetJointGain(). |