Skip to content

Commit

Permalink
Merge pull request #838 from StanfordVL/fix/jacobian
Browse files Browse the repository at this point in the history
fix jacobian bug
  • Loading branch information
wensi-ai authored Aug 19, 2024
2 parents 728f86f + 0e4c4a7 commit 888b103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnigibson/robots/manipulation_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def _add_arm_control_dict(self, fcns, arm):
# -n_joints because there may be an additional 6 entries at the beginning of the array, if this robot does
# not have a fixed base (i.e.: the 6DOF --> "floating" joint)
# see self.get_relative_jacobian() for more info
start_idx = 6 if self.fixed_base else 0
start_idx = 0 if self.fixed_base else 6
eef_link_idx = self._articulation_view.get_body_index(self.eef_links[arm].body_name)
fcns[f"eef_{arm}_jacobian_relative"] = lambda: ControllableObjectViewAPI.get_relative_jacobian(
self.articulation_root_path
Expand Down

0 comments on commit 888b103

Please sign in to comment.