Skip to content

Commit

Permalink
computeCartesianPathの変更に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuwamai committed Jan 9, 2025
1 parent 0646b37 commit ff53fcb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crane_x7_examples/src/cartesian_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "angles/angles.h"
#include "geometry_msgs/msg/pose.hpp"
#include "geometry_msgs/msg/quaternion.hpp"
#include "moveit/move_group_interface/move_group_interface.h"
#include "moveit/move_group_interface/move_group_interface.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tf2_geometry_msgs/tf2_geometry_msgs.hpp"

Expand Down Expand Up @@ -90,11 +90,8 @@ int main(int argc, char ** argv)
}

moveit_msgs::msg::RobotTrajectory trajectory;
const double jump_threshold = 0.0;
const double eef_step = 0.01;
move_group_arm.computeCartesianPath(
waypoints, eef_step, jump_threshold,
trajectory);
move_group_arm.computeCartesianPath(waypoints, eef_step, trajectory);
move_group_arm.execute(trajectory);

// SRDFに定義されている"home"の姿勢にする
Expand Down

0 comments on commit ff53fcb

Please sign in to comment.