Skip to content

Commit

Permalink
Fix arm base link
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Apr 18, 2024
1 parent 3a9bcbe commit b26ea44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/teleoperation/arm_controller/arm_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace mrover {
double x = endEffectorInArmBaseLink.translation().x() - END_EFFECTOR_LENGTH; // shift back by the length of the end effector
double y = endEffectorInArmBaseLink.translation().y();
double z = endEffectorInArmBaseLink.translation().z();
SE3Conversions::pushToTfTree(mTfBroadcaster, "arm_target", "arm_base_link", targetFrameToArmBaseLink);
SE3Conversions::pushToTfTree(mTfBroadcaster, "arm_target", "arm_base_link", endEffectorInArmBaseLink);

double gamma = 0;
double x3 = x - LINK_DE * std::cos(gamma);
Expand Down
2 changes: 1 addition & 1 deletion urdf/rover/rover.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
<link name="arm_base_link"/>

<joint name="base_link_to_arm_base_link" type="fixed">
<origin xyz="0.199228 0.200235 0.540196"/>
<origin xyz="0.199228 -0.200235 0.540196"/>
<parent link="base_link"/>
<child link="arm_base_link"/>
</joint>
Expand Down

0 comments on commit b26ea44

Please sign in to comment.