Package org.robwork.sdurw_sensor
Class TactileArray
- java.lang.Object
-
- org.robwork.sdurw_sensor.Sensor
-
- org.robwork.sdurw_sensor.TactileArray
-
public class TactileArray extends Sensor
-
-
Constructor Summary
Constructors Constructor Description TactileArray(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acquire()
acquires force data from the tactile cellsvoid
delete()
TactileVertexMatrix
getCenters()
a matrix with position of each tactile cell center.static long
getCPtr(TactileArray obj)
Frame
getFrame()
int
getHeight()
TactileVertexMatrix
getNormals()
a matrix of normals that are described relative to each tactile
cell center.pair_d_d
getPressureLimit()
get the minimum and maximum pressure capability of any tactile
cell in the TactileArraySWIGTYPE_p_Eigen__MatrixXf
getTexelData()
returns the pressure on each texel of the TactileArray in
the unit N/m^2.Vector2D
getTexelSize(int x, int y)
gets the size of an individual tactile cell with coordinates (x,y)Transform3D
getTransform()
a transformation from the sensor frame to the geometric data of
the tactile array.TactileVertexMatrix
getVertexGrid()
gets the 3d geometry of this tactilearray.int
getWidth()
-
Methods inherited from class org.robwork.sdurw_sensor.Sensor
getCPtr, getDescription, getName, getPropertyMap, getSensorModel, setSensorModel
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(TactileArray obj)
-
getFrame
public Frame getFrame()
-
getTexelSize
public Vector2D getTexelSize(int x, int y)
gets the size of an individual tactile cell with coordinates (x,y)- Parameters:
x
-y
-- Returns:
- the dimensions of the tactile cell in meters
-
getPressureLimit
public pair_d_d getPressureLimit()
get the minimum and maximum pressure capability of any tactile
cell in the TactileArray- Returns:
-
getVertexGrid
public TactileVertexMatrix getVertexGrid()
gets the 3d geometry of this tactilearray. The vertexes are expressed
realtive to the transform.- Returns:
-
getTransform
public Transform3D getTransform()
a transformation from the sensor frame to the geometric data of
the tactile array.- Returns:
-
getCenters
public TactileVertexMatrix getCenters()
a matrix with position of each tactile cell center. The coordinates
are described relative to the TactileArray transform (see getTransform())- Returns:
- a matrix describing the center of each tactile cell.
-
getNormals
public TactileVertexMatrix getNormals()
a matrix of normals that are described relative to each tactile
cell center.- Returns:
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
acquire
public void acquire()
acquires force data from the tactile cells
-
getTexelData
public SWIGTYPE_p_Eigen__MatrixXf getTexelData()
returns the pressure on each texel of the TactileArray in
the unit N/m^2.- Returns:
- matrix of texel pressure values
-
-