Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
RunSequenceControl< SequenceSize > Class Template Reference#include <RunSequenceControl.h>
Inheritance diagram for RunSequenceControl< SequenceSize >: ![]() Detailed Descriptiontemplate<unsigned int SequenceSize>
Upon activation, loads a position from a file name read from cin (stored in ms/data/motion...).
|
Public Member Functions | |
RunSequenceControl (const std::string &n, MotionManager::MC_ID estop_id) | |
Constructor, sets filter to *.mot. | |
virtual void | processEvent (const EventBase &event) |
this is to help reduce the twitch at the end (estop tries to go back to its position when this is removed) | |
Protected Member Functions | |
void | runFile () |
loads the motion sequence and runs it | |
virtual ControlBase * | selectedFile (const std::string &f) |
does the actual loading of the MotionSequence | |
Protected Attributes | |
MotionManager::MC_ID | estopid |
MC_ID of the emergency stop (so we can reset it to the end frame). | |
MotionManager::MC_ID | ledid |
MC_ID of the led we use to signal there's a MotionSequence lined up. | |
std::string | waitingFile |
filename of the motion sequence waiting to load |
|
Constructor, sets filter to *.mot.
Definition at line 30 of file RunSequenceControl.h. |
|
this is to help reduce the twitch at the end (estop tries to go back to its position when this is removed)
Implements EventListener. Definition at line 37 of file RunSequenceControl.h. |
|
loads the motion sequence and runs it
Definition at line 45 of file RunSequenceControl.h. Referenced by RunSequenceControl< SequenceSize >::processEvent(), and RunSequenceControl< SequenceSize >::selectedFile(). |
|
does the actual loading of the MotionSequence
Reimplemented from FileBrowserControl. Definition at line 54 of file RunSequenceControl.h. |
|
MC_ID of the emergency stop (so we can reset it to the end frame).
Definition at line 70 of file RunSequenceControl.h. Referenced by RunSequenceControl< SequenceSize >::RunSequenceControl(), and RunSequenceControl< SequenceSize >::selectedFile(). |
|
MC_ID of the led we use to signal there's a MotionSequence lined up.
Definition at line 71 of file RunSequenceControl.h. Referenced by RunSequenceControl< SequenceSize >::processEvent(), RunSequenceControl< SequenceSize >::RunSequenceControl(), and RunSequenceControl< SequenceSize >::selectedFile(). |
|
filename of the motion sequence waiting to load
Definition at line 72 of file RunSequenceControl.h. Referenced by RunSequenceControl< SequenceSize >::runFile(), RunSequenceControl< SequenceSize >::RunSequenceControl(), and RunSequenceControl< SequenceSize >::selectedFile(). |
Tekkotsu v2.2.2 |
Generated Tue Jan 4 15:45:31 2005 by Doxygen 1.4.0 |