|
This widget allows the user to create event senders.
For an event the user can specify the receiving state and parameters. Every state that is added to a RemoteStateOfferer and instantiated can be controlled via Ice.
This control is one-way, so you dont get any information back. To make this easier, there is a Gui-Widget that offers a general interface to such states. It is called EventSender.
The control is event based. Like mentioned in Eventprocessing state transitions are caused by events and the exact transitions are specified in a transition table. So to control a state, one has to send events with parameters to it.
Usually such events are automatically send, if condition becomes true, that was installed by a state.
But e.g. for debugging purposes or loading a new robot-program it is needed to send this events manually. To do this, you have to load the EventSender-Widget. In this widget, you can specify control-configurations. These configurations contain:
In details these mean:
To load a robot program (i.e. a statechart offered with a RemoteStateOfferer) into the running robot main statechart configure an EventSender like this:
The RobotStatechart must be in the states RobotStatechart->Functional->RobotInitialized (it is automatically in this state after scenario start, but you can re-enter this state by restarting the statechart, see below).
The parameter field 'proxyName' has to contain the component-name of the RemoteStateOfferer, where the state resides in.
The parameter field 'stateName' has to be the name of the state, that should be loaded into the Robot-main-statechart. This state is then automatically entered, when the event was sent.
To restart the RobotStatechart send an Event EvStopRobot (see image below) and an Event EvStartRobot respectively.
For detailed explanations see the class-documentations themself.