
Pursuer |
ptolemy.domains.wireless.demo.EvaderAndPursuer.Pursuer |
The pursuer moves from a leaf node of the spanning tree to its parent node
to track the envader.
see the Sensor class for how the spanning tree is constructed.
FIXME: Currently, the workRange is not really used, but I plan to use it
to define a work area for a pursuer, so that when there are multi pursuers,
each one can only take care of a particular part of the field to catch
the evader more quickly.
Author(s): Yang Zhao
Version:$ $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (pjb2e)
input
Port that receives update message for the spanning tree.
trigger
Port that receives triggers to output its location.
xlocation
Port that output the current x direction location of the pursuer.
ylocation
Port that output the current y direction location of the pursuer.
messageChannelName
Name of the channel for messaging between sensors or pursuer.
This is a string that defaults to "messageChannel".
signalChannelName
Name of the channel for sensors to detect envader or pursuer.
This is a string that defaults to "signalChannel".
speed
The speed per trigger time of the pursuer.
workRange
The work area of the pursuer.