|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.usar2004.communication.messages.GBEvent
cz.cuni.amis.pogamut.usar2004.communication.messages.usarinfomessages.GeometryMessage
public class GeometryMessage
Geometry message reports the robot's Geometry information. Please note that the robot Geometry message parameters depend on the type of robot that you are driving. For example, a robot of type “GroundVehicle” will not have the same Geometry message as a robot of type “AerialVehicle.” Corresponding GameBots message is GEO. NOTE: An effecter can implement more than one opcode and the CONF message returns the configuration information for all effecters on the robotic platform. Therefore the segment with the name value pair indicates a new effecter and the opcode name value pair indicates the opcode the effecter specified in by name implements. NOTE: For revolute joints, if the MinRange parameter is greater than the MaxRange parameter, the joint does not have any constraints.
| Field Summary | |
|---|---|
protected javax.vecmath.Point3d |
CenterOfGravity
|
protected javax.vecmath.Vector3d |
Dimensions
|
protected List<Integer> |
Links
|
protected List<cz.cuni.amis.pogamut.base3d.worldview.object.Location> |
Locations
|
protected String |
Name
|
protected List<cz.cuni.amis.pogamut.base3d.worldview.object.Rotation> |
Orientations
|
protected List<Integer> |
ParentLinks
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected List<SensorMount> |
SenEffGeo
|
protected String |
Type
|
protected double |
WheelBase
|
protected double |
WheelRadius
|
protected double |
WheelSeparation
|
| Constructor Summary | |
|---|---|
GeometryMessage()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package). |
|
GeometryMessage(GeometryMessage original)
Cloning constructor. |
|
GeometryMessage(String Type,
String Name,
double WheelBase,
double WheelRadius,
double WheelSeparation,
javax.vecmath.Point3d COG,
javax.vecmath.Vector3d Dimensions)
|
|
| Method Summary | |
|---|---|
javax.vecmath.Point3d |
getCenterOfGravity()
COG(x,y,z) ?x’, ?y’, and ?z’ identify the position of the center of gravity, in meters, calculated from the chassis origin. |
javax.vecmath.Vector3d |
getDimensions()
Dimension (x,y,z) ?x’ defines the robot’s length, ?y’ defines the robot’s width, and ?z’ describes the robot’s height. |
List<Integer> |
getLinks()
For a mission package, the geometry message is expressed in the following format to tell us how the mission package and its elements are ?installed’ together to the robot. |
List<cz.cuni.amis.pogamut.base3d.worldview.object.Location> |
getLocations()
For a mission package, the geometry message is expressed in the following format to tell us how the mission package and its elements are ?installed’ together to the robot. |
String |
getName()
Name of the subject that this geometry message concerns. |
List<cz.cuni.amis.pogamut.base3d.worldview.object.Rotation> |
getOrientations()
For a mission package, the geometry message is expressed in the following format to tell us how the mission package and its elements are ?installed’ together to the robot. |
List<Integer> |
getParentLinks()
For a mission package, the geometry message is expressed in the following format to tell us how the mission package and its elements are ?installed’ together to the robot. |
List<SensorMount> |
getSenEffGeo()
Camera, Sensor and effecter mounts are composed from Name, Location, Orientaion and Mount name. |
long |
getSimTime()
|
String |
getType()
Type describes the vehicle type. |
double |
getWheelBase()
The value is the wheel base, in meters. |
double |
getWheelRadius()
The value is the radius of the robot’s wheels, in meters |
double |
getWheelSeparation()
The value is the wheel separation, in meters. |
String |
toHtmlString()
Gets all properties and values to create a HTML formated string; |
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.usar2004.communication.messages.GBEvent |
|---|
getWorldEvent |
| Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
|---|
toJsonLiteral |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROTOTYPE
protected String Type
protected String Name
protected javax.vecmath.Vector3d Dimensions
protected javax.vecmath.Point3d CenterOfGravity
protected double WheelRadius
protected double WheelSeparation
protected double WheelBase
protected List<SensorMount> SenEffGeo
protected List<Integer> Links
protected List<Integer> ParentLinks
protected List<cz.cuni.amis.pogamut.base3d.worldview.object.Location> Locations
protected List<cz.cuni.amis.pogamut.base3d.worldview.object.Rotation> Orientations
| Constructor Detail |
|---|
public GeometryMessage(String Type,
String Name,
double WheelBase,
double WheelRadius,
double WheelSeparation,
javax.vecmath.Point3d COG,
javax.vecmath.Vector3d Dimensions)
public GeometryMessage(GeometryMessage original)
public GeometryMessage()
| Method Detail |
|---|
public String getType()
public String getName()
public javax.vecmath.Vector3d getDimensions()
public javax.vecmath.Point3d getCenterOfGravity()
public double getWheelRadius()
public double getWheelSeparation()
public double getWheelBase()
public List<SensorMount> getSenEffGeo()
public List<Integer> getLinks()
public List<Integer> getParentLinks()
public List<cz.cuni.amis.pogamut.base3d.worldview.object.Location> getLocations()
public List<cz.cuni.amis.pogamut.base3d.worldview.object.Rotation> getOrientations()
public String toString()
toString in class cz.cuni.amis.pogamut.base.communication.messages.InfoMessagepublic String toHtmlString()
public long getSimTime()
getSimTime in interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEventgetSimTime in interface cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventgetSimTime in class GBEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||