Skip to content

Commit

Permalink
fix dataclass TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorlouisdg committed Feb 12, 2024
1 parent 00b61bd commit 2bf3d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airo-typing/airo_typing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,18 @@ class JointPathContainer:

@dataclass
class SingleArmTrajectory:
times: TimesType # time (seconds) from start of trajectory
path: JointPathContainer
gripper_path: Optional[JointPathContainer] = None
times: TimesType # time (seconds) from start of trajectory


@dataclass
class DualArmTrajectory:
times: TimesType # time (seconds) from start of trajectory
path_left: JointPathContainer
path_right: JointPathContainer
gripper_path_left: Optional[JointPathContainer] = None
gripper_path_right: Optional[JointPathContainer] = None
times: TimesType # time (seconds) from start of trajectory


PosePathType = np.ndarray
Expand Down

0 comments on commit 2bf3d55

Please sign in to comment.