Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions include/fbml/dynamics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ class FBML_PUBLIC Dynamics
explicit Dynamics(const RobotCore & core);
virtual ~Dynamics() = default;

Eigen::MatrixXd computeGeneralizedJacobian(
const Eigen::VectorXd & q, const std::string & frame_name);

Eigen::MatrixXd computeMassMatrix(const Eigen::VectorXd & q);

// ?: Should use struct (PartitionedMassMatrix{fbml::Matrix6d base; Eigen::MatrixXd coupling;}) as output?
Expand Down
2 changes: 1 addition & 1 deletion src/dynamics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Eigen::MatrixXd Dynamics::computeGeneralizedJacobian(
const int njoints = model_.nv - 6;

fbml::Matrix6d M_b = data_.M.block<6, 6>(0, 0);
Eigen::MatrixXd M_bm = data_.M.block(0, 6, njoints, 6).transpose();
Eigen::MatrixXd M_bm = data_.M.block(0, 6, 6, njoints);

fbml::Matrix6d J_b = J_full.block<6, 6>(0, 0);
Eigen::MatrixXd J_m = J_full.block(0, 6, 6, njoints);
Expand Down
Loading