Accessor: TrafficLight

TrafficLight

Accessor for the TrafficLight swarmlet. This accessor listens for messages from the TrafficLight via a web socket given the IP address of a server running the TrafficLigth swarmlet. It also sends control messages to request a green light.

Version:
  • $$Id$$
Author:
  • Edward A. Lee (eal@eecs.berkeley.edu)
Source:
Inputs:
Name Type Description
control A JSON object FIXME.
Outputs:
Name Type Description
data A JSON object FIXME.
schema Upon initialization, this output port produces a JSON object that is a schema for the JSON expected on the control input.