logo
Published on The Orocos Project (http://www.orocos.org)

[Bug 544] New: Unable have event transition with no select statements

By snrkiwi
Created 2008-05-09 17:28

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=544>

           Summary: Unable have event transition with no select statements
           Product: RTT
           Version: rtt-trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Real-Time Toolkit (RTT)
        AssignedTo: orocos-dev at lists [dot] mech [dot] kuleuven [dot] be
        ReportedBy: kiwi.net at mac [dot] com
                CC: orocos-dev at lists [dot] mech [dot] kuleuven [dot] be
   Estimated Hours: 0.0

This may not technically be legal ... Was playing with work-arounds for #543,
and found that the following was considered invalid. It's very similar to #178.


  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
    transition requestJJPoint2Point(
           jjPoint2Point_pose, jjPoint2Point_time) 
           {
            do nAxesGeneratorPos.moveTo(jjPoint2Point_pose, 
                                        jjPoint2Point_time)
           }
  }

The above produces "Syntactic error: 'select' statement required after event or
transition program" and indicates the second transition is the problem.


‹ [Bug 543] New: Unable to do self-transition in state machine Possible to do transitions per state machine, and not per state? ›

Source URL:
http://www.orocos.org/node/672