33 #ifndef DART_DYNAMICS_SHAREDLIBRARYIKFAST_HPP_
34 #define DART_DYNAMICS_SHAREDLIBRARYIKFAST_HPP_
65 const std::string& filePath,
66 const std::vector<std::size_t>& dofMap,
67 const std::vector<std::size_t>& freeDofMap,
68 const std::string& methodName =
"IKFast",
69 const Analytical::Properties&
properties = Analytical::Properties());
73 -> std::unique_ptr<GradientMethod>
override;
93 const IkReal* targetTranspose,
94 const IkReal* targetRotation,
95 const IkReal* freeParams,
96 ikfast::IkSolutionListBase<IkReal>& solutions)
override;
111 const IkReal* targetTranspose,
112 const IkReal* targetRotation,
113 const IkReal* freeParams,
114 ikfast::IkSolutionListBase<IkReal>& solutions);
132 mutable std::vector<std::size_t>
mDofs;
BodyPropPtr properties
Definition: SdfParser.cpp:80
A base class for IkFast-based analytical inverse kinematics classes.
Definition: IkFast.hpp:51
The InverseKinematics class provides a convenient way of setting up an IK optimization problem.
Definition: InverseKinematics.hpp:76
IkFast-based analytical inverse kinematics class.
Definition: SharedLibraryIkFast.hpp:47
int getIkRealSize() const override
Definition: SharedLibraryIkFast.cpp:183
IkFastFuncGetIntPtr mGetFreeParameters
Definition: SharedLibraryIkFast.hpp:123
int *(*)() IkFastFuncGetIntPtr
Definition: SharedLibraryIkFast.hpp:109
IkFastFuncGetInt mGetIkType
Definition: SharedLibraryIkFast.hpp:126
SharedLibraryIkFast(InverseKinematics *ik, const std::string &filePath, const std::vector< std::size_t > &dofMap, const std::vector< std::size_t > &freeDofMap, const std::string &methodName="IKFast", const Analytical::Properties &properties=Analytical::Properties())
Constructor.
Definition: SharedLibraryIkFast.cpp:73
IkFastFuncGetInt mGetNumJoints
Definition: SharedLibraryIkFast.hpp:124
int getNumJoints() const override
Definition: SharedLibraryIkFast.cpp:170
auto clone(InverseKinematics *newIK) const -> std::unique_ptr< GradientMethod > override
Enable this GradientMethod to be cloned to a new IK module.
Definition: SharedLibraryIkFast.cpp:131
IkFastFuncGetInt mGetIkRealSize
Definition: SharedLibraryIkFast.hpp:125
const char * getIkFastVersion() override
Definition: SharedLibraryIkFast.cpp:239
IkFastFuncGetConstCharPtr mGetKinematicsHash
Definition: SharedLibraryIkFast.hpp:128
std::vector< std::size_t > mDofs
Indices of the DegreeOfFreedoms associated to this IkFast.
Definition: SharedLibraryIkFast.hpp:132
int getIkType() const override
Definition: SharedLibraryIkFast.cpp:196
bool computeIk(const IkReal *targetTranspose, const IkReal *targetRotation, const IkReal *freeParams, ikfast::IkSolutionListBase< IkReal > &solutions) override
Computes the inverse kinematics solutions using the generated IKFast code.
Definition: SharedLibraryIkFast.cpp:209
bool(*)(const IkReal *targetTranspose, const IkReal *targetRotation, const IkReal *freeParams, ikfast::IkSolutionListBase< IkReal > &solutions) IkFastFuncComputeIk
Definition: SharedLibraryIkFast.hpp:114
std::string mFilePath
File path to the ikfast shared library.
Definition: SharedLibraryIkFast.hpp:118
IkFastFuncGetInt mGetNumFreeParameters
Definition: SharedLibraryIkFast.hpp:122
int(*)() IkFastFuncGetInt
Definition: SharedLibraryIkFast.hpp:108
IkFastFuncGetConstCharPtr mGetIkFastVersion
Definition: SharedLibraryIkFast.hpp:129
void configure() const override
Configure IkFast.
Definition: SharedLibraryIkFast.cpp:252
const char *(*)() IkFastFuncGetConstCharPtr
Definition: SharedLibraryIkFast.hpp:115
const char * getKinematicsHash() override
Definition: SharedLibraryIkFast.cpp:226
std::shared_ptr< common::SharedLibrary > mSharedLibrary
Definition: SharedLibraryIkFast.hpp:120
IkFastFuncComputeIk mComputeIk
Definition: SharedLibraryIkFast.hpp:127
int * getFreeParameters() const override
Definition: SharedLibraryIkFast.cpp:157
int getNumFreeParameters() const override
Definition: SharedLibraryIkFast.cpp:144
Definition: BulletCollisionDetector.cpp:63