@@ -291,9 +291,7 @@ async def version(self) -> str:
291291 return await self .api .get_version ()
292292
293293 async def approach (
294- self ,
295- position : Union [CartesianCoords , JointCoords ],
296- access : Optional [AccessPattern ] = None
294+ self , position : Union [CartesianCoords , JointCoords ], access : Optional [AccessPattern ] = None
297295 ):
298296 """Move the arm to an approach position (offset from target).
299297
@@ -329,10 +327,8 @@ async def approach(
329327 raise ValueError ("Position must be of type JointSpace or CartesianSpace." )
330328
331329 async def pick_plate (
332- self ,
333- position : Union [CartesianCoords , JointCoords ],
334- access : Optional [AccessPattern ] = None
335- ):
330+ self , position : Union [CartesianCoords , JointCoords ], access : Optional [AccessPattern ] = None
331+ ):
336332 """Pick a plate from the specified position.
337333
338334 Args:
@@ -372,9 +368,7 @@ async def pick_plate(
372368 raise ValueError ("Position must be of type JointSpace or CartesianSpace." )
373369
374370 async def place_plate (
375- self ,
376- position : Union [CartesianCoords , JointCoords ],
377- access : Optional [AccessPattern ] = None
371+ self , position : Union [CartesianCoords , JointCoords ], access : Optional [AccessPattern ] = None
378372 ):
379373 """Place a plate at the specified position.
380374
@@ -449,9 +443,7 @@ async def _approach_j(
449443 await self .api .move_appro (self .location_index , self .profile_index )
450444
451445 async def _pick_plate_j (
452- self ,
453- joint_position : tuple [float , float , float , float , float , float ],
454- access : AccessPattern
446+ self , joint_position : tuple [float , float , float , float , float , float ], access : AccessPattern
455447 ):
456448 """Pick a plate from the specified position using joint coordinates."""
457449 await self .api .set_location_angles (self .location_index , * joint_position )
@@ -461,9 +453,7 @@ async def _pick_plate_j(
461453 )
462454
463455 async def _place_plate_j (
464- self ,
465- joint_position : tuple [float , float , float , float , float , float ],
466- access : AccessPattern
456+ self , joint_position : tuple [float , float , float , float , float , float ], access : AccessPattern
467457 ):
468458 """Place a plate at the specified position using joint coordinates."""
469459 await self .api .set_location_angles (self .location_index , * joint_position )
@@ -484,7 +474,7 @@ async def _approach_c(
484474 self ,
485475 cartesian_position : tuple [float , float , float , float , float , float ],
486476 orientation : int ,
487- access : AccessPattern
477+ access : AccessPattern ,
488478 ):
489479 """Move the arm to a position above the specified coordinates.
490480
@@ -501,7 +491,7 @@ async def _pick_plate_c(
501491 self ,
502492 cartesian_position : tuple [float , float , float , float , float , float ],
503493 orientation : int ,
504- access : AccessPattern
494+ access : AccessPattern ,
505495 ):
506496 """Pick a plate from the specified position using Cartesian coordinates."""
507497 await self .api .set_location_xyz (self .location_index , * cartesian_position )
@@ -515,7 +505,7 @@ async def _place_plate_c(
515505 self ,
516506 cartesian_position : tuple [float , float , float , float , float , float ],
517507 orientation : int ,
518- access : AccessPattern
508+ access : AccessPattern ,
519509 ):
520510 """Place a plate at the specified position using Cartesian coordinates."""
521511 await self .api .set_location_xyz (self .location_index , * cartesian_position )
@@ -556,7 +546,7 @@ async def _set_grip_detail(self, access: AccessPattern):
556546 0 , # location_type: 0 = normal single location
557547 access .clearance_mm , # z_clearance: vertical retract distance
558548 0 , # z_above: not used for vertical access
559- access .gripper_offset_mm # z_grasp_offset: added when holding plate
549+ access .gripper_offset_mm , # z_grasp_offset: added when holding plate
560550 )
561551 else : # HorizontalAccess
562552 # Horizontal access: access_type=0, z_clearance is horizontal distance
@@ -566,5 +556,5 @@ async def _set_grip_detail(self, access: AccessPattern):
566556 0 , # location_type: 0 = normal single location
567557 access .clearance_mm , # z_clearance: horizontal retract distance
568558 access .lift_height_mm , # z_above: vertical lift for horizontal access
569- access .gripper_offset_mm # z_grasp_offset: added when holding plate
570- )
559+ access .gripper_offset_mm , # z_grasp_offset: added when holding plate
560+ )
0 commit comments