[Rock-dev] [rock] #234: generic way to generate messages for the operator from task states
rock
noreply at opendfki.de
Wed Dec 12 11:13:40 CET 2012
#234: generic way to generate messages for the operator from task states
----------------------------+-----------------------------------
Reporter: Alexander.Duda | Owner: rock-dev-mailing-list
Type: enhancement | Status: new
Priority: major | Milestone:
Component: toolchain | Keywords:
----------------------------+-----------------------------------
The proposal is to add something like the following to the orogen file.
annotate_state state, "battery is low (%i)", port.field
These information are when picked up by orocos.rb
sync api:
message = task.state_annotation(state=task.state)
async api:
task.on_state_change do |state,message|
end
--
Ticket URL: <https://rock.opendfki.de/ticket/234>
rock <https://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list