63 struct ModelConfigurationConverterTpl
65 typedef _Scalar Scalar;
70 typedef JointCollectionTpl<Scalar, Options> JointCollection;
71 typedef typename JointCollection::JointModelVariant JointModelVariant;
73 typedef internal::ConfigurationMapping ConfigurationMapping;
74 typedef internal::TangentMapping TangentMapping;
75 typedef internal::JointMapping<Scalar, Options, JointCollectionTpl> JointMapping;
77 ModelConfigurationConverterTpl() =
default;
78 ModelConfigurationConverterTpl(
79 std::vector<ConfigurationMapping> configuration_mapping,
80 std::vector<TangentMapping> tangent_mapping,
81 std::vector<JointMapping> joint_mapping,
82 int source_configuration_size,
83 int source_tangent_size,
84 int target_configuration_size,
85 int target_tangent_size)
89 , _source_configuration_size(source_configuration_size)
90 , _source_tangent_size(source_tangent_size)
91 , _target_configuration_size(target_configuration_size)
92 , _target_tangent_size(target_tangent_size)
98 template<
typename ConfigVectorType1,
typename ConfigVectorType2>
100 const Eigen::MatrixBase<ConfigVectorType1> & q_source,
101 const Eigen::MatrixBase<ConfigVectorType2> & q_target)
const;
107 template<
typename ConfigVectorType,
typename TangentVectorType1,
typename TangentVectorType2>
109 const Eigen::MatrixBase<ConfigVectorType> & q_source,
110 const Eigen::MatrixBase<TangentVectorType1> & v_source,
111 const Eigen::MatrixBase<TangentVectorType2> & v_target)
const;
122 int _source_configuration_size;
123 int _source_tangent_size;
124 int _target_configuration_size;
125 int _target_tangent_size;