13 #ifndef CDYNAMICSSCLSPATIALMATH_HPP_
14 #define CDYNAMICSSCLSPATIALMATH_HPP_
17 #include <scl/DataTypes.hpp>
18 #include <scl/data_structs/SGcModel.hpp>
19 #include <scl/data_structs/SRigidBodyDyn.hpp>
20 #include <scl/robot/data_structs/SRobot.hpp>
22 #include <Eigen/Geometry>
36 bool calculateForceSubspace(
37 Eigen::MatrixXd &arg_subspace,
39 Eigen::MatrixXd &ret_force_subspace);
42 bool calculateTransformationAndSubspace(
43 Eigen::MatrixXd & ret_Xlink,
45 Eigen::MatrixXd & ret_subspace,
52 bool calculateTransformationAndInertia(
57 bool calculateOrderOfProcessing (
61 std::vector <std::string> &ret_processing_order );
69 Eigen::MatrixXd & ret_transform,
75 Eigen::MatrixXd & ret_transform,
81 Eigen::MatrixXd & ret_transform,
86 bool computeTranslation(
87 Eigen::MatrixXd & ret_transform,
92 bool computeRotFromQuaternion(
93 Eigen::MatrixXd &ret_transform,
95 Eigen::Quaternion<scl::sFloat> arg_ori);
98 bool computeCrossForVelocity(
99 Eigen::MatrixXd &ret_vcross,
101 Eigen::MatrixXd arg_spatial_velocity);
104 bool calculateSpatialInertia(
107 Eigen::Matrix3d arg_inertia,
109 Eigen::Vector3d arg_com,
Definition: SGcModel.hpp:53
Eigen::Matrix< sFloat, 6, 6 > sSpatialXForm
Typedef since we use this pretty commonly.
Definition: DataTypes.hpp:132
double sFloat
Definition: DataTypes.hpp:72
int sInt
Definition: DataTypes.hpp:64