1 #ifndef AIKIDO_STATESPACE_SE3STATESPACE_HPP_ 2 #define AIKIDO_STATESPACE_SE3STATESPACE_HPP_ 3 #include <Eigen/Geometry> 5 #include "aikido/statespace/ScopedState.hpp" 6 #include "aikido/statespace/StateSpace.hpp" 26 = Eigen::Transform<double, 3, Eigen::Isometry, Eigen::DontAlign>;
36 explicit State(
const Isometry3d& _transform);
49 Isometry3d mTransform;
62 using Isometry3d = State::Isometry3d;
144 #include "detail/SE3-impl.hpp" 146 #endif // ifndef AIKIDO_STATESPACE_SE3STATESPACE_HPP_ State()
Constructs the identity element.
Definition: SE3.cpp:8
void print(const StateSpace::State *_state, std::ostream &_os) const override
Print the quaternion followed by the translation Format: [q.w, q.x, q.y, q.z, x, y, z] where is the quaternion representation of the rotational component of the state.
Definition: SE3.cpp:160
ScopedState createState() const
Helper function to create a ScopedState.
Definition: SE3.cpp:30
CRTP RAII wrapper for a StateHandle.
Definition: ScopedState.hpp:15
StateSpace::State * allocateStateInBuffer(void *_buffer) const override
Create a new state in a pre-allocated buffer.
Definition: SE3.cpp:63
const Isometry3d & getIsometry() const
Gets value as an Eigen transformation object.
Definition: SE3.cpp:18
void expMap(const Eigen::VectorXd &_tangent, StateSpace::State *_out) const override
Exponential mapping of Lie algebra element to a Lie group element.
Definition: SE3.cpp:127
virtual void compose(const State *_state1, const State *_state2, State *_out) const =0
Lie group operation for this StateSpace.
void logMap(const StateSpace::State *_in, Eigen::VectorXd &_tangent) const override
Log mapping of Lie group element to a Lie algebra element.
Definition: SE3.cpp:145
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
void copyState(const StateSpace::State *_source, StateSpace::State *_destination) const override
Copy a state.
Definition: SE3.cpp:118
A tuple of states where the i-th state is from the i-th subspace.
Definition: CartesianProduct.hpp:162
std::size_t getDimension() const override
Get the dimension of this Lie group.
Definition: SE3.cpp:112
ScopedState cloneState(const StateSpace::State *stateIn) const
Creates an identical clone of stateIn.
Definition: SE3.cpp:36
The three-dimensional special Euclidean group SE(3), i.e.
Definition: SE3.hpp:19
Represents a Lie group and its associated Lie algebra, i.e.
Definition: StateSpace.hpp:33
std::size_t getStateSizeInBytes() const override
Gets the size of a State, in bytes.
Definition: SE3.cpp:57
StateHandle for a SE3.
Definition: SE3-impl.hpp:9
void setIsometry(const Isometry3d &_transform)
Sets value to an Eigen transfomation object.
Definition: SE3.cpp:24