In addition I’d like to say that I’m using mostly the cartesian path function with a step size of 0.001 m for path planning.
Here´s a code snippet of my linear movement, if it takes effect on the veleocity of movement execution:
"double fraction = group.computeCartesianPath(waypoints,
0.001, // eef_step
0.0, // jump_threshold
srv.request.trajectory, true);
robot_trajectory::RobotTrajectory rt (group.getCurrentState()->getRobotModel(), "manipulator");
rt.setRobotTrajectoryMsg(*group.getCurrentState(), srv.request.trajectory);
// create a IterativeParabolicTimeParameterization object
trajectory_processing::IterativeParabolicTimeParameterization iptp;
bool success = iptp.computeTimeStamps(rt);
ROS_INFO("Computed time stamp %s",success?"SUCCEDED":"FAILED");
// Get RobotTrajectory_msg from RobotTrajectory
rt.getRobotTrajectoryMsg(srv.request.trajectory);
// Finally plan and execute the trajectory
plan.trajectory_ = srv.request.trajectory;
ROS_INFO("Visualizing plan (cartesian path) (%.2f%% acheived)",fraction * 100.0);
if (fraction == 1.0) {
group.execute(plan);
} else"
> --
> You received this message because you are subscribed to the Google Groups "swri-ros-pkg-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
swri-ros-pkg-d...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.