Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ERS7Info Namespace ReferenceContains information about the ERS-7 Robot, such as number of joints, PID defaults, timing information, etc. More...
Detailed DescriptionContains information about the ERS-7 Robot, such as number of joints, PID defaults, timing information, etc. You may be particularly interested in the "Output Offsets" section, which, along with the offsets of the common RobotInfo namespace, allows you to reference any specific joint or LED on the robot. The "Input Offsets" section gives the index order of the buttons (ButtonOffset_t) and sensors (SensorOffset_t), as well as string names for each for easier debugging (buttonNames, sensorNames) "Output Types" section provides "meta-information" regarding the capabilities of the robot, such as the number of head joints, or the number of LEDs, etc. For more information on your robot's specifications, see also DefaultPIDs, MaxOutputSpeed, outputRanges, and mechanicalLimits. "Outputs" (i.e. Joints, LEDs) are often refered to by index ("offset") value within an array. These values are formed by specifying a section offset, plus a specific offset. Sections are typically general across robot models, whereas the specifics are model-dependent (but can be aliased to provide compatability). For most joints, the positive direction is "up", and the 0 position yields a forward looking, fully extended standing posture.
It happens that these joints can also be grouped by the type of joint, so there are additionally a few other offsets that can be used in order to loop across a group of joints:
LEDs are often handled in groups to display patterns. Some functions take an LEDBitMask_t parameter, which allows you to specify a set of several LEDs in a single parameter. For any given LED offset
Typedef Documentation
So you can be clear when you're refering to a LED bitmask. Definition at line 213 of file ERS7Info.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 288 of file ERS7Info.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 182 of file ERS7Info.h. The offsets of the individual legs, add REKOffset_t value to access specific joint.
Definition at line 173 of file ERS7Info.h.
the ordering of legs
Definition at line 149 of file ERS7Info.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 157 of file ERS7Info.h. holds offset to different sensor values in WorldState::sensors[]
Definition at line 313 of file ERS7Info.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 164 of file ERS7Info.h. Variable Documentation
Offset needed so that the centroid of the robot is correct relative to the bounding box. Definition at line 265 of file ERS7Info.h.
Half of the length, width, and height of the robot. Definition at line 268 of file ERS7Info.h.
selects all of the leds Definition at line 260 of file ERS7Info.h.
Initial value:
FrBackColorLEDMask | FrBackWhiteLEDMask | MdBackColorLEDMask | MdBackWhiteLEDMask | RrBackColorLEDMask | RrBackWhiteLEDMask LEDS on the back. Definition at line 252 of file ERS7Info.h.
radius of the ball of the foot Definition at line 107 of file ERS7Info.h.
Use with kinematics to refer to base reference frame. Definition at line 139 of file ERS7Info.h.
The beginning of the binary joints. Definition at line 136 of file ERS7Info.h.
bottom left Definition at line 230 of file ERS7Info.h.
bottom right Definition at line 231 of file ERS7Info.h.
Initial value:
{ "LFrPaw","RFrPaw","LBkPaw","RBkPaw", "ChinBut","HeadBut", "FrontBackBut","MiddleBackBut","RearBackBut", "WirelessSw" } Provides a string name for each button. Definition at line 304 of file ERS7Info.h.
should be set to maximum of CameraHorizFOV or CameraVertFOV Definition at line 102 of file ERS7Info.h.
Use with kinematics to refer to camera reference frame. Definition at line 142 of file ERS7Info.h.
horizontal field of view (radians) Definition at line 100 of file ERS7Info.h.
use to open camera connection with the system Definition at line 481 of file ERS7Info.h.
specifies a name of the camera to load calibration parameters into RobotInfo::CameraHomography Definition at line 33 of file RobotInfo.cc.
the number of pixels available in the 'full' layer Definition at line 103 of file ERS7Info.h.
the number of pixels available in the 'full' layer Definition at line 104 of file ERS7Info.h.
vertical field of view (radians) Definition at line 101 of file ERS7Info.h. allocation declared in RobotInfo.cc Definition at line 32 of file RobotInfo.cc.
Use with kinematics to refer to chest-mounted infrared (distance) sensor reference frame. Definition at line 146 of file ERS7Info.h.
Left fore legJ2. Definition at line 618 of file ERS7Info.h.
Left fore legJ3. Definition at line 617 of file ERS7Info.h.
Left fore legJ1. Definition at line 619 of file ERS7Info.h.
Left hind legJ2. Definition at line 622 of file ERS7Info.h.
Left hind legJ3. Definition at line 621 of file ERS7Info.h.
Left hind legJ1. Definition at line 623 of file ERS7Info.h.
Mouth. Definition at line 608 of file ERS7Info.h.
Neck tilt2. Definition at line 610 of file ERS7Info.h.
Neck pan. Definition at line 614 of file ERS7Info.h.
Neck tilt1. Definition at line 615 of file ERS7Info.h.
Right fore legJ2. Definition at line 626 of file ERS7Info.h.
Right fore legJ3. Definition at line 625 of file ERS7Info.h.
Right fore legJ1. Definition at line 627 of file ERS7Info.h.
Right hind legJ2. Definition at line 630 of file ERS7Info.h.
Right hind legJ3. Definition at line 629 of file ERS7Info.h.
Right hind legJ1. Definition at line 631 of file ERS7Info.h.
Tail pan. Definition at line 633 of file ERS7Info.h.
Tail tilt. Definition at line 632 of file ERS7Info.h.
Acceleration sensor(front-back). Definition at line 634 of file ERS7Info.h.
Acceleration sensor(right-left). Definition at line 635 of file ERS7Info.h.
Acceleration sensor(up-down). Definition at line 636 of file ERS7Info.h.
Back sensor(front). Definition at line 641 of file ERS7Info.h.
Back sensor(middle). Definition at line 640 of file ERS7Info.h.
Back sensor(rear). Definition at line 639 of file ERS7Info.h.
Chest distance sensor. Definition at line 637 of file ERS7Info.h.
Head distance sensor(far). Definition at line 613 of file ERS7Info.h.
Head sensor. Definition at line 611 of file ERS7Info.h.
Head distance sensor(near). Definition at line 612 of file ERS7Info.h.
Chin sensor. Definition at line 609 of file ERS7Info.h.
Left fore leg paw sensor. Definition at line 616 of file ERS7Info.h.
Left hind leg paw sensor. Definition at line 620 of file ERS7Info.h.
Right fore leg paw sensor. Definition at line 624 of file ERS7Info.h.
Right hind leg paw sensor. Definition at line 628 of file ERS7Info.h.
Wireless LAN switch. Definition at line 638 of file ERS7Info.h.
Initial value:
{ { 0x1C/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x14/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x1C/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x1C/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x14/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x1C/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x1C/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x14/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x1C/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x1C/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x14/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x1C/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x01/(float)(1<<(16-0xF)) }, { 0x0A/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x02/(float)(1<<(16-0xF)) }, { 0x08/(float)(1<<(16-0xE)), 0x02/(float)(1<<(16-0x2)), 0x04/(float)(1<<(16-0xF)) }, { 0x08/(float)(1<<(16-0xE)), 0x08/(float)(1<<(16-0x2)), 0x02/(float)(1<<(16-0xF)) }, { 0x0A/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x04/(float)(1<<(16-0xF)) }, { 0x0A/(float)(1<<(16-0xE)), 0x04/(float)(1<<(16-0x2)), 0x04/(float)(1<<(16-0xF)) }, { 0x08/(float)(1<<(16-0xE)), 0x00/(float)(1<<(16-0x2)), 0x04/(float)(1<<(16-0xF)) } } This table holds the default PID values for each joint. see PIDMC. Definition at line 484 of file ERS7Info.h.
These will control the shift values given to the system. see PIDMC. These are modified from the default values to give better range of values to the gains Definition at line 511 of file ERS7Info.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. Definition at line 137 of file ERS7Info.h. Referenced by BatteryMonitorBehavior::setFlipper(). LEDs for the face panel (all FaceLEDPanelMask<<(0:NumFacePanelLEDs-1) entries). Definition at line 242 of file ERS7Info.h.
mask corresponding to FaceLEDPanelOffset, selects only the first of the panel - shift this to get the others Definition at line 221 of file ERS7Info.h.
Use with kinematics to refer to long-range infrared (distance) sensor reference frame. Definition at line 145 of file ERS7Info.h.
Use with kinematics to refer to paw reference frames (add appropriate LegOrder_t to specify which paw). Definition at line 140 of file ERS7Info.h.
time between frames in the motion system (milliseconds) Definition at line 68 of file ERS7Info.h.
mask corresponding to FrBackColorLEDOffset Definition at line 222 of file ERS7Info.h.
mask corresponding to FrBackWhiteLEDOffset Definition at line 223 of file ERS7Info.h.
mask corresponding to HeadColorLEDOffset Definition at line 215 of file ERS7Info.h.
Initial value:
FaceLEDMask | HeadColorLEDMask | HeadWhiteLEDMask | ModeRedLEDMask | ModeGreenLEDMask | ModeBlueLEDMask | WirelessLEDMask LEDs for face (all but back lights). Definition at line 246 of file ERS7Info.h.
the offset of the beginning of the head joints, add TPROffset_t to get specific joint Definition at line 130 of file ERS7Info.h. Referenced by PostureMC::defaultMaxSpeed(), HeadPointerMC::defaultMaxSpeed(), HeadController::runCommand(), and HeadPointerMC::setJoints().
mask corresponding to HeadWhiteLEDOffset Definition at line 216 of file ERS7Info.h.
alias for the near IR sensor Definition at line 144 of file ERS7Info.h. Referenced by ERS7Info::ERS7Capabilities::ERS7Capabilities().
true for joints which can be updated every 32 ms (all joints on ERS-7) Definition at line 111 of file ERS7Info.h.
no arms, just legs Definition at line 79 of file ERS7Info.h.
The number of joints per leg. Definition at line 83 of file ERS7Info.h.
mask corresponding to LEDABModeOffset Definition at line 228 of file ERS7Info.h.
the offset of LEDs in WorldState::outputs and MotionCommand functions, see LedOffset_t for specific offsets Definition at line 134 of file ERS7Info.h.
the offset of the beginning of the leg joints, NumLegs of JointsPerLeg each, in LegOrder_t order; see LegOffset_t Definition at line 129 of file ERS7Info.h.
Initial value:
{ 4.86510529f, 5.27962099f, 5.27962099f, 4.86510529f, 5.27962099f, 5.27962099f, 4.86510529f, 5.27962099f, 5.27962099f, 4.86510529f, 5.27962099f, 5.27962099f, 3.18522588f, 10.0574598f, 5.78140315f, 15.1625479f, 15.1625479f, 10.1447263f, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0 } These values are Sony's recommended maximum joint velocities, in rad/ms. 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 and PostureMC are primary examples of included classes which do respect these values (although they can be overridden) These values were obtained from the administrators of the Sony OPEN-R BBS Definition at line 520 of file ERS7Info.h.
mask corresponding to MdBackColorLEDOffset Definition at line 224 of file ERS7Info.h. Referenced by EmergencyStopMC::EmergencyStopMC().
mask corresponding to MdBackWhiteLEDOffset Definition at line 225 of file ERS7Info.h.
Initial value:
{ { RAD(-115),RAD(130) },{ RAD(-10),RAD(88) },{ RAD(-25),RAD(122) }, { RAD(-115),RAD(130) },{ RAD(-10),RAD(88) },{ RAD(-25),RAD(122) }, { RAD(-115),RAD(130) },{ RAD(-10),RAD(88) },{ RAD(-25),RAD(122) }, { RAD(-115),RAD(130) },{ RAD(-10),RAD(88) },{ RAD(-25),RAD(122) }, { RAD(-75),RAD(0) },{ RAD(-88),RAD(88) },{ RAD(-15),RAD(45) }, { RAD(5),RAD(60) },{ RAD(-45),RAD(45) }, { RAD(-55),RAD(-3) }, {0,1},{0,1},{0,1},{0,1},{0,1},{0,1}, {0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{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, first index is the output offset, second index is MinMaxRange_t (i.e. MinRange or MaxRange). Same as outputRanges, don't know actual values because they were never specified by Sony Definition at line 579 of file ERS7Info.h.
middle left Definition at line 232 of file ERS7Info.h.
middle right Definition at line 233 of file ERS7Info.h.
mask corresponding to ModeBlueLEDOffset Definition at line 219 of file ERS7Info.h.
mask corresponding to ModeGreenLEDOffset Definition at line 218 of file ERS7Info.h.
mask corresponding to ModeRedLEDOffset Definition at line 217 of file ERS7Info.h.
the offset of the beginning of the mouth joint, is specific joint Definition at line 132 of file ERS7Info.h.
Use with kinematics to refer to short-range infrared (distance) sensor reference frame. Definition at line 143 of file ERS7Info.h.
no wheels, just legs Definition at line 81 of file ERS7Info.h.
no arms, just legs Definition at line 80 of file ERS7Info.h.
The number of binary joints - just the ears. Definition at line 96 of file ERS7Info.h.
the number of buttons that are available, 2 head, 4 paws, 3 back, 1 underbelly see ERS7Info::ButtonOffset_t Definition at line 90 of file ERS7Info.h.
The number of joints which control the ears (NOT per ear, is total). Definition at line 89 of file ERS7Info.h. Referenced by BatteryMonitorBehavior::setFlipper().
The number of face panel LEDs. Definition at line 93 of file ERS7Info.h.
the number of frames per buffer (don't forget also double buffered) Definition at line 69 of file ERS7Info.h.
The number of joints in the neck. Definition at line 86 of file ERS7Info.h.
The number of LEDs which can be controlled. Definition at line 92 of file ERS7Info.h.
the TOTAL number of joints on ALL legs Definition at line 85 of file ERS7Info.h.
The number of legs. Definition at line 84 of file ERS7Info.h.
the number of joints that control the mouth Definition at line 88 of file ERS7Info.h.
the total number of outputs Definition at line 97 of file ERS7Info.h.
The number of joints which use PID motion - everything except ears. Definition at line 95 of file ERS7Info.h.
for the base, paws (NumLegs), camera, and IR sensors (3) reference frames Definition at line 98 of file ERS7Info.h.
3 IR (distance), 3 accel (force), 5 from power, see ERS7Info::SensorOffset_t Definition at line 91 of file ERS7Info.h.
the number of frames per buffer being sent to ears (double buffered as well) Definition at line 71 of file ERS7Info.h.
The number of joints assigned to the tail. Definition at line 87 of file ERS7Info.h.
no wheels, just legs Definition at line 77 of file ERS7Info.h.
Names for each of the outputs. Definition at line 339 of file ERS7Info.h. Referenced by PostureMC::defaultMaxSpeed(), HeadPointerMC::defaultMaxSpeed(), HeadController::runCommand(), BatteryMonitorBehavior::setFlipper(), and HeadPointerMC::setJoints().
Initial value:
{ { RAD(-115),RAD(130) },{ RAD(-10),RAD(88) },{ RAD(-25),RAD(122) }, { RAD(-115),RAD(130) },{ RAD(-10),RAD(88) },{ RAD(-25),RAD(122) }, { RAD(-130),RAD(115) },{ RAD(-10),RAD(88) },{ RAD(-25),RAD(122) }, { RAD(-130),RAD(115) },{ RAD(-10),RAD(88) },{ RAD(-25),RAD(122) }, { RAD(-75),RAD(0) },{ RAD(-88),RAD(88) },{ RAD(-15),RAD(45) }, { RAD(5),RAD(60) },{ RAD(-45),RAD(45) }, { RAD(-55),RAD(-3) }, {0,1},{0,1},{0,1},{0,1},{0,1},{0,1}, {0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{0,1},{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, first index is the output offset, second index is MinMaxRange_t (i.e. MinRange or MaxRange). Definition at line 556 of file ERS7Info.h.
Aibo-era alias for FootFrameOffset. Definition at line 141 of file ERS7Info.h.
The beginning of the PID Joints. Definition at line 128 of file ERS7Info.h.
Initial value:
{ "PRM:/r2/c1-Joint2:21", "PRM:/r2/c1/c2-Joint2:22", "PRM:/r2/c1/c2/c3-Joint2:23", "PRM:/r4/c1-Joint2:41", "PRM:/r4/c1/c2-Joint2:42", "PRM:/r4/c1/c2/c3-Joint2:43", "PRM:/r3/c1-Joint2:31", "PRM:/r3/c1/c2-Joint2:32", "PRM:/r3/c1/c2/c3-Joint2:33", "PRM:/r5/c1-Joint2:51", "PRM:/r5/c1/c2-Joint2:52", "PRM:/r5/c1/c2/c3-Joint2:53", "PRM:/r1/c1-Joint2:11", "PRM:/r1/c1/c2-Joint2:12", "PRM:/r1/c1/c2/c3-Joint2:13", "PRM:/r6/c1-Joint2:61", "PRM:/r6/c2-Joint2:62", "PRM:/r1/c1/c2/c3/c4-Joint2:14", "PRM:/r1/c1/c2/c3/l1-LED2:l1", "PRM:/r1/c1/c2/c3/l2-LED2:l2", "PRM:/r1/c1/c2/c3/l3-LED2:l3", "PRM:/r1/c1/c2/c3/l4-LED2:l4", "PRM:/r1/c1/c2/c3/l5-LED2:l5", "PRM:/r1/c1/c2/c3/l6-LED2:l6", "PRM:/r1/c1/c2/c3/la-LED3:la", "PRM:/r1/c1/c2/c3/lb-LED3:lb", "PRM:/r1/c1/c2/c3/lc-LED3:lc", "PRM:/r1/c1/c2/c3/ld-LED3:ld", "PRM:/r1/c1/c2/c3/le-LED3:le", "PRM:/r1/c1/c2/c3/lf-LED3:lf", "PRM:/r1/c1/c2/c3/lg-LED3:lg", "PRM:/r1/c1/c2/c3/lh-LED3:lh", "PRM:/r1/c1/c2/c3/li-LED3:li", "PRM:/r1/c1/c2/c3/lj-LED3:lj", "PRM:/r1/c1/c2/c3/lk-LED3:lk", "PRM:/r1/c1/c2/c3/ll-LED3:ll", "PRM:/r1/c1/c2/c3/lm-LED3:lm", "PRM:/r1/c1/c2/c3/ln-LED3:ln", "PRM:/lu-LED3:lu", "PRM:/lv-LED3:lv", "PRM:/lw-LED3:lw", "PRM:/lx-LED3:lx", "PRM:/ly-LED3:ly", "PRM:/lz-LED3:lz", "", "PRM:/r1/c1/c2/c3/e5-Joint4:15", "PRM:/r1/c1/c2/c3/e6-Joint4:16" } 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 can't be arbitrarily reordered...
Definition at line 419 of file ERS7Info.h.
mask corresponding to RrBackColorLEDOffset Definition at line 226 of file ERS7Info.h.
mask corresponding to RrBackWhiteLEDOffset Definition at line 227 of file ERS7Info.h.
Initial value:
{ "NearIRDist","FarIRDist","ChestIRDist", "BAccel","LAccel","DAccel", "PowerRemain","PowerThermo","PowerCapacity","PowerVoltage","PowerCurrent" } Provides a string name for each sensor. Definition at line 329 of file ERS7Info.h.
time between frames for the ears (ERS-7 doesn't seem to have any "slow" joints; this only applied for the ears on the ERS-210) Definition at line 70 of file ERS7Info.h.
the number of milliseconds per sound buffer... I'm not sure if this can be changed Definition at line 72 of file ERS7Info.h.
use to open speaker connection with the system Definition at line 478 of file ERS7Info.h.
LEDs on tail (ERS-7 has none). Definition at line 257 of file ERS7Info.h.
the offset of the beginning of the tail joints, add TPROffset_t to get specific joint (except RollOffset not available) Definition at line 131 of file ERS7Info.h. Referenced by TailWagMC::updateOutputs().
the name of the model, to be used for logging and remote GUIs Definition at line 31 of file RobotInfo.cc. Referenced by LedEngine::displayNumber(), VisualTargetCloseTrans::doEvent(), Controller::init(), BatteryMonitorBehavior::setFlipper(), LedEngine::setOneOfTwo(), FlashIPAddrBehavior::setupSequence(), and TailWagMC::updateOutputs().
blue tail light Definition at line 238 of file ERS7Info.h.
red tail light Definition at line 237 of file ERS7Info.h.
top bar Definition at line 236 of file ERS7Info.h.
top left Definition at line 234 of file ERS7Info.h.
top right Definition at line 235 of file ERS7Info.h.
mask corresponding to WirelessLEDOffset Definition at line 220 of file ERS7Info.h. |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:22 2016 by Doxygen 1.6.3 |