Carmen
Class SonarMessage

java.lang.Object
  extended by Carmen.Message
      extended by Carmen.SonarMessage

public class SonarMessage
extends Message

Carmen SonarHandler's message


Field Summary
 int num_sonars
           
 double[] range
          for each sonar, the range reading
 Point robot_pose
          robot state: point location
 double rv
           
 double sensor_angle
          width of sonar cone
 Point[] sonar_positions
          location of each sonar with respect to robot as a Point
 double tv
           
 
Fields inherited from class Carmen.Message
host, timestamp
 
Constructor Summary
SonarMessage()
           
 
Method Summary
static void subscribe(SonarHandler handler)
          Application module calls this to subscribe to SonarMessage.
 
Methods inherited from class Carmen.Message
publish, subscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

num_sonars

public int num_sonars

sensor_angle

public double sensor_angle
width of sonar cone


range

public double[] range
for each sonar, the range reading


sonar_positions

public Point[] sonar_positions
location of each sonar with respect to robot as a Point


robot_pose

public Point robot_pose
robot state: point location


tv

public double tv

rv

public double rv
Constructor Detail

SonarMessage

public SonarMessage()
Method Detail

subscribe

public static void subscribe(SonarHandler handler)
Application module calls this to subscribe to SonarMessage. Application module must extend SonarHandler