cz.cuni.amis.pogamut.usar2004.agent.module.geometry
Class GeoMissionPackage

Package class diagram package GeoMissionPackage
java.lang.Object
  extended by cz.cuni.amis.pogamut.usar2004.agent.module.geometry.SuperGeometry
      extended by cz.cuni.amis.pogamut.usar2004.agent.module.geometry.GeoMissionPackage

public class GeoMissionPackage
extends SuperGeometry

Geometry message representative for Mission package.

Author:
vejmanm

Field Summary
static GeometryType type
           
 
Fields inherited from class cz.cuni.amis.pogamut.usar2004.agent.module.geometry.SuperGeometry
geoType, lastMessage
 
Constructor Summary
GeoMissionPackage()
          Ctor.
 
Method Summary
 int getLinkAt(int index)
          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.
 int getLinkSize()
          Returns length of link list.
 cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocationAt(int index)
          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.
 int getLocationSize()
          Returns length of location list.
 cz.cuni.amis.pogamut.base3d.worldview.object.Rotation getOrientationAt(int index)
          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.
 int getOrientationsSize()
          Returns length of orientation list.
 int getParentLink(int index)
          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.
 int getParentLinkSize()
          Returns length of parent link list.
 
Methods inherited from class cz.cuni.amis.pogamut.usar2004.agent.module.geometry.SuperGeometry
getGeometryType, getName, getType, isReady, updateMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public static final GeometryType type
Constructor Detail

GeoMissionPackage

public GeoMissionPackage()
Ctor. Geometry type describes particular subject about which we want to know about. It is used to distinguish incoming message from the server.

Method Detail

getLinkSize

public int getLinkSize()
Returns length of link list.

Returns:
Returns length of link list.

getParentLinkSize

public int getParentLinkSize()
Returns length of parent link list.

Returns:
Returns length of parent link list.

getLocationSize

public int getLocationSize()
Returns length of location list.

Returns:
Returns length of loacation list.

getOrientationsSize

public int getOrientationsSize()
Returns length of orientation list.

Returns:
Returns length of orientation list.

getLinkAt

public int getLinkAt(int index)
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. Example: GEO {Type MisPkg} {Name CameraPanTilt} {Link 1} {ParentLink -1} {Location 0.1239,0.0000,-0.2036} {Orientation 3.1415,0.0000,0.0000} {Link 2} {ParentLink 1} {Location 0.0000,0.0000,0.0599} {Orientation 1.5707,0.0000,0.0000}

Returns:
Returns mission package link at given index.

getParentLink

public int getParentLink(int index)
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. Example: GEO {Type MisPkg} {Name CameraPanTilt} {Link 1} {ParentLink -1} {Location 0.1239,0.0000,-0.2036} {Orientation 3.1415,0.0000,0.0000} {Link 2} {ParentLink 1} {Location 0.0000,0.0000,0.0599} {Orientation 1.5707,0.0000,0.0000}

Returns:
Returns mission package parent link at given index.

getLocationAt

public cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocationAt(int index)
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. Example: GEO {Type MisPkg} {Name CameraPanTilt} {Link 1} {ParentLink -1} {Location 0.1239,0.0000,-0.2036} {Orientation 3.1415,0.0000,0.0000} {Link 2} {ParentLink 1} {Location 0.0000,0.0000,0.0599} {Orientation 1.5707,0.0000,0.0000}

Returns:
Return mission mackage Location at given index.

getOrientationAt

public cz.cuni.amis.pogamut.base3d.worldview.object.Rotation getOrientationAt(int index)
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. Example: GEO {Type MisPkg} {Name CameraPanTilt} {Link 1} {ParentLink -1} {Location 0.1239,0.0000,-0.2036} {Orientation 3.1415,0.0000,0.0000} {Link 2} {ParentLink 1} {Location 0.0000,0.0000,0.0599} {Orientation 1.5707,0.0000,0.0000}

Returns:
Returns mission package Orientation at given index.


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.