Skip to content

Commit e06c68c

Browse files
committed
format: python formatting
1 parent c120ae8 commit e06c68c

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

‎python/rcs/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ class RobotMetaConfig:
176176
# calculated from
177177
# "left": {"xyzrpy": [0.61, 0.21, 0.40, -np.pi, np.deg2rad(-20), 0], "gripper": [0]},
178178
# "right": {"xyzrpy": [0.61, -0.21, 0.40, -np.pi, np.deg2rad(-20), 0], "gripper": [0]},
179-
"FR3_DUO_LEFT": np.array([ 0.48797692, -0.57224476, -0.58536988, -2.57958827, 0.86400183, 2.0530809, -0.85965005]),
180-
"FR3_DUO_RIGHT": np.array([-0.48797676, -0.57224472, 0.58536959, -2.57958788, -0.86400148, 2.05308196, 0.85965057])
179+
"FR3_DUO_LEFT": np.array([0.48797692, -0.57224476, -0.58536988, -2.57958827, 0.86400183, 2.0530809, -0.85965005]),
180+
"FR3_DUO_RIGHT": np.array([-0.48797676, -0.57224472, 0.58536959, -2.57958788, -0.86400148, 2.05308196, 0.85965057]),
181181
}
182182

183183
# Append RCS package prefix to all asset paths

‎python/rcs/envs/storage_wrapper.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ def step(self, action):
250250
obs_original, reward, terminated, truncated, info = self.env.step(action)
251251
obs = copy.deepcopy(obs_original)
252252

253-
254253
if not self._pause:
255254
assert isinstance(obs, dict)
256255
if "frames" in obs and not obs["frames"]:

‎python/rcs/operator/quest.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ def set_camera(self, observation: dict) -> None:
203203
self._video_streamers[camera_name] = self._video_stream_manager.create_streamer(
204204
stream_topic, width, height
205205
)
206-
self._video_streamers[camera_name].update_cv_image(
207-
frame[:, :, ::-1]
208-
)
206+
self._video_streamers[camera_name].update_cv_image(frame[:, :, ::-1])
209207

210208
@staticmethod
211209
def _get_stream_topic_name(camera_name: str) -> str:

0 commit comments

Comments
 (0)