Skip to content

Commit

Permalink
Fix formatting and typos in planning module
Browse files Browse the repository at this point in the history
  • Loading branch information
yck011522 committed Nov 9, 2023
1 parent b7157a1 commit 1920e28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/compas_fab/planning/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class RoboticMovement(Action):
When applied to a scene state, Robotic movements also changes the state of the
attached tool and workpiece. If the trajectory have been planned, the configuration
of the robot is updated to the last configuration of the trajectory. See
of the robot is updated to the last configuration of the trajectory. See
:meth:`compas_fab.planning.RoboticMovement.apply_to` for more details.
Attributes
Expand Down Expand Up @@ -215,7 +215,7 @@ class OpenGripper(Action):
"""Action to open the gripper.
Current implementation only changes the attachment state of the workpiece.
It does not change the configuration of the gripper, even if it is a
It does not change the configuration of the gripper, even if it is a
:class:`compas_fab.robots.ToolModel` with kinematic joints.
If the gripper is closed around a workpiece, the workpiece is detached from the gripper.
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/planning/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class RobotState(Data):
The current configuration of the robot.
"""

def __init__(self, frame=None, configuration=None):
def __init__(self, frame=None, configuration=None):
super(RobotState, self).__init__()
self.frame = frame # type: Frame
self.configuration = configuration # type: Optional[Configuration]
Expand Down

0 comments on commit 1920e28

Please sign in to comment.