Skip to content

Commit 33a9232

Browse files
Spirou42Michelle Sintov
authored andcommitted
Correct dock_with_cube params: approach_angle_rad and distance_from_marker_mm (anki#19)
1 parent 8b7cba3 commit 33a9232

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

anki_vector/behavior.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ async def dock_with_cube(self,
293293
if approach_angle is not None:
294294
dock_request.use_approach_angle = True
295295
dock_request.use_pre_dock_pose = True
296-
dock_request.approach_angle = approach_angle.radians
296+
dock_request.approach_angle_rad = approach_angle.radians
297297
if distance_from_marker is not None:
298-
dock_request.distance_from_marker = distance_from_marker.distance_mm
298+
dock_request.distance_from_marker_mm = distance_from_marker.distance_mm
299299

300300
return await self.grpc_interface.DockWithCube(dock_request)
301301

0 commit comments

Comments
 (0)