diff --git a/cri_lib/cri_controller.py b/cri_lib/cri_controller.py index 0b496f5..8f65ae6 100644 --- a/cri_lib/cri_controller.py +++ b/cri_lib/cri_controller.py @@ -817,6 +817,7 @@ def move_base_relative( E2: float, E3: float, velocity: float, + frame: str = "#base", wait_move_finished: bool = False, move_finished_timeout: float | None = 300.0, acceleration: float | None = None, @@ -845,7 +846,7 @@ def move_base_relative( requires igus Robot Control version >= V14-004-1 on robot controller """ command = ( - f"CMD Move RelativeBase {X} {Y} {Z} {A} {B} {C} {E1} {E2} {E3} {velocity}" + f"CMD Move RelativeBase {X} {Y} {Z} {A} {B} {C} {E1} {E2} {E3} {velocity} {frame}" ) if ( @@ -893,6 +894,7 @@ def move_tool_relative( E2: float, E3: float, velocity: float, + frame: str = "#base", wait_move_finished: bool = False, move_finished_timeout: float | None = 300.0, acceleration: float | None = None, @@ -921,7 +923,7 @@ def move_tool_relative( requires igus Robot Control version >= V14-004-1 on robot controller """ command = ( - f"CMD Move RelativeTool {X} {Y} {Z} {A} {B} {C} {E1} {E2} {E3} {velocity}" + f"CMD Move RelativeTool {X} {Y} {Z} {A} {B} {C} {E1} {E2} {E3} {velocity} {frame}" ) if (