Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ bool MoveGroupCartesianPathService::computeService(
// time trajectory
// \todo optionally compute timing to move the eef with constant speed
trajectory_processing::TimeOptimalTrajectoryGeneration time_param;
time_param.computeTimeStamps(rt, 1.0);
time_param.computeTimeStamps(rt, req->max_velocity_scaling_factor, req->max_acceleration_scaling_factor);

rt.getRobotTrajectoryMsg(res->solution);
RCLCPP_INFO(LOGGER, "Computed Cartesian path with %u points (followed %lf%% of requested trajectory)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,8 @@ class MoveGroupInterface::MoveGroupInterfaceImpl
req->path_constraints = path_constraints;
req->avoid_collisions = avoid_collisions;
req->link_name = getEndEffectorLink();
req->max_velocity_scaling_factor = max_velocity_scaling_factor_;
req->max_acceleration_scaling_factor = max_acceleration_scaling_factor_;

auto future_response = cartesian_path_service_->async_send_request(req);
if (future_response.valid())
Expand Down