@@ -58,7 +58,7 @@ def name(self) -> str:
58
58
@name .setter
59
59
def name (self , name : str ) -> None :
60
60
assert isinstance (name , str ), (
61
- " Manipulator pose name must be of type str" )
61
+ ' Manipulator pose name must be of type str' )
62
62
self ._name = name
63
63
64
64
@property
@@ -68,9 +68,9 @@ def joints(self) -> list:
68
68
@joints .setter
69
69
def joints (self , joints : List ) -> None :
70
70
assert isinstance (joints , list ), (
71
- " Manipulator pose joints must be of type list" )
71
+ ' Manipulator pose joints must be of type list' )
72
72
assert len (joints ) == self .joint_count , (
73
- f" Manipulator pose joints must of length { self .joint_count } , got { len (joints )} " )
73
+ f' Manipulator pose joints must of length { self .joint_count } , got { len (joints )} ' )
74
74
self ._joints = joints
75
75
76
76
def to_dict (self ) -> dict :
@@ -80,9 +80,9 @@ def to_dict(self) -> dict:
80
80
}
81
81
82
82
def from_dict (self , d : dict ) -> None :
83
- assert isinstance (d , dict ), (" Poses in list must be of type dict." )
84
- assert 'name' in d , (" Pose must have a name entry." )
85
- assert 'joints' in d , (" Pose must have a joints entry." )
83
+ assert isinstance (d , dict ), (' Poses in list must be of type dict.' )
84
+ assert 'name' in d , (' Pose must have a name entry.' )
85
+ assert 'joints' in d , (' Pose must have a joints entry.' )
86
86
self .name = d ['name' ]
87
87
self .joints = d ['joints' ]
88
88
@@ -212,7 +212,7 @@ def poses(self) -> List:
212
212
213
213
@poses .setter
214
214
def poses (self , pose_list : List ) -> None :
215
- assert isinstance (pose_list , list ), (" List of poses must be of type list." )
215
+ assert isinstance (pose_list , list ), (' List of poses must be of type list.' )
216
216
poses_ = []
217
217
for pose in pose_list :
218
218
manipulator_pose = ManipulatorPose (self .JOINT_COUNT )
0 commit comments