Skip to content

Commit

Permalink
Fix incorrect Docstring in PlanMotion
Browse files Browse the repository at this point in the history
  • Loading branch information
yck011522 committed Nov 6, 2024
1 parent 2393472 commit 84cbf3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/compas_fab/backends/interfaces/backend_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,13 +393,12 @@ def iter_inverse_kinematics(self, target, robot_cell_state=None, group=None, opt
class PlanMotion(BackendFeature):
"""Mix-in interface for implementing a planner's plan motion feature."""

def plan_motion(self, robot, target, start_state=None, group=None, options=None):
def plan_motion(self, target, start_state, group=None, options=None):
# type: (Target, RobotCellState, Optional[str], Optional[dict]) -> JointTrajectory
"""Calculates a motion path.
Parameters
----------
robot : :class:`compas_fab.robots.Robot`
The robot instance for which the motion path is being calculated.
target : :class:`compas_fab.robots.Target`
The goal for the robot to achieve.
start_state : :class:`compas_fab.robots.RobotCellState`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ def plan_motion(self, target, start_state, group=None, options=None):
Parameters
----------
robot : :class:`compas_fab.robots.Robot`
The robot instance for which the motion plan is being calculated.
target : :class:`compas_fab.robots.Target`
The goal for the robot to achieve.
start_state : :class:`compas_fab.robots.RobotCellState`
Expand Down

0 comments on commit 84cbf3e

Please sign in to comment.