Skip to content

Commit

Permalink
more bugs -_-
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexseal authored Mar 13, 2024
1 parent 88ba0b9 commit 2760cdc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mplib/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def __init__(
urdf = self.replace_package_keyword(package_keyword_replacement)

self.robot = ArticulatedModel(
urdf,
srdf,
self.urdf,
self.srdf,
[0, 0, -9.81],
user_link_names,
user_joint_names,
Expand Down Expand Up @@ -674,6 +674,8 @@ def plan_qpos_to_pose(
if current_qpos[i] > self.joint_limits[i][1]:
current_qpos[i] = self.joint_limits[i][1] - 1e-3

current_qpos = self.pad_qpos(current_qpos)

if wrt_world:
goal_pose = self.transform_goal_to_wrt_base(goal_pose)

Expand Down

0 comments on commit 2760cdc

Please sign in to comment.