cz.cuni.amis.pogamut.usar2004.agent.module.geometry
Class VehicleGeometry
java.lang.Object
cz.cuni.amis.pogamut.usar2004.agent.module.geometry.SuperGeometry
cz.cuni.amis.pogamut.usar2004.agent.module.geometry.VehicleGeometry
- Direct Known Subclasses:
- GeoAerial, GeoGround, GeoLegged, GeoNautic
public abstract class VehicleGeometry
- extends SuperGeometry
Geometry message representative for Vehicles - Ground, Aerial, Legged and
Nautic share properties present here.
- Author:
- vejmanm
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VehicleGeometry
public VehicleGeometry(GeometryType type)
- Ctor.
- Parameters:
type - Geometry type describes particular subject about which we
want to know about. It is used to distinguish incoming message from the
server.
getDimensions
public 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. Please note that these
values are in meters.
- Returns:
- Returns Dimension of the robot.
getCenterOfGravity
public 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.
- Returns:
- Returns center of gravity of the robot
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.