| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ERS2xxInfo Namespace ReferenceDetailed DescriptionContains information about the ERS-2xx series of robot, such as number of joints, PID defaults, timing information, etc.This is a compatability mode, which allows dual-booting of the same memory stick on both models without needing to recompile, at the expense of (a little) runtime speed.
Typedef Documentation
So you can be clear when you're refering to a LED bitmask.
Definition at line 191 of file ERS2xxInfo.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 281 of file ERS2xxInfo.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 154 of file ERS2xxInfo.h. The offsets of the individual legs.
Definition at line 144 of file ERS2xxInfo.h. the ordering of legs
Definition at line 121 of file ERS2xxInfo.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 129 of file ERS2xxInfo.h. holds offset to different sensor values in WorldState::sensors[]
Definition at line 305 of file ERS2xxInfo.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 136 of file ERS2xxInfo.h.
Variable Documentation
Initial value: BackLeft1LEDMask | BackLeft2LEDMask | BackLeft3LEDMask | BackRight1LEDMask | BackRight2LEDMask | BackRight3LEDMask
Definition at line 244 of file ERS2xxInfo.h.
Definition at line 199 of file ERS2xxInfo.h.
Definition at line 200 of file ERS2xxInfo.h.
Definition at line 201 of file ERS2xxInfo.h.
Definition at line 204 of file ERS2xxInfo.h.
Definition at line 203 of file ERS2xxInfo.h.
Definition at line 202 of file ERS2xxInfo.h.
Initial value: {
"LFrPaw","RFrPaw","LBkPaw","RBkPaw",
"ChinBut","BackBut","HeadFrBut","HeadBkBut",
"TailLeftBut","TailCenterBut","TailRightBut"
}
Definition at line 297 of file ERS2xxInfo.h.
should be set to maximum of CameraHorizFOV or CameraVertFOV
Definition at line 65 of file ERS2xxInfo.h.
Use with kinematics to refer to camera reference frame.
Definition at line 117 of file ERS2xxInfo.h.
Initial value:
{
{ 0x16/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x08/(double)(1<<(16-0xF)) },
{ 0x14/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x06/(double)(1<<(16-0xF)) },
{ 0x23/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x05/(double)(1<<(16-0xF)) },
{ 0x16/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x08/(double)(1<<(16-0xF)) },
{ 0x14/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x06/(double)(1<<(16-0xF)) },
{ 0x23/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x05/(double)(1<<(16-0xF)) },
{ 0x16/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x08/(double)(1<<(16-0xF)) },
{ 0x14/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x06/(double)(1<<(16-0xF)) },
{ 0x23/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x05/(double)(1<<(16-0xF)) },
{ 0x16/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x08/(double)(1<<(16-0xF)) },
{ 0x14/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x06/(double)(1<<(16-0xF)) },
{ 0x23/(double)(1<<(16-0xE)), 0x04/(double)(1<<(16-0x2)), 0x05/(double)(1<<(16-0xF)) },
{ 0x0A/(double)(1<<(16-0xE)), 0x08/(double)(1<<(16-0x2)), 0x0C/(double)(1<<(16-0xF)) },
{ 0x0D/(double)(1<<(16-0xE)), 0x08/(double)(1<<(16-0x2)), 0x0B/(double)(1<<(16-0xF)) },
{ 0x0A/(double)(1<<(16-0xE)), 0x08/(double)(1<<(16-0x2)), 0x0C/(double)(1<<(16-0xF)) },
{ 0x0A/(double)(1<<(16-0xE)), 0x00/(double)(1<<(16-0x2)), 0x18/(double)(1<<(16-0xF)) },
{ 0x07/(double)(1<<(16-0xE)), 0x00/(double)(1<<(16-0x2)), 0x11/(double)(1<<(16-0xF)) },
{ 0x0E/(double)(1<<(16-0xE)), 0x08/(double)(1<<(16-0x2)), 0x10/(double)(1<<(16-0xF)) }
}
Definition at line 523 of file ERS2xxInfo.h.
These will control the shift values given to the system. see PIDMC.
Definition at line 549 of file ERS2xxInfo.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 113 of file ERS2xxInfo.h. Referenced by ERS2xxInfo::ERS2xxCapabilities::ERS2xxCapabilities().
Definition at line 196 of file ERS2xxInfo.h.
Definition at line 197 of file ERS2xxInfo.h.
Definition at line 194 of file ERS2xxInfo.h.
Definition at line 195 of file ERS2xxInfo.h.
Definition at line 209 of file ERS2xxInfo.h.
Definition at line 208 of file ERS2xxInfo.h.
Definition at line 210 of file ERS2xxInfo.h.
Definition at line 192 of file ERS2xxInfo.h.
Definition at line 193 of file ERS2xxInfo.h. Initial value: FaceFrontLeftLEDMask | FaceFrontRightLEDMask | FaceCenterLeftLEDMask | FaceCenterRightLEDMask | FaceBackLeftLEDMask | FaceBackRightLEDMask | FaceFrontALEDMask | FaceFrontBLEDMask | FaceFrontCLEDMask | ModeLEDMask
Definition at line 227 of file ERS2xxInfo.h.
Use with kinematics to refer to infrared (distance) sensor reference frame.
Definition at line 118 of file ERS2xxInfo.h.
Initial value: {
true, true, true,
true, true, true,
true, true, true,
true, true, true,
true, true, true,
true, true,
true,
true, true, true,
true, true, true,
true,
true, true, true,
true, true, true,
true, true, true,
true, true, true,
true,
true, true,
false, false
}
Definition at line 72 of file ERS2xxInfo.h.
the offset of LEDs in WorldState::outputs and MotionCommand functions
Definition at line 110 of file ERS2xxInfo.h.
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 is (as of v1.6) the only included MotionCommand to actually use these values. Definition at line 556 of file ERS2xxInfo.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.6),RAD(92.6) },{ 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},{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}
}
Definition at line 627 of file ERS2xxInfo.h.
Definition at line 198 of file ERS2xxInfo.h.
the offset of the beginning of the mouth joint
Definition at line 108 of file ERS2xxInfo.h. Referenced by ERS2xxInfo::ERS2xxCapabilities::ERS2xxCapabilities().
The number of binary joints - just the ears (Aperios only).
Definition at line 59 of file ERS2xxInfo.h.
the number of buttons that are available, see ERS2xxInfo::ButtonOffset_t
Definition at line 54 of file ERS2xxInfo.h.
The number of joints which control the ears (NOT per ear, is total).
Definition at line 53 of file ERS2xxInfo.h. Referenced by ERS2xxInfo::ERS2xxCapabilities::ERS2xxCapabilities().
the number of frames per buffer (don't forget also double buffered)
Definition at line 33 of file ERS2xxInfo.h.
the number of joints that control the mouth
Definition at line 52 of file ERS2xxInfo.h. Referenced by ERS2xxInfo::ERS2xxCapabilities::ERS2xxCapabilities().
The number of joints which use PID motion - everything except ears.
Definition at line 58 of file ERS2xxInfo.h.
for the base, paw, camera, and IR sensor reference frames
Definition at line 61 of file ERS2xxInfo.h.
1 dist, 3 accel, 1 thermo, 5 from power, see ERS2xxInfo::SensorOffset_t
Definition at line 55 of file ERS2xxInfo.h.
the number of frames per buffer being sent to ears (double buffered as well)
Definition at line 35 of file ERS2xxInfo.h.
The number of joints assigned to the tail.
Definition at line 51 of file ERS2xxInfo.h. Referenced by ERS2xxInfo::ERS2xxCapabilities::ERS2xxCapabilities().
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.6),RAD(89.6) },{ 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},{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}
}
Definition at line 600 of file ERS2xxInfo.h.
Use with kinematics to refer to paw reference frames (add appropriate LegOrder_t to specify which paw).
Definition at line 116 of file ERS2xxInfo.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/l1-LED2:l1",
"PRM:/r6/l2-LED2:l2",
"PRM:/r6/l3-LED2:l3",
"PRM:/r6/l4-LED2:l4",
"PRM:/r6/l5-LED2:l5",
"PRM:/r6/l6-LED2:l6",
"PRM:/r6/l9-LED2:l9",
"PRM:/r6/l7-LED2:l7",
"PRM:/r6/l8-LED2:l8",
"PRM:/r1/c1/c2/c3/l8-LED2:l8",
"PRM:/r1/c1/c2/c3/l9-LED2:l9",
"PRM:/r1/c1/c2/c3/la-LED2:la",
"PRM:/r1/c1/c2/c3/lb-LED2:lb",
"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"
}
In particular, assumptions are made that the pid joints will be in slots 0-numPIDJoints and that the fast outputs (ie NOT ears) will be in slots 0-NumFastOutputs There may be other assumptions not noted here!!!
Definition at line 436 of file ERS2xxInfo.h.
Definition at line 211 of file ERS2xxInfo.h.
Initial value: {
"IRDist",
"BAccel","LAccel","DAccel",
"Thermo",
"PowerRemain","PowerThermo","PowerCapacity","PowerVoltage","PowerCurrent"
}
Definition at line 319 of file ERS2xxInfo.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 34 of file ERS2xxInfo.h.
the number of milliseconds per sound buffer... I'm not sure if this can be changed
Definition at line 36 of file ERS2xxInfo.h.
Definition at line 206 of file ERS2xxInfo.h.
Definition at line 205 of file ERS2xxInfo.h.
the offset of the beginning of the tail joints
Definition at line 107 of file ERS2xxInfo.h. Referenced by ERS2xxInfo::ERS2xxCapabilities::ERS2xxCapabilities().
Definition at line 207 of file ERS2xxInfo.h.
the name of the model, to be used for logging and remote GUIs
Definition at line 25 of file RobotInfo.cc. Referenced by Controller::init().
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:51 2007 by Doxygen 1.5.4 |