add real-time safe Inverse Dynamics library+test+utils
an example for the example browser will follow. thanks to Thomas Buschmann
This commit is contained in:
17
src/BulletInverseDynamics/details/IDEigenInterface.hpp
Normal file
17
src/BulletInverseDynamics/details/IDEigenInterface.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef INVDYNEIGENINTERFACE_HPP_
|
||||
#define INVDYNEIGENINTERFACE_HPP_
|
||||
#include "../IDConfig.hpp"
|
||||
namespace btInverseDynamics {
|
||||
#ifdef BT_USE_DOUBLE_PRECISION
|
||||
typedef Eigen::VectorXd vecx;
|
||||
typedef Eigen::Vector3d vec3;
|
||||
typedef Eigen::Matrix3d mat33;
|
||||
typedef Eigen::MatrixXd matxx;
|
||||
#else
|
||||
typedef Eigen::VectorXf vecx;
|
||||
typedef Eigen::Vector3f vec3;
|
||||
typedef Eigen::Matrix3f mat33;
|
||||
typedef Eigen::MatrixXf matxx;
|
||||
#endif //
|
||||
}
|
||||
#endif // INVDYNEIGENINTERFACE_HPP_
|
||||
Reference in New Issue
Block a user