Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghowoo committed Oct 25, 2024
1 parent 713f607 commit 0230665
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion turtlebot3_manipulation_example/src/hello_moveit.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Modify the MoveIt tutorial as much as you like using the basic example.
// Author: Sungho Woo

#include <memory>

#include <rclcpp/rclcpp.hpp>
Expand Down Expand Up @@ -29,7 +32,8 @@ auto move_group_interface = MoveGroupInterface(node, "arm");
return msg;
}();
move_group_interface.setPoseTarget(target_pose);
move_group_interface.setGoalTolerance(0.01);
move_group_interface.setGoalJointTolerance(0.01);
move_group_interface.setGoalOrientationTolerance(0.01);

// Create a plan to that target pose
auto const [success, plan] = [&move_group_interface]{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Author: Hye-jong KIM
// Author: Hye-jong KIM, Sungho Woo

#include <algorithm>
#include <memory>
Expand Down

0 comments on commit 0230665

Please sign in to comment.