Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
LocomotionEvent Class ReferenceGives updates regarding the current movement of the robot through the world. More...
Inheritance diagram for LocomotionEvent:
Detailed DescriptionGives updates regarding the current movement of the robot through the world. An activate event will be sent when a potential source of motion is created, and a deactivate when it is destroyed. Status events will be sent at any change of direction/speed. The source ID field will hold the MotionManager::MC_ID of the sending MotionCommand Definition at line 15 of file LocomotionEvent.h.
Constructor & Destructor Documentation
constructor Definition at line 22 of file LocomotionEvent.h.
constructor Definition at line 23 of file LocomotionEvent.h. Member Function Documentation
should return the minimum size needed if using binary format (i.e. not XML) Reimplemented from EventBase. Definition at line 20 of file LocomotionEvent.cc.
All subclasses should override this and return a unique ID for their class. All IDs corresponding to all-capital letters are reserved for future framework expansion. (Thus, user subclasses should contain at least one lower-case letter.) This code can be used when serializing to allow quick identification of the class type by the receiver. Reimplemented from EventBase. Definition at line 27 of file LocomotionEvent.h.
generates a description of the event with variable verbosity
Reimplemented from EventBase. Definition at line 11 of file LocomotionEvent.cc.
Definition at line 46 of file LocomotionEvent.h.
load from binary format Reimplemented from EventBase. Definition at line 33 of file LocomotionEvent.cc.
load from XML format Reimplemented from EventBase. Definition at line 55 of file LocomotionEvent.cc.
save to binary format Reimplemented from EventBase. Definition at line 44 of file LocomotionEvent.cc.
Returns true if this event indicates motion has stopped (x,y,a are all essentially zero; may not be exactly zero in Mirage). Reimplemented from EventBase. Definition at line 98 of file LocomotionEvent.cc.
Allows you to set the new X, Y, and A components. Definition at line 30 of file LocomotionEvent.h. Referenced by XWalkMC::setTargetVelocity(), and XWalkMC::updateOutputsInitial(). Member Data Documentationthe new angular component (body relative) Definition at line 50 of file LocomotionEvent.h. Referenced by DeadReckoningBehavior< ParticleT >::doEvent(), getBinSize(), getDescription(), isStop(), loadBinaryBuffer(), loadXML(), saveBinaryBuffer(), saveXML(), and setXYA().
causes class type id to automatically be registered with EventBase's FamilyFactory (getTypeRegistry()) Definition at line 54 of file LocomotionEvent.h. Referenced by getClassTypeID(). the new x component (body relative) Definition at line 48 of file LocomotionEvent.h. Referenced by DeadReckoningBehavior< ParticleT >::doEvent(), getBinSize(), getDescription(), isStop(), loadBinaryBuffer(), loadXML(), saveBinaryBuffer(), saveXML(), and setXYA(). the new y component (body relative) Definition at line 49 of file LocomotionEvent.h. Referenced by DeadReckoningBehavior< ParticleT >::doEvent(), getBinSize(), getDescription(), isStop(), loadBinaryBuffer(), loadXML(), saveBinaryBuffer(), saveXML(), and setXYA(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:12 2016 by Doxygen 1.6.3 |