Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
MoCapEvent Class ReferenceProvides notification of new external localization data. More...
Inheritance diagram for MoCapEvent:
Detailed DescriptionProvides notification of new external localization data. Could be feedback from simulation, GPS, or a full motion-capture system. May not include data for all reference frames, or may only provide one of position or orientation... You can probably assume at least BaseFrame will be included e.g. getPosition(BaseFrame)/getOrientation(BaseFrame), otherwise you can also access positions or orientations directly for lookup/iteration. Mirage allows some control over what frames are reported, see MoCapPos and MoCapOri in EnvConfig.h (assigned via command line or a .mirage world configuration file). By default only the base frame is reported for both position and orientation. Definition at line 18 of file MoCapEvent.h.
Member Typedef Documentation
Definition at line 21 of file MoCapEvent.h.
Definition at line 20 of file MoCapEvent.h. Constructor & Destructor Documentation
Member Function Documentation
Attempts to look up an orientation reading for the specified reference frame, throws std::out_of_range if not found. Definition at line 12 of file MoCapEvent.cc. Referenced by getPose(), and MoCapLogger::gotMoCapGUI().
Constructs a transformation matrix for the specified reference frame, throws std::out_of_range if not found for either position or orientation. The transformation matrix can be right-multiplied by a point relative to the frame to obtain the corresponding world-frame position. In a perfect simulation, this transform should be equivalent to Definition at line 41 of file MoCapEvent.h.
Attempts to look up a position reading for the specified reference frame, throws std::out_of_range if not found. Definition at line 5 of file MoCapEvent.cc. Referenced by getPose(), and MoCapLogger::gotMoCapGUI(). Member Data Documentation
orientation data (may not cover all reference frames!) Definition at line 46 of file MoCapEvent.h. Referenced by MoCapLogger::dump(), and getOrientation().
position data (may not cover all reference frames!) Definition at line 45 of file MoCapEvent.h. Referenced by MoCapLogger::dump(), and getPosition(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:13 2016 by Doxygen 1.6.3 |