File tree Expand file tree Collapse file tree
extensions/rcs_fr3/src/rcs_fr3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22from time import sleep
33from typing import Annotated
44
5- import rcs_fr3
65import typer
6+
7+ import rcs_fr3
78from rcs_fr3 .desk import load_creds_franka_desk
89
910logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 44
55import gymnasium as gym
66import numpy as np
7+ import rcs
78import rcs .hand .tilburg_hand
9+ from frankik import FrankaKinematics
810from rcs ._core .common import Kinematics , Pose
911from rcs .camera .hw import HardwareCameraSet
1012from rcs .envs .base import (
1921)
2022from rcs .envs .creators import RCSHardwareEnvCreator
2123from rcs .hand .tilburg_hand import TilburgHand
24+
2225from rcs_fr3 import hw
2326from rcs_fr3 .envs import FR3HW
2427from rcs_fr3 .utils import default_fr3_hw_gripper_cfg , default_fr3_hw_robot_cfg
2528
26- import rcs
27- from frankik import FrankaKinematics
28-
2929logger = logging .getLogger (__name__ )
3030logger .setLevel (logging .INFO )
3131
Original file line number Diff line number Diff line change 1010from typing import Callable , Literal
1111from urllib import parse
1212
13- import rcs_fr3
1413import requests
1514from dotenv import load_dotenv
16- from rcs_fr3 .utils import default_fr3_hw_gripper_cfg
1715from requests .packages import urllib3 # type: ignore[attr-defined]
1816from websockets .sync .client import connect
1917
18+ import rcs_fr3
19+ from rcs_fr3 .utils import default_fr3_hw_gripper_cfg
20+
2021_logger = logging .getLogger ("desk" )
2122
2223TOKEN_PATH = "~/.rcs/token.conf"
Original file line number Diff line number Diff line change 33
44import gymnasium as gym
55from rcs .envs .base import RobotEnv
6+
67from rcs_fr3 ._core import hw
78
89_logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 1- from rcs_fr3 ._core import hw
2-
31import rcs
42from rcs import common
53
4+ from rcs_fr3 ._core import hw
5+
66
77def default_fr3_hw_robot_cfg (async_control : bool = False ) -> hw .FR3Config :
88 robot_cfg = hw .FR3Config ()
You can’t perform that action at this time.
0 commit comments