|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.geometricModel.physics.PhysicsUtils
public final class PhysicsUtils
Utility class for physics calculations.
| Method Summary | |
|---|---|
static LoadData |
calculateLoadData(ObjectFrame reference)
Calculates the load data (mass center, inertia and mass) of all attached objects of the given reference frame. |
static Vector |
combinedCenterOfMass(double mass1,
Vector com1,
double mass2,
Vector com2)
Calculates the combined center of mass of two objects. |
static double[] |
convertToArrayDeg(LoadData loadData)
Gets the load data values as new double array. |
static double[] |
convertToArrayRad(LoadData loadData)
Gets the load data values as new double array. |
static double[] |
convertToEulerArrayDeg(ITransformation trans)
Converts a transformation to an Euler Array with angles in degrees. |
static double[] |
convertToEulerArrayRad(ITransformation trans)
Converts a transformation to an Euler Array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LoadData calculateLoadData(ObjectFrame reference)
reference - The reference frame.
public static Vector combinedCenterOfMass(double mass1,
Vector com1,
double mass2,
Vector com2)
mass1 - Mass of object 1 in [kg]com1 - Center of mass translation of object 1mass2 - Mass of object 2 in [kg]com2 - Center of mass translation of object 2
public static double[] convertToEulerArrayRad(ITransformation trans)
trans - Transformation to convert
public static double[] convertToEulerArrayDeg(ITransformation trans)
trans - Transformation to convert.
public static double[] convertToArrayRad(LoadData loadData)
loadData - load data to convert
public static double[] convertToArrayDeg(LoadData loadData)
loadData - load data to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||