Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <LoadPostureControl.h>
Inheritance diagram for LoadPostureControl:
Should switch this to use a MotionSequence so it can move more leisurely and not "snap" to position
Definition at line 13 of file LoadPostureControl.h.
Public Member Functions | |
LoadPostureControl (const std::string &n, MotionManager::MC_ID estop_id) | |
Constructor. | |
virtual | ~LoadPostureControl () |
Destructor. | |
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) | |
virtual void | deactivate () |
called when this control is being popped from the control stack | |
Protected Member Functions | |
virtual ControlBase * | selectedFile (const std::string &f) |
does the actual loading of the MotionSequence | |
Protected Attributes | |
MotionManager::MC_ID | estopid |
MC_ID of the e-stop. | |
std::string | file |
last posture file loaded |
|
Constructor.
Definition at line 16 of file LoadPostureControl.h. References config, estopid, file, FileBrowserControl::root, and FileBrowserControl::setFilter(). |
|
Destructor.
Definition at line 22 of file LoadPostureControl.h. |
|
called when this control is being popped from the control stack
Reimplemented from ControlBase. Definition at line 37 of file LoadPostureControl.h. References erouter, and EventRouter::forgetListener(). |
|
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 25 of file LoadPostureControl.h. References erouter, estopid, file, and EventRouter::removeListener(). |
|
does the actual loading of the MotionSequence
Reimplemented from FileBrowserControl. Definition at line 43 of file LoadPostureControl.h. References EventRouter::addListener(), MotionManager::addMotion(), EventBase::deactivateETID, erouter, estopid, file, MotionManager::kEmergencyPriority, MotionManager::MC_ID, motman, and EventBase::motmanEGID. |
|
MC_ID of the e-stop.
Definition at line 53 of file LoadPostureControl.h. |
|
last posture file loaded
Definition at line 54 of file LoadPostureControl.h. |
Tekkotsu v1.4 |
Generated Sat Jul 19 00:09:01 2003 by Doxygen 1.3.2 |