1 #ifndef AIKIDO_STATESPACE_DART_REALVECTORJOINTSTATESPACE_HPP_ 2 #define AIKIDO_STATESPACE_DART_REALVECTORJOINTSTATESPACE_HPP_ 4 #include "aikido/statespace/Rn.hpp" 5 #include "aikido/statespace/dart/JointStateSpace.hpp" 6 #include "aikido/statespace/dart/detail/RnJointTraits.hpp" 24 ,
public std::enable_shared_from_this<RJoint<N>>
27 static constexpr
int DimensionAtCompileTime = N;
31 using VectorNd =
typename R<DimensionAtCompileTime>::VectorNd;
33 using DartJoint =
typename detail::RJointTraits<N>::DartJoint;
38 explicit RJoint(
const DartJoint* joint);
42 const Eigen::VectorXd& positions,
48 Eigen::VectorXd& positions)
const override;
61 #include "aikido/statespace/dart/detail/RnJoint-impl.hpp" 63 #endif // ifndef AIKIDO_STATESPACE_REALVECTORJOINTSTATESPACE_HPP_ RJoint(const DartJoint *joint)
Create a real vector state space for _joint.
Definition: RnJoint-impl.hpp:20
Rn for an arbitrary type of DART Joint with an arbitrary number of DegreeOfFreedoms.
Definition: RnJoint.hpp:21
Definition: FrameMarker.hpp:11
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
void convertStateToPositions(const StateSpace::State *state, Eigen::VectorXd &positions) const override
Converts a State in this state space to DART Joint positions, e.g.
Definition: RnJoint-impl.hpp:38
A tuple of states where the i-th state is from the i-th subspace.
Definition: CartesianProduct.hpp:162
StateSpace of a DART Joint.
Definition: JointStateSpace.hpp:20
Represents a N-dimensional real vector space with vector addition as the group operation.
Definition: Rn.hpp:18
void convertPositionsToState(const Eigen::VectorXd &positions, StateSpace::State *state) const override
Converts DART Joint positions, e.g.
Definition: RnJoint-impl.hpp:30
Point in a R<N>.
Definition: Rn.hpp:22