3#ifndef __MATRIX_EXPONENTIAL_HPP__
4#define __MATRIX_EXPONENTIAL_HPP__
6#include <kdl/frames.hpp>
36 MatrixExponential(
motion motionType,
const KDL::Vector & axis,
const KDL::Vector & origin = KDL::Vector::Zero());
45 KDL::Frame
asFrame(
double theta)
const;
53 {
return motionType; }
Abstraction of a term in a product of exponentials (POE) formula.
Definition MatrixExponential.hpp:19
const KDL::Vector & getOrigin() const
A point along the screw axis.
Definition MatrixExponential.hpp:68
MatrixExponential cloneWithBase(const KDL::Frame &H_new_old) const
Clones this instance and refers the internal coordinates of the screw to a different base.
Definition MatrixExponential.cpp:70
motion
Lists available screw motion types.
Definition MatrixExponential.hpp:23
@ TRANSLATION
Prismatic joint (infinite-pitch twist).
Definition MatrixExponential.hpp:25
@ ROTATION
Revolute joint (zero-pitch twist).
Definition MatrixExponential.hpp:24
KDL::Frame asFrame(double theta) const
Evaluates this term for the given magnitude of the screw.
Definition MatrixExponential.cpp:36
motion getMotionType() const
Retrieves the motion type of this screw.
Definition MatrixExponential.hpp:52
void changeBase(const KDL::Frame &H_new_old)
Refers the internal coordinates of this screw to a different base.
Definition MatrixExponential.cpp:58
const KDL::Vector & getAxis() const
Screw axis.
Definition MatrixExponential.hpp:60
The main, catch-all namespace for Robotics Lab UC3M.
Definition groups.dox:6