|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.robotics.xml.XmlRobot
public class XmlRobot
XML handler class for robot configuration file.
Constructor Summary | |
---|---|
XmlRobot(java.io.File robotXml)
Constructor of the xml handler from file. |
|
XmlRobot(java.io.InputStream robotXml)
Constructor of the xml handler from input stream. |
|
XmlRobot(java.lang.String robotXml)
Constructor of the xml handler. |
Method Summary | |
---|---|
double[] |
getA()
Gets the DH parameters a. |
double[] |
getAlfa()
Gets the DH parameters α. |
double[] |
getD()
Gets the DH parameters d. |
java.lang.String |
getDescription()
Gets the tag description of the file. |
int |
getDof()
Gets the tag dof of the file. |
boolean[] |
getImmobile()
Gets the immobile flags. |
double[] |
getLinkData()
Gets the array of data about all the links of the robot. |
double[] |
getMotorData()
Gets the motor data of the links. |
java.lang.String |
getName()
Gets the tag name of the file. |
int |
getNLinks()
Gets the number of links |
double[] |
getQMax()
Gets the array of theta-max or d-max tags of the links. |
double[] |
getQMin()
Gets the array of theta-min or d-min tags of the links. |
double[] |
getQOffset()
Gets the array of offset tag of the links. |
double[] |
getTeta()
Gets the DH parameters θ. |
boolean[] |
getType()
Gets the joint type flags. |
robotML.RobotConfigurationDocument |
getXmlHandler()
Gets the handle of xml configuration file. |
boolean |
isDynamicsSet()
Gets the tag dynamics of file. |
boolean |
isMotorSet()
Gets the tag motor of file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRobot(java.lang.String robotXml) throws org.apache.xmlbeans.XmlException, java.io.IOException
robotXml
- the path of xml configuration file.
org.apache.xmlbeans.XmlException
java.io.IOException
public XmlRobot(java.io.File robotXml) throws org.apache.xmlbeans.XmlException, java.io.IOException
robotXml
- the path of xml configuration file.
org.apache.xmlbeans.XmlException
java.io.IOException
public XmlRobot(java.io.InputStream robotXml) throws org.apache.xmlbeans.XmlException, java.io.IOException
robotXml
- the path of xml configuration file.
org.apache.xmlbeans.XmlException
java.io.IOException
Method Detail |
---|
public final java.lang.String getDescription()
public final int getDof()
public final double[] getQMin()
public final double[] getQMax()
public final double[] getQOffset()
public final double[] getLinkData()
public final boolean isMotorSet()
public final boolean isDynamicsSet()
public final double[] getMotorData()
public final java.lang.String getName()
public final int getNLinks()
public double[] getA()
public double[] getAlfa()
public double[] getD()
public boolean[] getImmobile()
public double[] getTeta()
public boolean[] getType()
public final robotML.RobotConfigurationDocument getXmlHandler()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |