<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
Another feedback for a current bugfix in the roby sources.
</div>
<div>
 
</div>
<div>
method(:superior_method)  do
</div>
<div>
    # service composition
</div>
<div>
    self.service.script do
</div>
<div>
         # some executes and polls
</div>
<div>
         ....
</div>
<div>
 
</div>
<div>
         emit :success
</div>
<div>
    end
</div>
<div>
end
</div>
<div>
 
</div>
<div>
(Information for the other rock developers)
</div>
<div>
* This failed some days ago due to a missing method error for 'event' for :success.
</div>
<div>
 
</div>
<div>
I think its working now, but executing this method via the roby shell results in another error:
</div>
<div>
 
</div>
<div>
Message:
</div>
<div>
19:06:27.021 (Roby)       {}}> failed with [19:06:27.006 @3] Roby::PlanningTask:0x7ff99b2c8228{planner_model => MainPlanner, planned_model => Roby::Task, planning_method => attacher:21(), method_name => attacher, planning_owners => , method_options => {}}[][attacher:21():{}] -> expecting a task, event, or a collection of tasks and events, got #<Roby::TaskScripting::ScriptEngine:0x7ff99b275b90>/failed
<br/>19:06:27.021 (Roby)   /stuff/chris/tools/roby/lib/roby/plan.rb:286:in `partition_event_task': expecting a task, event, or a collection of tasks and events, got #<Roby::TaskScripting::ScriptEngine:0x7ff99b275b90> (TypeError)/stuff/chris/tools/roby/lib/roby/plan.rb:286:in `partition_event_task': expecting a task, event, or a collection of tasks and events, got #<Roby::TaskScripting::ScriptEngine:0x7ff99b275b90> (TypeError)
<br/>19:06:27.021 (Roby) /stuff/chris/tools/roby/lib/roby/plan.rb:286:in `partition_event_task',
<br/>19:06:27.021 (Roby)   /stuff/chris/tools/roby/lib/roby/planning/task.rb:154:in `value',
<br/>19:06:27.021 (Roby)   /stuff/chris/tools/roby/lib/roby/planning/task.rb:154:in the polling handler,
<br/>19:06:27.021 (Roby)   /stuff/chris/tools/utilrb/lib/utilrb/models/inherited_enumerable.rb:60,
<br/>19:06:27.021 (Roby)   /stuff/chris/tools/orocos.rb/bin/rock-roby:18
<br/>19:06:27.085 (Roby) mission failed: Roby::Task:0x7ff99b2c84d0{}[]
<br/>19:06:27.085 (Roby) failed to plan Roby::Task:0x7ff99b2c84d0
<br/>19:06:27.085 (Roby)   owners: Roby::Distributed
<br/>19:06:27.085 (Roby)   arguments: #<Roby::TaskArguments:0x7ff99b2c8430
<br/>19:06:27.085 (Roby)    @static=true,
<br/>19:06:27.085 (Roby)    @task=
<br/>19:06:27.085 (Roby)     Roby::Task:0x7ff99b2c84d0
<br/>19:06:27.085 (Roby)       owners: Roby::Distributed
<br/>19:06:27.085 (Roby)       arguments: #<Roby::TaskArguments:0x7ff99b2c8430
<br/>19:06:27.085 (Roby)        @static=true,
<br/>19:06:27.085 (Roby)        @task=#<Roby::Task:0x7ff99b2c84d0 ...>,
<br/>19:06:27.085 (Roby)        @values={}>,
<br/>19:06:27.085 (Roby)    @values={}>
<br/>
<br/>
</div>
<div>
<br/>This worked in the past because we used it very much in the avalon planners.
</div>
<div>
 
</div>
<div>
Chris
</div>
</body></html>