95 const double& _inertia=0,
const double& _damping=0,
const double& _stiffness=0);
111 const double& _inertia=0,
const double& _damping=0,
const double& _stiffness=0);
244 virtual const char*
what()
const throw(){
245 return "Joint Type excption";}
Vector JointOrigin() const
Request the Vector corresponding to the origin of a revolute joint.
Definition: joint.cpp:157
Joint(const std::string &name, const JointType &type=Fixed, const double &scale=1, const double &offset=0, const double &inertia=0, const double &damping=0, const double &stiffness=0)
Constructor of a joint.
Definition: joint.cpp:27
const double & getDamping() const
Request the damping of the joint.
Definition: joint.hpp:210
virtual const char * what() const
Definition: joint.hpp:244
JointType
Definition: joint.hpp:47
double q_previous
Definition: joint.hpp:239
double damping
Definition: joint.hpp:233
Vector origin
Definition: joint.hpp:237
const std::string getTypeName() const
Request the stringified type of the joint.
Definition: joint.hpp:169
double stiffness
Definition: joint.hpp:234
Vector axis
Definition: joint.hpp:237
represents both translational and rotational velocities.
Definition: frames.hpp:720
Definition: articulatedbodyinertia.cpp:26
A concrete implementation of a 3 dimensional vector class.
Definition: frames.hpp:160
KDL::Joint::joint_type_exception joint_type_ex
Vector JointAxis() const
Request the Vector corresponding to the axis of a revolute joint.
Definition: joint.cpp:131
std::string name
Definition: joint.hpp:228
Twist twist(const double &qdot) const
Request the resulting 6D-velocity with a joint velocity qdot.
Definition: joint.cpp:106
double inertia
Definition: joint.hpp:232
const JointType & getType() const
Request the type of the joint.
Definition: joint.hpp:159
virtual ~Joint()
Definition: joint.cpp:72
Frame joint_pose
Definition: joint.hpp:238
represents a frame transformation in 3D space (rotation + translation)
Definition: frames.hpp:570
const double & getInertia() const
Request the inertia of the joint.
Definition: joint.hpp:200
This class encapsulates a simple joint, that is with one parameterized degree of freedom and with sca...
Definition: joint.hpp:45
const std::string & getName() const
Request the name of the joint.
Definition: joint.hpp:150
Joint::JointType type
Definition: joint.hpp:229
double offset
Definition: joint.hpp:231
const double & getStiffness() const
Request the stiffness of the joint.
Definition: joint.hpp:220
Definition: joint.hpp:243
double scale
Definition: joint.hpp:230
Frame pose(const double &q) const
Request the 6D-pose between the beginning and the end of the joint at joint position q...
Definition: joint.cpp:76