/** 
 * VehicleInfo class
 * provides an atomic unit for synchronized information of a vehicle object
 *  
 */
package activeTable;

public class VehicleInfo {

   /**
    * x, y, theta specify current position and orientation on the table.
    * x, y range = [-1..1], where 0,0 is the center of the table, and -1/1 are the outer extermes
    * theta is in radians where 0 indicates north 
    */
   public double x, y, theta;

   /**
    * indicates current status of the vehicle (see all the constants specified)
    */
   public int status;

   public VehicleInfo(double _x, double _y, double _theta, int _stat) {
      x = _x;
      y = _y;
      status = _stat;
      theta = _theta;
   }

   public VehicleInfo(int _x, int _y, double _theta) {
      x = _x;
      y = _y;
      theta = _theta;
   }
   
   public VehicleInfo() {}
}


