Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DQ_SerialWholeBody.cpp] This PR fixes bug 61, which is related to the pose jacobian method #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 7 additions & 3 deletions src/robot_modeling/DQ_SerialWholeBody.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
(C) Copyright 2020-2022 DQ Robotics Developers
(C) Copyright 2020-2023 DQ Robotics Developers

This file is part of DQ Robotics.

Expand All @@ -17,7 +17,11 @@ This file is part of DQ Robotics.
along with DQ Robotics. If not, see <http://www.gnu.org/licenses/>.

Contributors:
- Murilo M. Marinho ([email protected])
1. Murilo M. Marinho ([email protected])

2. Juan Jose Quiroz Omana ([email protected])
- Fixed bug 61 (https://github.com/dqrobotics/cpp/issues/61) in pose_jacobian method.

*/

#include<dqrobotics/robot_modeling/DQ_SerialWholeBody.h>
Expand Down Expand Up @@ -242,7 +246,7 @@ MatrixXd DQ_SerialWholeBody::pose_jacobian(const VectorXd &q, const int &to_ith_
int to_jth_link;
std::tie(to_ith_chain,to_jth_link) = get_chain_and_link_from_index(to_ith_link);

return raw_pose_jacobian_by_chain(q,to_ith_chain,to_jth_link);
return hamiplus8(get_reference_frame())*raw_pose_jacobian_by_chain(q,to_ith_chain,to_jth_link);
}

MatrixXd DQ_SerialWholeBody::pose_jacobian(const VectorXd &q) const
Expand Down
Loading