Skip to content

Commit 6449f37

Browse files
committed
fix(franka): desk ignore realtime control
1 parent b0a572f commit 6449f37

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎extensions/rcs_fr3/src/rcs_fr3/desk.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def home(ip: str):
5151
env_cfg = default_env.config()
5252
robot_cfg = env_cfg.robot_cfg
5353
robot_cfg.speed_factor = 0.2
54+
robot_cfg.ignore_realtime = True
5455
f = rcs_fr3.hw.Franka(robot_cfg)
5556
f.move_home()
5657

@@ -72,6 +73,7 @@ def gripper(ip: str, close_gripper: bool):
7273
def info(ip: str, include_hand: bool = False):
7374
robot_cfg = rcs_fr3.hw.FR3Config(ip=ip)
7475
robot_cfg.speed_factor = 0.2
76+
robot_cfg.ignore_realtime = True
7577
f = rcs_fr3.hw.Franka(robot_cfg)
7678
print("Robot info:")
7779
print("Current cartesian position:")

‎extensions/rcs_panda/src/rcs_panda/desk.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def home(ip: str):
5151
env_cfg = default_env.config()
5252
robot_cfg = env_cfg.robot_cfg
5353
robot_cfg.speed_factor = 0.2
54+
robot_cfg.ignore_realtime = True
5455
f = rcs_panda.hw.Franka(robot_cfg)
5556
f.move_home()
5657

@@ -71,6 +72,7 @@ def gripper(ip: str, close_gripper: bool):
7172
def info(ip: str, include_hand: bool = False):
7273
robot_cfg = rcs_panda.hw.PandaConfig(ip=ip)
7374
robot_cfg.speed_factor = 0.2
75+
robot_cfg.ignore_realtime = True
7476
f = rcs_panda.hw.Franka(robot_cfg)
7577
print("Robot info:")
7678
print("Current cartesian position:")

0 commit comments

Comments
 (0)