[Bug 543] New: Unable to do self-transition in state machine
| Submitted by snrkiwi on Fri, 2008-05-09 17:23. |
For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=543>
Summary: Unable to do self-transition in state machine
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Real-Time Toolkit (RTT)
AssignedTo: orocos-dev [..]
ReportedBy: kiwi net [..]
CC: orocos-dev [..]
Estimated Hours: 0.0
The following doesn't do the self transition, or is it that state machines
don't exit and then re-enter the state on a self-transition?
state JJ_POINT2POINT
{
entry
{
do nAxesGeneratorPos.start()
do Robot.requestPositionControl()
do nAxesGeneratorPos.moveTo(jjPoint2Point_pose,
jjPoint2Point_time)
}
exit
{
do nAxesGeneratorPos.stop()
}
transition requestSafe() select SAFE
// can run PTP's back to back
transition requestJJPoint2Point(
jjPoint2Point_pose, jjPoint2Point_time) select JJ_POINT2POINT
}
