org.jcsp.nxt.io
Class ActiveUltrasonicSensor

java.lang.Object
  extended by org.jcsp.nxt.io.ActiveUltrasonicSensor
All Implemented Interfaces:
CSProcess

public class ActiveUltrasonicSensor
extends java.lang.Object
implements CSProcess

Author:
Patrick Lismore

Field Summary
(package private)  int distance
           
(package private)  lejos.nxt.UltrasonicSensor sonic
           
(package private)  ChannelOutputInt usOut
           
 
Constructor Summary
ActiveUltrasonicSensor(ChannelOutputInt usOut)
           
 
Method Summary
 void run()
          This defines the actions of the process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sonic

lejos.nxt.UltrasonicSensor sonic

distance

int distance

usOut

ChannelOutputInt usOut
Constructor Detail

ActiveUltrasonicSensor

public ActiveUltrasonicSensor(ChannelOutputInt usOut)
Method Detail

run

public void run()
Description copied from interface: CSProcess
This defines the actions of the process.

Specified by:
run in interface CSProcess