Skip to content

Commit

Permalink
Fixed order of return values in doc string of compute_cartesian_path() (
Browse files Browse the repository at this point in the history
  • Loading branch information
IrvingF7 authored Mar 3, 2024
1 parent 76f0009 commit e7f8a82
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion moveit_commander/src/moveit_commander/move_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,13 @@ def compute_cartesian_path(
avoid_collisions=True,
path_constraints=None,
):
"""Compute a sequence of waypoints that make the end-effector move in straight line segments that follow the poses specified as waypoints. Configurations are computed for every eef_step meters; The jump_threshold specifies the maximum distance in configuration space between consecutive points in the resultingpath; Kinematic constraints for the path given by path_constraints will be met for every point along the trajectory, if they are not met, a partial solution will be returned. The return value is a tuple: a fraction of how much of the path was followed, the actual RobotTrajectory."""
"""Compute a sequence of waypoints that make the end-effector move in straight line segments that follow the poses specified as waypoints.
Configurations are computed for every eef_step meters.
The jump_threshold specifies the maximum distance in configuration space between consecutive points in the resultingpath.
Kinematic constraints for the path given by path_constraints will be met for every point along the trajectory.
If the Kinematic constraints are not met, a partial solution will be returned.
The return value is a tuple: the actual RobotTrajectory and the fraction of how much of the path was followed.
"""
if path_constraints:
if type(path_constraints) is Constraints:
constraints_str = conversions.msg_to_string(path_constraints)
Expand Down

0 comments on commit e7f8a82

Please sign in to comment.