Skip to content

Commit

Permalink
com q + 7
Browse files Browse the repository at this point in the history
  • Loading branch information
HiroIshida committed Jun 7, 2024
1 parent 440bc35 commit f685c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kinematics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Eigen::MatrixXd
KinematicModel::get_com_jacobian(const std::vector<size_t> &joint_ids,
bool with_base) {
constexpr size_t jac_rank = 3;
const size_t dim_dof = joint_ids.size() + with_base * 6;
const size_t dim_dof = joint_ids.size() + with_base * 7;
Eigen::MatrixXd jac_average = Eigen::MatrixXd::Zero(jac_rank, dim_dof);
double mass_total = 0.0;
for (const auto &com_link : com_dummy_links_) {
Expand Down

0 comments on commit f685c30

Please sign in to comment.