BowlerKernel
Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.neuronrobotics.sdk.addons.kinematics.DHLink Class Reference
Collaboration diagram for com.neuronrobotics.sdk.addons.kinematics.DHLink:
Collaboration graph
[legend]

Public Member Functions

 DHLink (double d, double theta, double r, double alpha)
 
 DHLink (Element nNode, LinkConfiguration newLinkConf)
 
 DHLink (DHLink dhl)
 
void fireOnLinkGlobalPositionChange (TransformNR newPose)
 
void addDhLinkPositionListener (IDhLinkPositionListener l)
 
void removeDhLinkPositionListener (IDhLinkPositionListener l)
 
String getXml ()
 
double getD ()
 
double getTheta ()
 
double getR ()
 
double getAlpha ()
 
Matrix DhStepInverse (Matrix end, double jointValue)
 
Matrix DhStep (double jointValue)
 
Matrix DhStep (double rotory, double prismatic)
 
Matrix DhStepInverse (Matrix end, double rotory, double prismatic)
 
Matrix DhStepInverse (double rotory, double prismatic)
 
Matrix DhStepInversePrismatic (double prismatic)
 
Matrix DhStepInverseRotory (double rotory)
 
void setTransX (Matrix transX)
 
void setRotX (Matrix rotX)
 
Matrix getTransX ()
 
Matrix getRotX ()
 
Matrix getTransZ ()
 
Matrix getRotZ ()
 
Matrix DhStepJacobian (double rotoryVelocity, double prismaticVelocity)
 
Matrix getRotX_J ()
 
Matrix getTransX_J ()
 
Matrix getTransZ_J ()
 
Matrix getRotZ_J ()
 
String toString ()
 
Object getListener ()
 
void setListener (Object listener)
 
Object getRootListener ()
 
double getDelta ()
 
void setDelta (double d)
 
double getRadius ()
 
void setRadius (double radius)
 
void setTheta (double theta)
 
void setAlpha (double alpha)
 
DhLinkType getLinkType ()
 
void setLinkType (DhLinkType type)
 
void setMobileBaseXml (MobileBase embedableXml)
 
MobileBase getSlaveMobileBase ()
 
void setSlaveMobileBase (MobileBase embedableXml)
 

Private Member Functions

void setMatrix (double rotory, double prismatic)
 
void setJacobianMatrix (double rotory, double prismatic)
 

Private Attributes

double d
 
double theta
 
double radius
 
double alpha
 
Matrix transX
 
Matrix rotX
 
Matrix transZ
 
Matrix rotZ
 
Matrix transX_J
 
Matrix rotX_J
 
Matrix transZ_J
 
Matrix rotZ_J
 
Object listener =null
 
Object root =null
 
DhLinkType type = DhLinkType.ROTORY
 
ArrayList< IDhLinkPositionListenerdhlisteners = new ArrayList<IDhLinkPositionListener>()
 
MobileBase slaveMobileBase =null
 
LinkConfiguration newLinkConf
 

Detailed Description

The Class DHLink.

Definition at line 17 of file DHLink.java.

Constructor & Destructor Documentation

◆ DHLink() [1/3]

com.neuronrobotics.sdk.addons.kinematics.DHLink.DHLink ( double  d,
double  theta,
double  r,
double  alpha 
)

Instantiates a new DH link.

Parameters
dthe d
thetathe theta
rthe r
alphathe alpha

Definition at line 81 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.setAlpha(), com.neuronrobotics.sdk.addons.kinematics.DHLink.setDelta(), com.neuronrobotics.sdk.addons.kinematics.DHLink.setRadius(), and com.neuronrobotics.sdk.addons.kinematics.DHLink.setTheta().

Here is the call graph for this function:

◆ DHLink() [2/3]

com.neuronrobotics.sdk.addons.kinematics.DHLink.DHLink ( Element  nNode,
LinkConfiguration  newLinkConf 
)

◆ DHLink() [3/3]

com.neuronrobotics.sdk.addons.kinematics.DHLink.DHLink ( DHLink  dhl)

Member Function Documentation

◆ addDhLinkPositionListener()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.addDhLinkPositionListener ( IDhLinkPositionListener  l)

Adds the dh link position listener.

Parameters
lthe l

Definition at line 129 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.dhlisteners.

◆ DhStep() [1/2]

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStep ( double  jointValue)

Dh step prismatic.

Parameters
jointValuethe joint value
Returns
the matrix

Definition at line 227 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.type.

◆ DhStep() [2/2]

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStep ( double  rotory,
double  prismatic 
)

◆ DhStepInverse() [1/3]

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepInverse ( double  rotory,
double  prismatic 
)

Dh step inverse.

Parameters
rotorythe rotory
prismaticthe prismatic
Returns
the matrix

Definition at line 286 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepInverse(), and com.neuronrobotics.sdk.addons.kinematics.math.TransformNR.getMatrixTransform().

Here is the call graph for this function:

◆ DhStepInverse() [2/3]

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepInverse ( Matrix  end,
double  jointValue 
)

◆ DhStepInverse() [3/3]

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepInverse ( Matrix  end,
double  rotory,
double  prismatic 
)

◆ DhStepInversePrismatic()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepInversePrismatic ( double  prismatic)

Dh step inverse.

Parameters
prismaticthe prismatic
Returns
the matrix

Definition at line 300 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepInverse().

Referenced by com.neuronrobotics.bowlerstudio.physics.MobileBasePhysicsManager.MobileBasePhysicsManager().

Here is the call graph for this function:

◆ DhStepInverseRotory()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepInverseRotory ( double  rotory)

Dh step inverse.

Parameters
rotorythe rotory
Returns
the matrix

Definition at line 312 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepInverse().

Referenced by com.neuronrobotics.bowlerstudio.physics.MobileBasePhysicsManager.MobileBasePhysicsManager().

Here is the call graph for this function:

◆ DhStepJacobian()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepJacobian ( double  rotoryVelocity,
double  prismaticVelocity 
)

Gets a jacobian matrix of this link.

Parameters
rotoryVelocitythe rotory velocity
prismaticVelocitythe prismatic velocity
Returns
the Jacobian

Definition at line 413 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.getRotX_J(), com.neuronrobotics.sdk.addons.kinematics.DHLink.getRotZ_J(), com.neuronrobotics.sdk.addons.kinematics.DHLink.getTransX_J(), com.neuronrobotics.sdk.addons.kinematics.DHLink.getTransZ_J(), and com.neuronrobotics.sdk.addons.kinematics.DHLink.setJacobianMatrix().

Here is the call graph for this function:

◆ fireOnLinkGlobalPositionChange()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.fireOnLinkGlobalPositionChange ( TransformNR  newPose)

◆ getAlpha()

double com.neuronrobotics.sdk.addons.kinematics.DHLink.getAlpha ( )

◆ getD()

double com.neuronrobotics.sdk.addons.kinematics.DHLink.getD ( )

Gets the d.

Returns
the d

Definition at line 169 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.getDelta().

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHLink.setJacobianMatrix(), and com.neuronrobotics.sdk.addons.kinematics.DHLink.setMatrix().

Here is the call graph for this function:

◆ getDelta()

double com.neuronrobotics.sdk.addons.kinematics.DHLink.getDelta ( )

◆ getLinkType()

DhLinkType com.neuronrobotics.sdk.addons.kinematics.DHLink.getLinkType ( )

Checks if is degenerate.

Returns
true, if is degenerate

Definition at line 613 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.type.

◆ getListener()

Object com.neuronrobotics.sdk.addons.kinematics.DHLink.getListener ( )

◆ getR()

double com.neuronrobotics.sdk.addons.kinematics.DHLink.getR ( )

Gets the r.

Returns
the r

Definition at line 187 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.getRadius().

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHLink.getTransX(), and com.neuronrobotics.sdk.addons.kinematics.DHLink.getTransX_J().

Here is the call graph for this function:

◆ getRadius()

double com.neuronrobotics.sdk.addons.kinematics.DHLink.getRadius ( )

◆ getRootListener()

Object com.neuronrobotics.sdk.addons.kinematics.DHLink.getRootListener ( )

Gets the root listener.

Returns
the root listener

Definition at line 533 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.root.

◆ getRotX()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.getRotX ( )

◆ getRotX_J()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.getRotX_J ( )

Gets the rot x_ j.

Returns
the rot x_ j

Definition at line 450 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.getAlpha(), and com.neuronrobotics.sdk.addons.kinematics.DHLink.rotX_J.

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepJacobian().

Here is the call graph for this function:

◆ getRotZ()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.getRotZ ( )

◆ getRotZ_J()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.getRotZ_J ( )

Gets the rot z_ j.

Returns
the rot z_ j

Definition at line 493 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.rotZ_J.

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepJacobian().

◆ getSlaveMobileBase()

MobileBase com.neuronrobotics.sdk.addons.kinematics.DHLink.getSlaveMobileBase ( )

◆ getTheta()

double com.neuronrobotics.sdk.addons.kinematics.DHLink.getTheta ( )

◆ getTransX()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.getTransX ( )

◆ getTransX_J()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.getTransX_J ( )

Gets the trans x_ j.

Returns
the trans x_ j

Definition at line 466 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.getR(), and com.neuronrobotics.sdk.addons.kinematics.DHLink.transX_J.

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepJacobian().

Here is the call graph for this function:

◆ getTransZ()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.getTransZ ( )

◆ getTransZ_J()

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.getTransZ_J ( )

Gets the trans z_ j.

Returns
the trans z_ j

Definition at line 484 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.transZ_J.

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepJacobian().

◆ getXml()

String com.neuronrobotics.sdk.addons.kinematics.DHLink.getXml ( )

◆ removeDhLinkPositionListener()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.removeDhLinkPositionListener ( IDhLinkPositionListener  l)

Removes the dh link position listener.

Parameters
lthe l

Definition at line 139 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.dhlisteners.

◆ setAlpha()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setAlpha ( double  alpha)

◆ setDelta()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setDelta ( double  d)

◆ setJacobianMatrix()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setJacobianMatrix ( double  rotory,
double  prismatic 
)
private

Sets up the 2 alterable Jacobian matrixs .

Parameters
rotorythe rotory velocity of the Theta link
prismaticthe linear velocity of the D link

Definition at line 431 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.getD(), com.neuronrobotics.sdk.addons.kinematics.DHLink.getTheta(), com.neuronrobotics.sdk.addons.kinematics.DHLink.rotZ_J, and com.neuronrobotics.sdk.addons.kinematics.DHLink.transZ_J.

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHLink.DhStepJacobian().

Here is the call graph for this function:

◆ setLinkType()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setLinkType ( DhLinkType  type)

Sets the type.

Parameters
typethe new type

Definition at line 622 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.type.

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHParameterKinematics.addNewLink().

◆ setListener()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setListener ( Object  listener)

◆ setMatrix()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setMatrix ( double  rotory,
double  prismatic 
)
private

◆ setMobileBaseXml()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setMobileBaseXml ( MobileBase  embedableXml)

Sets the mobile base xml.

Parameters
embedableXmlthe new mobile base xml

Definition at line 631 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.setSlaveMobileBase().

Referenced by com.neuronrobotics.sdk.addons.kinematics.AbstractKinematicsNR.loadConfig().

Here is the call graph for this function:

◆ setRadius()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setRadius ( double  radius)

◆ setRotX()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setRotX ( Matrix  rotX)

Sets the rot x.

Parameters
rotXthe new rot x

Definition at line 331 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.rotX.

◆ setSlaveMobileBase()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setSlaveMobileBase ( MobileBase  embedableXml)

◆ setTheta()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setTheta ( double  theta)

◆ setTransX()

void com.neuronrobotics.sdk.addons.kinematics.DHLink.setTransX ( Matrix  transX)

Sets the trans x.

Parameters
transXthe new trans x

Definition at line 322 of file DHLink.java.

References com.neuronrobotics.sdk.addons.kinematics.DHLink.transX.

◆ toString()

String com.neuronrobotics.sdk.addons.kinematics.DHLink.toString ( )

Member Data Documentation

◆ alpha

double com.neuronrobotics.sdk.addons.kinematics.DHLink.alpha
private

◆ d

double com.neuronrobotics.sdk.addons.kinematics.DHLink.d
private

◆ dhlisteners

ArrayList<IDhLinkPositionListener> com.neuronrobotics.sdk.addons.kinematics.DHLink.dhlisteners = new ArrayList<IDhLinkPositionListener>()
private

◆ listener

Object com.neuronrobotics.sdk.addons.kinematics.DHLink.listener =null
private

◆ newLinkConf

LinkConfiguration com.neuronrobotics.sdk.addons.kinematics.DHLink.newLinkConf
private

◆ radius

double com.neuronrobotics.sdk.addons.kinematics.DHLink.radius
private

◆ root

Object com.neuronrobotics.sdk.addons.kinematics.DHLink.root =null
private

The root.

Definition at line 59 of file DHLink.java.

Referenced by com.neuronrobotics.sdk.addons.kinematics.DHLink.getRootListener().

◆ rotX

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.rotX
private

◆ rotX_J

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.rotX_J
private

◆ rotZ

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.rotZ
private

◆ rotZ_J

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.rotZ_J
private

◆ slaveMobileBase

MobileBase com.neuronrobotics.sdk.addons.kinematics.DHLink.slaveMobileBase =null
private

◆ theta

double com.neuronrobotics.sdk.addons.kinematics.DHLink.theta
private

◆ transX

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.transX
private

◆ transX_J

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.transX_J
private

◆ transZ

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.transZ
private

◆ transZ_J

Matrix com.neuronrobotics.sdk.addons.kinematics.DHLink.transZ_J
private

◆ type

DhLinkType com.neuronrobotics.sdk.addons.kinematics.DHLink.type = DhLinkType.ROTORY
private

The documentation for this class was generated from the following file: