Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ERS210Info Namespace ReferenceContains information about the ERS-210 Robot, such as number of joints, PID defaults, timing information, etc. More...
Detailed DescriptionContains information about the ERS-210 Robot, such as number of joints, PID defaults, timing information, etc. Typedef Documentation
So you can be clear when you're refering to a LED bitmask. Definition at line 141 of file ERS210Info.h. Enumeration Type Documentationholds offsets to different buttons in WorldState::buttons[] Should be a straight mapping to the ButtonSourceIDs Note that the chest (power) button is not a normal button. It kills power to the motors at a hardware level, and isn't sensed in the normal way. If you want to know when it is pressed (and you are about to shut down) see PowerSrcID::PauseSID.
Definition at line 195 of file ERS210Info.h. The offsets of the individual LEDs on the head and tail. Note that left/right are robot's point of view. See also LEDBitMask_t.
Definition at line 116 of file ERS210Info.h. The offsets of the individual legs.
Definition at line 106 of file ERS210Info.h. the ordering of legs
Definition at line 83 of file ERS210Info.h. The offsets within appendages (the legs) Note that the ordering matches the actual physical ordering of joints on the appendage (and not that of the head's TPROffset_t's).
Definition at line 91 of file ERS210Info.h. holds offset to different sensor values in WorldState::sensors[]
Definition at line 216 of file ERS210Info.h. The offsets of appendages with tilt (elevation), pan (heading), and roll or nod joints (i.e. head) Note that the ordering matches the actual physical ordering of joints on the appendage (and not that of the leg's REKOffset_t's).
Definition at line 98 of file ERS210Info.h. Variable Documentation
Offset needed so that the centroid of the robot is correct relative to the bounding box. Definition at line 172 of file ERS210Info.h.
Half of the length, width, and height of the robot. Definition at line 175 of file ERS210Info.h.
selects all of the leds Definition at line 168 of file ERS210Info.h.
210 has no back LEDs Definition at line 166 of file ERS210Info.h.
radius of the ball of the foot Definition at line 47 of file ERS210Info.h.
Use with kinematics to refer to base reference frame. Definition at line 76 of file ERS210Info.h.
The beginning of the binary joints. Definition at line 73 of file ERS210Info.h.
bottom left (red - sad) Definition at line 142 of file ERS210Info.h. Referenced by LedEngine::displayPercent(), and CameraBehavior::doEvent().
bottom right (red - sad) Definition at line 143 of file ERS210Info.h. Referenced by LedEngine::displayPercent(), and CameraBehavior::doEvent().
Initial value:
{ "LFrPaw","RFrPaw","LBkPaw","RBkPaw", "ChinBut","BackBut", "HeadFrBut","HeadBkBut" } Provides a string name for each button. Definition at line 208 of file ERS210Info.h. Referenced by EmergencyStopMC::trigger().
Use with kinematics to refer to camera reference frame. Definition at line 79 of file ERS210Info.h.
use to open camera connection with the system Definition at line 360 of file ERS210Info.h. allocation declared in RobotInfo.cc Definition at line 14 of file RobotInfo.cc.
Front-back; see RobotInfo::BAccelOffset. Definition at line 510 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 511 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 509 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 514 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 515 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 513 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 507 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 502 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 503 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 501 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 518 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 519 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 517 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 522 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 523 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 521 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 525 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 526 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 529 of file ERS210Info.h.
Left-right; see RobotInfo::LAccelOffset. Definition at line 530 of file ERS210Info.h.
Up-down; see RobotInfo::DAccelOffset. Definition at line 531 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 528 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 508 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 504 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 505 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 512 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 516 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 506 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 520 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 524 of file ERS210Info.h.
Front-back; see RobotInfo::BAccelOffset. Definition at line 527 of file ERS210Info.h.
radius of the cylinder of the foot Definition at line 48 of file ERS210Info.h.
Initial value:
{ { 0x16/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x08/(float)(1<<(16-0xF)) }, { 0x14/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x06/(float)(1<<(16-0xF)) }, { 0x23/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x05/(float)(1<<(16-0xF)) }, { 0x16/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x08/(float)(1<<(16-0xF)) }, { 0x14/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x06/(float)(1<<(16-0xF)) }, { 0x23/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x05/(float)(1<<(16-0xF)) }, { 0x16/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x08/(float)(1<<(16-0xF)) }, { 0x14/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x06/(float)(1<<(16-0xF)) }, { 0x23/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x05/(float)(1<<(16-0xF)) }, { 0x16/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x08/(float)(1<<(16-0xF)) }, { 0x14/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x06/(float)(1<<(16-0xF)) }, { 0x23/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x05/(float)(1<<(16-0xF)) }, { 0x0A/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x0C/(float)(1<<(16-0xF)) }, { 0x0D/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x0B/(float)(1<<(16-0xF)) }, { 0x0A/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x0C/(float)(1<<(16-0xF)) }, { 0x0A/(float)(1<<(16-0xE)), 0x00/(float)(1<<(16-0x2)), 0x18/(float)(1<<(16-0xF)) }, { 0x07/(float)(1<<(16-0xE)), 0x00/(float)(1<<(16-0x2)), 0x11/(float)(1<<(16-0xF)) }, { 0x0E/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x10/(float)(1<<(16-0xF)) } } This table holds the default PID values for each joint. see PIDMC. Definition at line 388 of file ERS210Info.h.
These will control the shift values given to the system. see PIDMC. Definition at line 414 of file ERS210Info.h.
the offset of the beginning of the ear joints - note that ears aren't sensed. They can be flicked by the environment and you won't know. Nor will they be flicked back Definition at line 74 of file ERS210Info.h. Referenced by BatteryMonitorBehavior::setFlipper().
Initial value:
LEDs for face (all but tail). Definition at line 154 of file ERS210Info.h.
Use with kinematics to refer to paw reference frames (add appropriate LegOrder_t to specify which paw). Definition at line 77 of file ERS210Info.h.
time between frames in the motion system (milliseconds) Definition at line 14 of file ERS210Info.h.
Initial value:
LEDs for face (all but tail). Definition at line 161 of file ERS210Info.h.
the offset of the beginning of the head joints Definition at line 67 of file ERS210Info.h. Referenced by PostureMC::defaultMaxSpeed(), HeadPointerMC::defaultMaxSpeed(), and HeadController::runCommand().
Use with kinematics to refer to infrared (distance) sensor reference frame. Definition at line 80 of file ERS210Info.h.
true for joints which can be updated every 32 ms (all but the ears) Definition at line 52 of file ERS210Info.h.
no arms, just legs Definition at line 25 of file ERS210Info.h.
The number of joints per leg. Definition at line 29 of file ERS210Info.h.
the offset of LEDs in WorldState::outputs and MotionCommand functions Definition at line 71 of file ERS210Info.h.
the offset of the beginning of the leg joints Definition at line 66 of file ERS210Info.h.
Initial value:
{ 2.8143434f, 2.4980025f, 2.8361600f, 2.8143434f, 2.4980025f, 2.8361600f, 2.8143434f, 2.4980025f, 2.8361600f, 2.8143434f, 2.4980025f, 2.8361600f, 2.1053034f, 3.0106930f, 3.0106930f, 4.4724062f, 4.4724062f, 4.3742314f, 0,0,0,0,0,0,0,0,0, 0,0 } These values are Sony's recommended maximum joint velocities, in rad/s. a value <= 0 means infinite speed (e.g. LEDs) These limits are not enforced by the framework. They are simply available for you to use as you see fit. HeadPointerMC is (as of v1.6) the only included MotionCommand to actually use these values. Definition at line 421 of file ERS210Info.h.
Initial value:
{ { RAD(-120),RAD(120) },{ RAD(-14),RAD(92) },{ RAD(-30),RAD(150) }, { RAD(-120),RAD(120) },{ RAD(-14),RAD(92) },{ RAD(-30),RAD(150) }, { RAD(-120),RAD(120) },{ RAD(-14),RAD(92) },{ RAD(-30),RAD(150) }, { RAD(-120),RAD(120) },{ RAD(-14),RAD(92) },{ RAD(-30),RAD(150) }, { RAD(-85),RAD(46) },{ RAD(-92.6f),RAD(92.6f) },{ RAD(-32),RAD(32) }, { RAD(-25),RAD(25) },{ RAD(-25),RAD(25) }, { RAD(-50),RAD(0) }, {0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1}, {0,1},{0,1} } This table holds the mechanical limits of each of the outputs. Definition at line 476 of file ERS210Info.h.
middle left (green - happy) Definition at line 144 of file ERS210Info.h. Referenced by LedEngine::displayPercent(), and CameraBehavior::doEvent().
middle right (green - happy) Definition at line 145 of file ERS210Info.h. Referenced by LedEngine::displayPercent(), and CameraBehavior::doEvent().
the offset of the beginning of the mouth joint Definition at line 69 of file ERS210Info.h.
no wheels, just legs Definition at line 27 of file ERS210Info.h.
no arms, just legs Definition at line 26 of file ERS210Info.h.
The number of binary joints - just the ears (Aperios only). Definition at line 41 of file ERS210Info.h.
the number of buttons that are available, see ERS210Info::ButtonOffset_t Definition at line 36 of file ERS210Info.h.
The number of joints which control the ears (NOT per ear, is total). Definition at line 35 of file ERS210Info.h. Referenced by BatteryMonitorBehavior::setFlipper().
the number of frames per buffer (don't forget also double buffered) Definition at line 15 of file ERS210Info.h.
The number of joints in the neck. Definition at line 32 of file ERS210Info.h.
The number of LEDs which can be controlled. Definition at line 38 of file ERS210Info.h.
the TOTAL number of joints on ALL legs Definition at line 31 of file ERS210Info.h.
The number of legs. Definition at line 30 of file ERS210Info.h.
the number of joints that control the mouth Definition at line 34 of file ERS210Info.h.
the total number of outputs Definition at line 42 of file ERS210Info.h.
The number of joints which use PID motion - everything except ears. Definition at line 40 of file ERS210Info.h.
for the base, paw, camera, and IR sensor reference frames Definition at line 43 of file ERS210Info.h.
1 dist, 3 accel, 1 thermo, 5 from power, see ERS210Info::SensorOffset_t Definition at line 37 of file ERS210Info.h.
the number of frames per buffer being sent to ears (double buffered as well) Definition at line 17 of file ERS210Info.h.
The number of joints assigned to the tail. Definition at line 33 of file ERS210Info.h.
no wheels, just legs Definition at line 23 of file ERS210Info.h.
Names for each of the outputs. Definition at line 241 of file ERS210Info.h. Referenced by PostureMC::defaultMaxSpeed(), HeadPointerMC::defaultMaxSpeed(), EmergencyStopMC::EmergencyStopMC(), EmergencyStopMC::freezeJoints(), HeadController::runCommand(), RunSequenceControl< SequenceSize >::selectedFile(), LoadPostureControl::selectedFile(), BatteryMonitorBehavior::setFlipper(), and TailWagMC::updateOutputs().
Initial value:
{ { RAD(-117),RAD(117) },{ RAD(-11),RAD(89) },{ RAD(-27),RAD(147) }, { RAD(-117),RAD(117) },{ RAD(-11),RAD(89) },{ RAD(-27),RAD(147) }, { RAD(-117),RAD(117) },{ RAD(-11),RAD(89) },{ RAD(-27),RAD(147) }, { RAD(-117),RAD(117) },{ RAD(-11),RAD(89) },{ RAD(-27),RAD(147) }, { RAD(-82),RAD(43) },{ RAD(-89.6f),RAD(89.6f) },{ RAD(-29),RAD(29) }, { RAD(-22),RAD(22) },{ RAD(-22),RAD(22) }, { RAD(-47),RAD(-3) }, {0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1}, {0,1},{0,1} } This table holds the software limits of each of the outputs. Definition at line 457 of file ERS210Info.h.
Aibo-era alias for FootFrameOffset. Definition at line 78 of file ERS210Info.h.
The beginning of the PID Joints. Definition at line 65 of file ERS210Info.h.
Initial value:
{ "PRM:/r2/c1-Joint2:j1", "PRM:/r2/c1/c2-Joint2:j2", "PRM:/r2/c1/c2/c3-Joint2:j3", "PRM:/r4/c1-Joint2:j1", "PRM:/r4/c1/c2-Joint2:j2", "PRM:/r4/c1/c2/c3-Joint2:j3", "PRM:/r3/c1-Joint2:j1", "PRM:/r3/c1/c2-Joint2:j2", "PRM:/r3/c1/c2/c3-Joint2:j3", "PRM:/r5/c1-Joint2:j1", "PRM:/r5/c1/c2-Joint2:j2", "PRM:/r5/c1/c2/c3-Joint2:j3", "PRM:/r1/c1-Joint2:j1", "PRM:/r1/c1/c2-Joint2:j2", "PRM:/r1/c1/c2/c3-Joint2:j3", "PRM:/r6/c2-Joint2:j2", "PRM:/r6/c1-Joint2:j1", "PRM:/r1/c1/c2/c3/c4-Joint2:j4", "PRM:/r1/c1/c2/c3/l1-LED2:l1", "PRM:/r1/c1/c2/c3/l4-LED2:l4", "PRM:/r1/c1/c2/c3/l2-LED2:l2", "PRM:/r1/c1/c2/c3/l5-LED2:l5", "PRM:/r1/c1/c2/c3/l3-LED2:l3", "PRM:/r1/c1/c2/c3/l6-LED2:l6", "PRM:/r1/c1/c2/c3/l7-LED2:l7", "PRM:/r6/l2-LED2:l2", "PRM:/r6/l1-LED2:l1", "PRM:/r1/c1/c2/c3/e1-Joint3:j5", "PRM:/r1/c1/c2/c3/e2-Joint3:j6" } the joint identifier strings used to refer to specific joints in OPEN-R (but not needed for others)
The offset consts defined in this file correspond to this table and will make life easier if you feel the need to reorder things, but they aren't used perfect everywhere
Definition at line 317 of file ERS210Info.h.
Initial value:
{ "IRDist", "BAccel","LAccel","DAccel", "Thermo", "PowerRemain","PowerThermo","PowerCapacity","PowerVoltage","PowerCurrent" } Provides a string name for each sensor. Definition at line 230 of file ERS210Info.h.
time between frames for the ears (which move slower for some reason, don't want to mix with other outputs) (milliseconds) Definition at line 16 of file ERS210Info.h.
the number of milliseconds per sound buffer... I'm not sure if this can be changed Definition at line 18 of file ERS210Info.h.
use to open speaker connectio with the system Definition at line 357 of file ERS210Info.h. LEDs on tail. Definition at line 167 of file ERS210Info.h.
the offset of the beginning of the tail joints Definition at line 68 of file ERS210Info.h. Referenced by TailWagMC::updateOutputs().
the name of the model, to be used for logging and remote GUIs Definition at line 13 of file RobotInfo.cc. Referenced by RobotInfo::detectModel(), LedEngine::displayNumber(), EmergencyStopMC::EmergencyStopMC(), EmergencyStopMC::freezeJoints(), Controller::init(), BatteryMonitorBehavior::setFlipper(), FlashIPAddrBehavior::setupSequence(), EmergencyStopMC::trigger(), and TailWagMC::updateOutputs().
blue tail light Definition at line 150 of file ERS210Info.h.
red tail light Definition at line 149 of file ERS210Info.h.
top bar (green) Definition at line 148 of file ERS210Info.h. Referenced by LedEngine::displayNumber(), LedEngine::displayPercent(), and CameraBehavior::doEvent().
top left (red - angry) Definition at line 146 of file ERS210Info.h. Referenced by LedEngine::displayPercent(), and CameraBehavior::doEvent().
top right (red - angry) Definition at line 147 of file ERS210Info.h. Referenced by LedEngine::displayPercent(), and CameraBehavior::doEvent(). |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:22 2016 by Doxygen 1.6.3 |