We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c65bfcf commit c2395a1Copy full SHA for c2395a1
plugins/src/plugins/gripper/gripper.cpp
@@ -183,11 +183,13 @@ Gripper::close()
183
setPuckPose();
184
185
// link both models through a joint
186
- gazebo::physics::LinkPtr gripperLink = getLinkEndingWith(model_, "link");
+ gazebo::physics::LinkPtr gripperLink = getLinkEndingWith(model_, "gripper::link");
187
188
if (!gripperLink) {
189
std::cerr << "Link 'gripper_grab' not found in gripper model" << std::endl;
190
return;
191
+ } else {
192
+ std::cout << "Link 'gripper_grab' is: " << gripperLink->GetName() << std::endl;
193
}
194
195
gazebo::physics::LinkPtr puckLink = getLinkEndingWith(grippedPuck, "cylinder");
0 commit comments