23#ifndef KDL_SEGMENT_HPP
24#define KDL_SEGMENT_HPP
27#include "rigidbodyinertia.hpp"
152 return joint.pose(0)*f_tip;
represents a frame transformation in 3D space (rotation + translation)
Definition frames.hpp:572
static Frame Identity()
Definition frames.hpp:701
This class encapsulates a simple joint, that is with one parameterized degree of freedom and with sca...
Definition joint.hpp:45
@ Fixed
Definition joint.hpp:47
6D Inertia of a rigid body
Definition rigidbodyinertia.hpp:37
static RigidBodyInertia Zero()
Definition rigidbodyinertia.hpp:49
Segment & operator=(const Segment &arg)
const Joint & getJoint() const
Definition segment.hpp:118
Segment(const Segment &in)
const Frame & getFrameToTipZero() const
Definition segment.hpp:170
friend class Chain
Definition segment.hpp:47
Frame getFrameToTip() const
Definition segment.hpp:149
Segment(const Joint &joint=Joint(Joint::Fixed), const Frame &f_tip=Frame::Identity(), const RigidBodyInertia &I=RigidBodyInertia::Zero())
Twist twist(const double &q, const double &qdot) const
const std::string & getName() const
Definition segment.hpp:108
Segment(const std::string &name, const Joint &joint=Joint(Joint::Fixed), const Frame &f_tip=Frame::Identity(), const RigidBodyInertia &I=RigidBodyInertia::Zero())
void setInertia(const RigidBodyInertia &Iin)
Definition segment.hpp:138
const RigidBodyInertia & getInertia() const
Definition segment.hpp:128
void setFrameToTip(const Frame &f_tip_new)
Frame pose(const double &q) const
represents both translational and rotational velocities.
Definition frames.hpp:723
Definition articulatedbodyinertia.hpp:32