Skip to content

Commit

Permalink
removed unused name attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
engnadeau committed Aug 3, 2017
1 parent b05e764 commit 54ebf7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pybotics/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ class Robot:
def __init__(self,
robot_model: np.ndarray,
tool: Tool = Tool(),
world_frame: np.ndarray = None,
name: str = 'Pybot') -> None:
world_frame: np.ndarray = None) -> None:
"""Construct a Robot object.
:param robot_model: Modified Denavit-Hartenberg (MDH) parameters, size=[number of joints, 4]
Expand All @@ -29,7 +28,6 @@ def __init__(self,
:param name: robot name
"""
# public members
self.name = name
self.robot_model = robot_model.reshape((-1, 4))
self.tool = tool
self.world_frame = np.eye(4) if world_frame is None else world_frame
Expand Down

0 comments on commit 54ebf7f

Please sign in to comment.