Go to the documentation of this file.
5 #ifndef __pinocchio_serialization_joints_model_hpp__
6 #define __pinocchio_serialization_joints_model_hpp__
10 template<
typename Scalar,
int Options,
template<
typename S,
int O>
class JointCollectionTpl>
13 template<
typename Archive>
28 ar &
make_nvp(
"jointPlacements", joint.jointPlacements);
42 template<
class Archive,
typename Derived>
50 template<
class Archive,
typename Derived>
57 const int i_q = joint.
idx_q(), i_v = joint.
idx_v();
64 template<
class Archive,
typename Derived>
78 template<
class Archive,
typename Scalar,
int Options,
int axis>
90 template<
class Archive,
typename Scalar,
int Options,
int axis>
102 template<
class Archive,
typename Scalar,
int Options,
int axis>
114 template<
class Archive,
typename Scalar,
int Options,
int axis>
125 template<
class Archive,
typename Scalar,
int Options>
137 template<
class Archive,
typename Scalar,
int Options>
149 template<
class Archive,
typename Scalar,
int Options>
161 template<
class Archive,
typename Scalar,
int Options>
173 template<
class Archive,
typename Scalar,
int Options>
185 template<
class Archive,
typename Scalar,
int Options>
197 template<
class Archive,
typename Scalar,
int Options>
210 template<
class Archive,
typename Scalar,
int Options>
223 template<
class Archive,
typename Scalar,
int Options>
236 template<
class Archive,
typename Scalar,
int Options>
254 template<
typename S,
int O>
class JointCollectionTpl>
272 template<
typename S,
int O>
class JointCollectionTpl>
284 ar &
make_nvp(
"base_variant", base_object<JointModelVariant>(joint));
287 template<
class Archive,
typename Jo
intModel>
304 #endif // ifndef __pinocchio_serialization_joints_model_hpp__
static void run(Archive &ar, T &object)
void serialize(Archive &ar, pinocchio::JointDataBase< Derived > &joint_data, const unsigned int)
void serialize(Archive &ar, Eigen::Map< PlainObjectBase, MapOptions, StrideType > &m, const unsigned int version)
const Scalar & scaling() const
static void run(Archive &ar, JointModelCompositeTpl< Scalar, Options, JointCollectionTpl > &joint)
void save(Archive &ar, const Eigen::Map< PlainObjectBase, MapOptions, StrideType > &m, const unsigned int)
std::vector< int > m_idx_q
Keep information of both the dimension and the position of the joints in the composition.
void load(Archive &ar, Eigen::Map< PlainObjectBase, MapOptions, StrideType > &m, const unsigned int)
void setIndexes(JointIndex id, int q, int v)
const Scalar & offset() const
const nvp< pinocchio::container::aligned_vector< T > > make_nvp(const char *name, pinocchio::container::aligned_vector< T > &t)
JointModelVector joints
Vector of joints contained in the joint composite.
JointCollectionDefault::JointModelVariant JointModelVariant
Vector3 axis
axis of rotation of the joint.
int njoints
Number of joints contained in the JointModelComposite.
int m_nq
Dimensions of the config and tangent space of the composite joint.
const JointModel & jmodel() const
std::vector< int > m_nvs
Dimension of the segment in the tangent vector.
Vector3 axis
3d main axis of the joint.
std::vector< int > m_nqs
Dimension of the segment in the config vector.
std::vector< int > m_idx_v
Index in the tangent vector.
Vector3 axis
3d main axis of the joint.
Main pinocchio namespace.
Vector3 axis1
3d main axii of the joint.
pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:31