Class Grasp

java.lang.Object
edu.tufts.hrilab.vision.stm.Grasp
All Implemented Interfaces:
Serializable

public class Grasp extends Object implements Serializable
Describes a position from which an object can be grasped. Not guaranteed to be valid for any robot.
See Also:
  • Constructor Details

    • Grasp

      public Grasp()
    • Grasp

      public Grasp(javax.vecmath.Point3d point, javax.vecmath.Quat4d orient)
    • Grasp

      public Grasp(Grasp.Type type, List<javax.vecmath.Vector3d> points, List<javax.vecmath.Quat4d> orients)
  • Method Details

    • setType

      public void setType(Grasp.Type grasp_type)
    • setType

      public void setType(int grasp_ordinal)
    • setPoint

      public void setPoint(int index, double x, double y, double z)
    • setPoint

      public void setPoint(int index, javax.vecmath.Vector3d point)
    • setOrientation

      public void setOrientation(int index, double x, double y, double z, double w)
    • setOrientation

      public void setOrientation(int index, javax.vecmath.Quat4d orient)
    • getType

      public Grasp.Type getType()
    • getNumPoints

      public int getNumPoints()
    • getPoint

      public javax.vecmath.Vector3d getPoint(int index)
    • getNumOrientations

      public int getNumOrientations()
    • getOrientation

      public javax.vecmath.Quat4d getOrientation(int index)