#include <NeutralAgent7.h>
Inheritance diagram for NeutralAgent7:
Public Member Functions | |
NeutralAgent7 () | |
virtual | ~NeutralAgent7 () |
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 | |
NeutralAgent7State | neutralAgentState |
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 |
const int | BROADBASE_MAX_COUNTER = 96 |
const int | SLEEPING_MAX_COUNTER = 96 |
|
Definition at line 67 of file NeutralAgent7.cc. References NAS7_IDLE. |
|
Definition at line 28 of file NeutralAgent7.h. |
|
Definition at line 156 of file NeutralAgent7.cc. References DRX1000_NUM_JOINT2, MoNetAgentManager::Effector(), MoNetAgentManager::FindFreeCommandRegion(), GetJointValue(), MoNetAgentManager::PrimitiveID(), and SetJointValue(). Referenced by NotifyCommand(). |
|
Reimplemented from MoNetAgent. Definition at line 77 of file NeutralAgent7.cc. |
|
Reimplemented from MoNetAgent. Definition at line 72 of file NeutralAgent7.cc. |
|
Definition at line 180 of file NeutralAgent7.cc. References BROADBASE_ANGLE, DRX1000_NUM_JOINT2, MoNetAgentManager::Effector(), MoNetAgentManager::FindFreeCommandRegion(), GetJointValue(), monetCOMPLETION, MoNetAgentManager::PrimitiveID(), and SetJointValue(). Referenced by ReadyEffector(). |
|
Definition at line 229 of file NeutralAgent7.cc. References BROADBASE_ANGLE, DRX1000_NUM_JOINT2, MoNetAgentManager::Effector(), MoNetAgentManager::FindFreeCommandRegion(), monetCOMPLETION, SetJointValue(), and SLEEPING_ANGLE. Referenced by ReadyEffector(). |
|
Reimplemented from MoNetAgent. Definition at line 84 of file NeutralAgent7.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 114 of file NeutralAgent7.cc. References MoNetAgentResult::agent, MoNetAgentResult::endPosture, MoNetAgentResult::index, MoNetStatus, MoveToBroadBase(), MoveToSleeping(), neutralAgentState, SetJointGain(), and MoNetAgentResult::status. |
|
Reimplemented from MoNetAgent. Definition at line 263 of file NeutralAgent7.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. Referenced by ReadyEffector(). |
|
Definition at line 324 of file NeutralAgent7.cc. References NUM_FRAMES, and MoNetAgentManager::PrimitiveID(). Referenced by AdjustDiffJointValue(), MoveToBroadBase(), and MoveToSleeping(). |
|
Definition at line 71 of file NeutralAgent7.h. |
|
Definition at line 69 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 68 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 53 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 52 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 51 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 57 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 56 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 55 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 61 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 60 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 59 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 80 of file NeutralAgent7.h. Referenced by NotifyCommand(), and ReadyEffector(). |
|
Definition at line 45 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 44 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 43 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 67 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 72 of file NeutralAgent7.h. |
|
Definition at line 65 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 64 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 63 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 41 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 40 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 39 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 49 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 48 of file NeutralAgent7.h. Referenced by SetJointGain(). |
|
Definition at line 47 of file NeutralAgent7.h. Referenced by SetJointGain(). |