Adjust jump threshold and eff_step
This commit is contained in:
@@ -61,9 +61,9 @@ public:
|
|||||||
|
|
||||||
// dangerous with real robot
|
// dangerous with real robot
|
||||||
// https://moveit.picknik.ai/galactic/doc/examples/move_group_interface/move_group_interface_tutorial.html
|
// https://moveit.picknik.ai/galactic/doc/examples/move_group_interface/move_group_interface_tutorial.html
|
||||||
const double jump_threshold = 0.0;
|
const double jump_threshold = 0.00001;
|
||||||
|
|
||||||
const double eef_step = 0.01;
|
const double eef_step = 0.000001;
|
||||||
double fraction = this->move_group.computeCartesianPath(waypoints, eef_step, jump_threshold, trajectory);
|
double fraction = this->move_group.computeCartesianPath(waypoints, eef_step, jump_threshold, trajectory);
|
||||||
RCLCPP_INFO(this->get_logger(), "Visualizing plan 4 (Cartesian path) (%.2f%% achieved)", fraction * 100.0);
|
RCLCPP_INFO(this->get_logger(), "Visualizing plan 4 (Cartesian path) (%.2f%% achieved)", fraction * 100.0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user