Skip to content

Commit 78d27b4

Browse files
committed
style(fr3): fix format
1 parent fb6551f commit 78d27b4

5 files changed

Lines changed: 11 additions & 8 deletions

File tree

extensions/rcs_fr3/src/rcs_fr3/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
from time import sleep
33
from typing import Annotated
44

5-
import rcs_fr3
65
import typer
6+
7+
import rcs_fr3
78
from rcs_fr3.desk import load_creds_franka_desk
89

910
logger = logging.getLogger(__name__)

extensions/rcs_fr3/src/rcs_fr3/creators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
import gymnasium as gym
66
import numpy as np
7+
import rcs
78
import rcs.hand.tilburg_hand
9+
from frankik import FrankaKinematics
810
from rcs._core.common import Kinematics, Pose
911
from rcs.camera.hw import HardwareCameraSet
1012
from rcs.envs.base import (
@@ -19,13 +21,11 @@
1921
)
2022
from rcs.envs.creators import RCSHardwareEnvCreator
2123
from rcs.hand.tilburg_hand import TilburgHand
24+
2225
from rcs_fr3 import hw
2326
from rcs_fr3.envs import FR3HW
2427
from rcs_fr3.utils import default_fr3_hw_gripper_cfg, default_fr3_hw_robot_cfg
2528

26-
import rcs
27-
from frankik import FrankaKinematics
28-
2929
logger = logging.getLogger(__name__)
3030
logger.setLevel(logging.INFO)
3131

extensions/rcs_fr3/src/rcs_fr3/desk.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
from typing import Callable, Literal
1111
from urllib import parse
1212

13-
import rcs_fr3
1413
import requests
1514
from dotenv import load_dotenv
16-
from rcs_fr3.utils import default_fr3_hw_gripper_cfg
1715
from requests.packages import urllib3 # type: ignore[attr-defined]
1816
from 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

2223
TOKEN_PATH = "~/.rcs/token.conf"

extensions/rcs_fr3/src/rcs_fr3/envs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import gymnasium as gym
55
from rcs.envs.base import RobotEnv
6+
67
from rcs_fr3._core import hw
78

89
_logger = logging.getLogger(__name__)

extensions/rcs_fr3/src/rcs_fr3/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
from rcs_fr3._core import hw
2-
31
import rcs
42
from rcs import common
53

4+
from rcs_fr3._core import hw
5+
66

77
def default_fr3_hw_robot_cfg(async_control: bool = False) -> hw.FR3Config:
88
robot_cfg = hw.FR3Config()

0 commit comments

Comments
 (0)