From 1920e28e1040ed7a45359472cc62e4b8d6b3fed8 Mon Sep 17 00:00:00 2001 From: Victor LEUNG Date: Thu, 9 Nov 2023 17:02:28 +0800 Subject: [PATCH] Fix formatting and typos in planning module --- src/compas_fab/planning/action.py | 4 ++-- src/compas_fab/planning/state.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compas_fab/planning/action.py b/src/compas_fab/planning/action.py index a7cdb9d46..d1b310dc4 100644 --- a/src/compas_fab/planning/action.py +++ b/src/compas_fab/planning/action.py @@ -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 @@ -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. diff --git a/src/compas_fab/planning/state.py b/src/compas_fab/planning/state.py index beec80b16..75b1d1a17 100644 --- a/src/compas_fab/planning/state.py +++ b/src/compas_fab/planning/state.py @@ -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]