Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- exp_lift_fix/CHANGES.md +28 -0
- exp_lift_fix/SUMMARY.md +33 -0
- exp_lift_fix/cutlery_arrangement.py +510 -0
- exp_lift_fix/datagen.log +471 -0
- exp_lift_fix/videos/ep_01_success.mp4 +3 -0
- exp_lift_fix/videos/ep_02_success.mp4 +3 -0
- exp_lift_fix/videos/ep_03_success.mp4 +3 -0
- exp_lift_fix/videos/ep_04_success.mp4 +3 -0
- exp_lift_fix/videos/ep_05_success.mp4 +3 -0
- exp_lift_fix/videos/ep_06_failed.mp4 +3 -0
- exp_lift_fix/videos/ep_07_failed.mp4 +3 -0
- exp_lift_fix/videos/ep_08_failed.mp4 +3 -0
- exp_lift_fix/videos/ep_09_failed.mp4 +3 -0
- exp_lift_fix/videos/ep_10_failed.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -56,3 +56,13 @@ exp_heights_only/videos/ep_10_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
| 56 |
exp_all_changes/all_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 57 |
exp_heights_only/all_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 58 |
exp_heights_only/all_success.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
exp_all_changes/all_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 57 |
exp_heights_only/all_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 58 |
exp_heights_only/all_success.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
exp_lift_fix/videos/ep_01_success.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
exp_lift_fix/videos/ep_02_success.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
exp_lift_fix/videos/ep_03_success.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
exp_lift_fix/videos/ep_04_success.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
exp_lift_fix/videos/ep_05_success.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
exp_lift_fix/videos/ep_06_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
exp_lift_fix/videos/ep_07_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
exp_lift_fix/videos/ep_08_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
exp_lift_fix/videos/ep_09_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
exp_lift_fix/videos/ep_10_failed.mp4 filter=lfs diff=lfs merge=lfs -text
|
exp_lift_fix/CHANGES.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# exp_lift_fix — structural fixes on top of heights-only
|
| 2 |
+
|
| 3 |
+
This version keeps the height changes from `exp_heights_only` but **fixes two FSM
|
| 4 |
+
logic bugs** that previous experiments couldn't address with constants alone.
|
| 5 |
+
|
| 6 |
+
## What changed vs main
|
| 7 |
+
|
| 8 |
+
| Change | Original | This version | Why |
|
| 9 |
+
|---|---|---|---|
|
| 10 |
+
| `_phase_lift` target z | `obj.z + LIFT_Z_OFFSET` (relative) | `plate.z + LIFT_Z_OFFSET` (absolute) | Original chased the held object's moving z; arm rose until joint limits. |
|
| 11 |
+
| `_phase_retreat` gripper | Opens unconditionally | **Stays CLOSED until EE within `_RELEASE_TOL_M` of release_z** | Old code opened the gripper at start of phase 6 even if descent wasn't done. |
|
| 12 |
+
| `_LIFT_Z_OFFSET` | 0.20 | 0.15 | Lower transit altitude (carried over from heights-only). |
|
| 13 |
+
| `_RELEASE_Z_OFFSET` | 0.09 | 0.06 | Gentler placement. |
|
| 14 |
+
| `_MAX_CARTESIAN_DELTA` | 0.018 | **0.018** (unchanged) | Per user request: no speed changes. |
|
| 15 |
+
| `_PHASE_DURATIONS_PER_OBJECT` | `(180,130,20,160,170,15,30)` | **same** (unchanged) | Original timing kept for correctness; will re-time after this works. |
|
| 16 |
+
|
| 17 |
+
## New constant
|
| 18 |
+
`_RELEASE_TOL_M = 0.015` — phase 6 won't open the gripper until the EE z is within 1.5 cm
|
| 19 |
+
of the release altitude.
|
| 20 |
+
|
| 21 |
+
## Behavior expected vs prior runs
|
| 22 |
+
- Arm should rise only to ~0.20 m (plate.z + 0.15) during lift, NOT to joint limits
|
| 23 |
+
- Phase 4 transition should look like the place→pickup move that already worked
|
| 24 |
+
- Phase 6 should hold gripper closed until descent confirmed, THEN open
|
| 25 |
+
|
| 26 |
+
## What this still doesn't fix
|
| 27 |
+
Episode length stays at ~25 s (we kept original phase durations). Eval cap is 20 s.
|
| 28 |
+
Once we confirm the FSM behaves correctly, the next iteration will tune phase durations.
|
exp_lift_fix/SUMMARY.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FSM Experiment: exp_lift_fix
|
| 2 |
+
|
| 3 |
+
- Date: Mon May 25 05:32:28 PM PST 2026
|
| 4 |
+
- Poses: `data/umi/test_fsm_v3/object_poses_10_shared.json`
|
| 5 |
+
- Successes: **5** / Failures: **5**
|
| 6 |
+
|
| 7 |
+
```python
|
| 8 |
+
_MAX_CARTESIAN_DELTA = 0.018 # original; per-step IK clamp not changed in this version
|
| 9 |
+
_HOVER_Z_OFFSET = 0.15
|
| 10 |
+
_GRASP_Z_OFFSET = 0.08
|
| 11 |
+
_LIFT_Z_OFFSET = 0.15 # was 0.20; 0.10 was too low (held cutlery clipped plate edge during transport)
|
| 12 |
+
_RELEASE_Z_OFFSET = 0.06 # was 0.09; 0.04 was too low (gripper fingers hit plate/table)
|
| 13 |
+
_RELEASE_TOL_M = 0.015 # phase 6 keeps gripper CLOSED until EE is within this band of release_z
|
| 14 |
+
_PHASE_DURATIONS_PER_OBJECT = (180, 130, 20, 160, 170, 15, 30) # original durations; correctness fix first, re-time later
|
| 15 |
+
_PHASES_PER_OBJECT = len(_PHASE_DURATIONS_PER_OBJECT)
|
| 16 |
+
def _clamp_delta(delta: torch.Tensor, max_norm: float = _MAX_CARTESIAN_DELTA) -> torch.Tensor:
|
| 17 |
+
MAX_STEPS: int = len(_PICK_ORDER) * sum(_PHASE_DURATIONS_PER_OBJECT) + 100
|
| 18 |
+
self._events_dt: list[int] = list(_PHASE_DURATIONS_PER_OBJECT) * len(_PICK_ORDER)
|
| 19 |
+
target[:, 2] += _HOVER_Z_OFFSET
|
| 20 |
+
target[:, 2] += _GRASP_Z_OFFSET
|
| 21 |
+
target[:, 2] += _GRASP_Z_OFFSET
|
| 22 |
+
# `obj.z + _LIFT_Z_OFFSET` made the target always sit LIFT_Z_OFFSET above the
|
| 23 |
+
target[:, 2] = plate_pos_w[:, 2] + _LIFT_Z_OFFSET
|
| 24 |
+
target[:, 2] += _LIFT_Z_OFFSET
|
| 25 |
+
target[:, 2] += _RELEASE_Z_OFFSET
|
| 26 |
+
# Only once the EE is within `_RELEASE_TOL_M` of the release altitude do
|
| 27 |
+
release_z = place_pos_w[:, 2] + _RELEASE_Z_OFFSET
|
| 28 |
+
descent_complete = bool((ee_z <= release_z + _RELEASE_TOL_M).all().item())
|
| 29 |
+
target[:, 2] += _RELEASE_Z_OFFSET
|
| 30 |
+
target[:, 2] += _LIFT_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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""State machine for the Franka cutlery-arrangement task."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import math
|
| 6 |
+
|
| 7 |
+
import torch
|
| 8 |
+
from isaaclab.utils.math import (
|
| 9 |
+
axis_angle_from_quat,
|
| 10 |
+
matrix_from_quat,
|
| 11 |
+
quat_apply,
|
| 12 |
+
quat_from_euler_xyz,
|
| 13 |
+
quat_inv,
|
| 14 |
+
quat_mul,
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
from leisaac.datagen.state_machine.base import StateMachineBase
|
| 18 |
+
|
| 19 |
+
# ---------------------------------------------------------------------------
|
| 20 |
+
# Module-level constants
|
| 21 |
+
# ---------------------------------------------------------------------------
|
| 22 |
+
_FORK_NAME = "fork"
|
| 23 |
+
_KNIFE_NAME = "knife"
|
| 24 |
+
_PLATE_NAME = "plate"
|
| 25 |
+
_EE_BODY_NAME = "panda_hand"
|
| 26 |
+
_FRANKA_ARM_JOINT_NAMES = (
|
| 27 |
+
"panda_joint1",
|
| 28 |
+
"panda_joint2",
|
| 29 |
+
"panda_joint3",
|
| 30 |
+
"panda_joint4",
|
| 31 |
+
"panda_joint5",
|
| 32 |
+
"panda_joint6",
|
| 33 |
+
"panda_joint7",
|
| 34 |
+
)
|
| 35 |
+
|
| 36 |
+
_GRIPPER_OPEN = 1.0
|
| 37 |
+
_GRIPPER_CLOSE = -1.0
|
| 38 |
+
|
| 39 |
+
_MAX_CARTESIAN_DELTA = 0.018 # original; per-step IK clamp not changed in this version
|
| 40 |
+
_MAX_ROT_DELTA = 0.08
|
| 41 |
+
_IK_DLS_LAMBDA = 0.01
|
| 42 |
+
|
| 43 |
+
_HOVER_Z_OFFSET = 0.15
|
| 44 |
+
_GRASP_Z_OFFSET = 0.08
|
| 45 |
+
_LIFT_Z_OFFSET = 0.15 # was 0.20; 0.10 was too low (held cutlery clipped plate edge during transport)
|
| 46 |
+
_RELEASE_Z_OFFSET = 0.06 # was 0.09; 0.04 was too low (gripper fingers hit plate/table)
|
| 47 |
+
_RELEASE_TOL_M = 0.015 # phase 6 keeps gripper CLOSED until EE is within this band of release_z
|
| 48 |
+
_GRIPPER_DOWN_ROLL_W = math.pi
|
| 49 |
+
_GRIPPER_DOWN_PITCH_W = 0.0
|
| 50 |
+
_GRIPPER_DOWN_YAW_OFFSET_RANGE = (-0.15, 0.15)
|
| 51 |
+
# Grasp yaw bias (rad) on top of the object's world yaw, before the random
|
| 52 |
+
# jitter. Cutlery items are elongated, so π/2 closes the fingers across the
|
| 53 |
+
# short axis. Per-USD orientation correction lives in env_cfg's
|
| 54 |
+
# ``per_object_yaw_offset``.
|
| 55 |
+
_GRASP_YAW_OFFSET: float = math.pi / 2.0
|
| 56 |
+
# Horizontal retreat (m) toward the robot base applied to approach + grasp
|
| 57 |
+
# targets. Per-object so each cutlery item can be tuned independently
|
| 58 |
+
# (e.g. knife may grab better with no retreat than fork).
|
| 59 |
+
_GRASP_RETREAT_PER_OBJECT: dict[str, float] = {
|
| 60 |
+
"fork": 0.025,
|
| 61 |
+
"knife": 0.025,
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
_PLACE_OFFSET = 0.10
|
| 65 |
+
|
| 66 |
+
_SUCCESS_MAX_DIST_XY = 0.15
|
| 67 |
+
|
| 68 |
+
_FRANKA_REST_JOINT_POS = {
|
| 69 |
+
"panda_joint1": 0.0,
|
| 70 |
+
"panda_joint2": -math.pi / 4.0,
|
| 71 |
+
"panda_joint3": 0.0,
|
| 72 |
+
"panda_joint4": -3.0 * math.pi / 4.0,
|
| 73 |
+
"panda_joint5": 0.0,
|
| 74 |
+
"panda_joint6": math.pi / 2.0,
|
| 75 |
+
"panda_joint7": math.pi / 4.0,
|
| 76 |
+
"panda_finger_joint1": 0.04,
|
| 77 |
+
"panda_finger_joint2": 0.04,
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
# Pick order: fork first (place on +y / left of plate), then knife (place on -y / right)
|
| 81 |
+
_PICK_ORDER = (_KNIFE_NAME, _FORK_NAME)
|
| 82 |
+
_PLACE_X_SIGNS = (-1.0, +1.0) # knife → -x of plate, fork → +x of plate
|
| 83 |
+
|
| 84 |
+
_PHASE_DURATIONS_PER_OBJECT = (180, 130, 20, 160, 170, 15, 30) # original durations; correctness fix first, re-time later
|
| 85 |
+
_PHASES_PER_OBJECT = len(_PHASE_DURATIONS_PER_OBJECT)
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
def _constant_gripper(num_envs: int, device: torch.device, value: float) -> torch.Tensor:
|
| 89 |
+
return torch.full((num_envs, 1), value, device=device)
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
def _clamp_delta(delta: torch.Tensor, max_norm: float = _MAX_CARTESIAN_DELTA) -> torch.Tensor:
|
| 93 |
+
norm = torch.linalg.norm(delta, dim=-1, keepdim=True).clamp_min(1e-6)
|
| 94 |
+
scale = torch.clamp(max_norm / norm, max=1.0)
|
| 95 |
+
return delta * scale
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def _shortest_quat(quat: torch.Tensor) -> torch.Tensor:
|
| 99 |
+
return torch.where(quat[:, 0:1] < 0.0, -quat, quat)
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def _retreat_xy_toward(
|
| 103 |
+
target_pos_w: torch.Tensor,
|
| 104 |
+
anchor_pos_w: torch.Tensor,
|
| 105 |
+
distance: float,
|
| 106 |
+
) -> torch.Tensor:
|
| 107 |
+
"""Pull ``target_pos_w`` xy toward ``anchor_pos_w`` by ``distance`` metres."""
|
| 108 |
+
out = target_pos_w.clone()
|
| 109 |
+
delta_xy = out[:, :2] - anchor_pos_w[:, :2]
|
| 110 |
+
norm = torch.linalg.norm(delta_xy, dim=-1, keepdim=True).clamp_min(1e-6)
|
| 111 |
+
out[:, :2] -= distance * (delta_xy / norm)
|
| 112 |
+
return out
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def _yaw_from_quat_wxyz(quat_wxyz: torch.Tensor) -> torch.Tensor:
|
| 116 |
+
"""Yaw (rotation about world z) from a (w, x, y, z) quaternion."""
|
| 117 |
+
w, x, y, z = quat_wxyz[:, 0], quat_wxyz[:, 1], quat_wxyz[:, 2], quat_wxyz[:, 3]
|
| 118 |
+
siny_cosp = 2.0 * (w * z + x * y)
|
| 119 |
+
cosy_cosp = 1.0 - 2.0 * (y * y + z * z)
|
| 120 |
+
return torch.atan2(siny_cosp, cosy_cosp)
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
def _find_body_index(robot, body_name: str) -> int:
|
| 124 |
+
if hasattr(robot, "find_bodies"):
|
| 125 |
+
body_ids, _ = robot.find_bodies(body_name)
|
| 126 |
+
if len(body_ids) > 0:
|
| 127 |
+
return int(body_ids[0])
|
| 128 |
+
|
| 129 |
+
body_names = getattr(robot.data, "body_names", None)
|
| 130 |
+
if body_names is not None and body_name in body_names:
|
| 131 |
+
return body_names.index(body_name)
|
| 132 |
+
|
| 133 |
+
return -1
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
# ---------------------------------------------------------------------------
|
| 137 |
+
# State machine
|
| 138 |
+
# ---------------------------------------------------------------------------
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
class CutleryArrangementStateMachine(StateMachineBase):
|
| 142 |
+
"""Scripted Franka policy for arranging cutlery around a plate.
|
| 143 |
+
|
| 144 |
+
Picks up the fork and places it on the +y (left) side of the plate,
|
| 145 |
+
then picks up the knife and places it on the -y (right) side.
|
| 146 |
+
|
| 147 |
+
Each object goes through 7 phases:
|
| 148 |
+
|
| 149 |
+
0. Move above object
|
| 150 |
+
1. Approach down to object
|
| 151 |
+
2. Close gripper to grasp
|
| 152 |
+
3. Lift object upward
|
| 153 |
+
4. Move above target position (beside plate)
|
| 154 |
+
5. Lower and release
|
| 155 |
+
6. Retreat upward
|
| 156 |
+
|
| 157 |
+
The action vector is ``[panda_joint1, ..., panda_joint7, gripper]``.
|
| 158 |
+
"""
|
| 159 |
+
|
| 160 |
+
MAX_STEPS: int = len(_PICK_ORDER) * sum(_PHASE_DURATIONS_PER_OBJECT) + 100
|
| 161 |
+
|
| 162 |
+
def __init__(self) -> None:
|
| 163 |
+
self._step_count: int = 0
|
| 164 |
+
self._episode_done: bool = False
|
| 165 |
+
self._ee_body_idx: int = -1
|
| 166 |
+
self._jacobi_body_idx: int = -1
|
| 167 |
+
self._arm_joint_ids: list[int] = []
|
| 168 |
+
self._jacobi_joint_ids: list[int] = []
|
| 169 |
+
self._rest_joint_pos: torch.Tensor | None = None
|
| 170 |
+
self._rest_ee_pos_w: torch.Tensor | None = None
|
| 171 |
+
self._initial_ee_pos_w: torch.Tensor | None = None
|
| 172 |
+
self._gripper_down_yaw_w: torch.Tensor | None = None
|
| 173 |
+
self._gripper_down_yaw_offset_w: torch.Tensor | None = None
|
| 174 |
+
self._current_object_idx: int = 0
|
| 175 |
+
self._event: int = 0
|
| 176 |
+
self._events_dt: list[int] = list(_PHASE_DURATIONS_PER_OBJECT) * len(_PICK_ORDER)
|
| 177 |
+
|
| 178 |
+
# ------------------------------------------------------------------
|
| 179 |
+
# StateMachineBase interface
|
| 180 |
+
# ------------------------------------------------------------------
|
| 181 |
+
|
| 182 |
+
def setup(self, env) -> None:
|
| 183 |
+
robot = env.scene["robot"]
|
| 184 |
+
self._ee_body_idx = _find_body_index(robot, _EE_BODY_NAME)
|
| 185 |
+
joint_names = list(robot.data.joint_names)
|
| 186 |
+
missing = [j for j in _FRANKA_ARM_JOINT_NAMES if j not in joint_names]
|
| 187 |
+
if missing:
|
| 188 |
+
raise ValueError(f"Missing Franka joints {missing} in {joint_names}")
|
| 189 |
+
self._arm_joint_ids = [joint_names.index(j) for j in _FRANKA_ARM_JOINT_NAMES]
|
| 190 |
+
|
| 191 |
+
if self._ee_body_idx < 0:
|
| 192 |
+
raise ValueError(f"Could not find body '{_EE_BODY_NAME}' in Franka.")
|
| 193 |
+
if robot.is_fixed_base:
|
| 194 |
+
self._jacobi_body_idx = self._ee_body_idx - 1
|
| 195 |
+
self._jacobi_joint_ids = self._arm_joint_ids
|
| 196 |
+
else:
|
| 197 |
+
self._jacobi_body_idx = self._ee_body_idx
|
| 198 |
+
self._jacobi_joint_ids = [jid + 6 for jid in self._arm_joint_ids]
|
| 199 |
+
|
| 200 |
+
self._rest_joint_pos = torch.zeros(env.num_envs, len(joint_names), device=env.device)
|
| 201 |
+
for idx, name in enumerate(joint_names):
|
| 202 |
+
if name in _FRANKA_REST_JOINT_POS:
|
| 203 |
+
self._rest_joint_pos[:, idx] = _FRANKA_REST_JOINT_POS[name]
|
| 204 |
+
|
| 205 |
+
robot.write_joint_state_to_sim(
|
| 206 |
+
position=self._rest_joint_pos,
|
| 207 |
+
velocity=torch.zeros_like(self._rest_joint_pos),
|
| 208 |
+
)
|
| 209 |
+
env.sim.step(render=False)
|
| 210 |
+
env.scene.update(dt=env.physics_dt)
|
| 211 |
+
self._rest_ee_pos_w = self._ee_pos_w(robot).clone()
|
| 212 |
+
|
| 213 |
+
def check_success(self, env) -> bool:
|
| 214 |
+
plate_pos = env.scene[_PLATE_NAME].data.root_pos_w - env.scene.env_origins
|
| 215 |
+
fork_pos = env.scene[_FORK_NAME].data.root_pos_w - env.scene.env_origins
|
| 216 |
+
knife_pos = env.scene[_KNIFE_NAME].data.root_pos_w - env.scene.env_origins
|
| 217 |
+
|
| 218 |
+
done = torch.ones(env.num_envs, dtype=torch.bool, device=env.device)
|
| 219 |
+
|
| 220 |
+
fork_dist_xy = torch.norm(fork_pos[:, :2] - plate_pos[:, :2], dim=1)
|
| 221 |
+
knife_dist_xy = torch.norm(knife_pos[:, :2] - plate_pos[:, :2], dim=1)
|
| 222 |
+
|
| 223 |
+
done = torch.logical_and(done, fork_dist_xy <= _SUCCESS_MAX_DIST_XY)
|
| 224 |
+
done = torch.logical_and(done, knife_dist_xy <= _SUCCESS_MAX_DIST_XY)
|
| 225 |
+
done = torch.logical_and(done, fork_pos[:, 0] > plate_pos[:, 0]) # fork on +x
|
| 226 |
+
done = torch.logical_and(done, knife_pos[:, 0] < plate_pos[:, 0]) # knife on -x
|
| 227 |
+
|
| 228 |
+
return bool(done.all().item())
|
| 229 |
+
|
| 230 |
+
def pre_step(self, env) -> None:
|
| 231 |
+
pass
|
| 232 |
+
|
| 233 |
+
def get_action(self, env) -> torch.Tensor:
|
| 234 |
+
robot = env.scene["robot"]
|
| 235 |
+
robot.write_joint_damping_to_sim(damping=10.0)
|
| 236 |
+
|
| 237 |
+
device = env.device
|
| 238 |
+
num_envs = env.num_envs
|
| 239 |
+
|
| 240 |
+
obj_name = _PICK_ORDER[self._current_object_idx]
|
| 241 |
+
x_sign = _PLACE_X_SIGNS[self._current_object_idx]
|
| 242 |
+
obj_pos_w = env.scene[obj_name].data.root_pos_w.clone()
|
| 243 |
+
obj_quat_w = env.scene[obj_name].data.root_quat_w.clone()
|
| 244 |
+
plate_pos_w = env.scene[_PLATE_NAME].data.root_pos_w.clone()
|
| 245 |
+
robot_root_pos_w = robot.data.root_pos_w.clone()
|
| 246 |
+
|
| 247 |
+
place_target_w = plate_pos_w.clone()
|
| 248 |
+
place_target_w[:, 0] += x_sign * _PLACE_OFFSET
|
| 249 |
+
|
| 250 |
+
if self._step_count == 0 and self._event == 0:
|
| 251 |
+
self._initial_ee_pos_w = self._ee_pos_w(robot).clone()
|
| 252 |
+
|
| 253 |
+
phase_in_cycle = self._event % _PHASES_PER_OBJECT
|
| 254 |
+
|
| 255 |
+
target_quat_w = self._gripper_down_quat_w(
|
| 256 |
+
obj_quat_w,
|
| 257 |
+
obj_name,
|
| 258 |
+
num_envs,
|
| 259 |
+
device,
|
| 260 |
+
obj_quat_w.dtype,
|
| 261 |
+
yaw_offset=_GRASP_YAW_OFFSET,
|
| 262 |
+
)
|
| 263 |
+
|
| 264 |
+
grasp_anchor_w = _retreat_xy_toward(
|
| 265 |
+
obj_pos_w,
|
| 266 |
+
robot_root_pos_w,
|
| 267 |
+
_GRASP_RETREAT_PER_OBJECT.get(obj_name, 0.0),
|
| 268 |
+
)
|
| 269 |
+
|
| 270 |
+
if phase_in_cycle == 0:
|
| 271 |
+
target_pos_w, gripper_cmd = self._phase_move_above_object(obj_pos_w, num_envs, device)
|
| 272 |
+
elif phase_in_cycle == 1:
|
| 273 |
+
target_pos_w, gripper_cmd = self._phase_approach_object(grasp_anchor_w, num_envs, device)
|
| 274 |
+
elif phase_in_cycle == 2:
|
| 275 |
+
target_pos_w, gripper_cmd = self._phase_grasp(grasp_anchor_w, num_envs, device)
|
| 276 |
+
elif phase_in_cycle == 3:
|
| 277 |
+
# Pass plate_pos_w so lift targets a FIXED altitude (plate.z + LIFT_Z_OFFSET)
|
| 278 |
+
# instead of chasing the held object's moving z (which causes unbounded rise).
|
| 279 |
+
target_pos_w, gripper_cmd = self._phase_lift(obj_pos_w, plate_pos_w, num_envs, device)
|
| 280 |
+
elif phase_in_cycle == 4:
|
| 281 |
+
target_pos_w, gripper_cmd = self._phase_move_above_place(place_target_w, num_envs, device)
|
| 282 |
+
elif phase_in_cycle == 5:
|
| 283 |
+
target_pos_w, gripper_cmd = self._phase_lower_to_release(place_target_w, num_envs, device)
|
| 284 |
+
else:
|
| 285 |
+
# Phase 6: only open gripper once descent is verified complete.
|
| 286 |
+
target_pos_w, gripper_cmd = self._phase_retreat(
|
| 287 |
+
place_target_w, num_envs, device, robot=robot
|
| 288 |
+
)
|
| 289 |
+
|
| 290 |
+
return self._joint_position_franka_action(env, target_pos_w, target_quat_w, gripper_cmd)
|
| 291 |
+
|
| 292 |
+
# ------------------------------------------------------------------
|
| 293 |
+
# Phase helpers
|
| 294 |
+
# ------------------------------------------------------------------
|
| 295 |
+
|
| 296 |
+
def _phase_move_above_object(self, obj_pos_w, num_envs, device):
|
| 297 |
+
target = obj_pos_w.clone()
|
| 298 |
+
target[:, 2] += _HOVER_Z_OFFSET
|
| 299 |
+
if self._initial_ee_pos_w is not None:
|
| 300 |
+
denom = max(self._events_dt[self._event] - 1, 1)
|
| 301 |
+
alpha = min(self._step_count / denom, 1.0)
|
| 302 |
+
target = (1.0 - alpha) * self._initial_ee_pos_w + alpha * target
|
| 303 |
+
return target, _constant_gripper(num_envs, device, _GRIPPER_OPEN)
|
| 304 |
+
|
| 305 |
+
def _phase_approach_object(self, obj_pos_w, num_envs, device):
|
| 306 |
+
target = obj_pos_w.clone()
|
| 307 |
+
target[:, 2] += _GRASP_Z_OFFSET
|
| 308 |
+
return target, _constant_gripper(num_envs, device, _GRIPPER_OPEN)
|
| 309 |
+
|
| 310 |
+
def _phase_grasp(self, obj_pos_w, num_envs, device):
|
| 311 |
+
# Hold the same height as the approach phase so the EE doesn't keep
|
| 312 |
+
# descending while the fingers are closing — that timing race causes
|
| 313 |
+
# empty grasps.
|
| 314 |
+
target = obj_pos_w.clone()
|
| 315 |
+
target[:, 2] += _GRASP_Z_OFFSET
|
| 316 |
+
return target, _constant_gripper(num_envs, device, _GRIPPER_CLOSE)
|
| 317 |
+
|
| 318 |
+
def _phase_lift(self, obj_pos_w, plate_pos_w, num_envs, device):
|
| 319 |
+
# FIX: target a FIXED altitude (plate.z + LIFT_Z_OFFSET), not relative to the
|
| 320 |
+
# currently-held object. The held object's z tracks the gripper, so the old
|
| 321 |
+
# `obj.z + _LIFT_Z_OFFSET` made the target always sit LIFT_Z_OFFSET above the
|
| 322 |
+
# gripper itself — the arm chased it upward until it hit joint limits.
|
| 323 |
+
target = obj_pos_w.clone()
|
| 324 |
+
target[:, 2] = plate_pos_w[:, 2] + _LIFT_Z_OFFSET
|
| 325 |
+
return target, _constant_gripper(num_envs, device, _GRIPPER_CLOSE)
|
| 326 |
+
|
| 327 |
+
def _phase_move_above_place(self, place_pos_w, num_envs, device):
|
| 328 |
+
target = place_pos_w.clone()
|
| 329 |
+
target[:, 2] += _LIFT_Z_OFFSET
|
| 330 |
+
return target, _constant_gripper(num_envs, device, _GRIPPER_CLOSE)
|
| 331 |
+
|
| 332 |
+
def _phase_lower_to_release(self, place_pos_w, num_envs, device):
|
| 333 |
+
target = place_pos_w.clone()
|
| 334 |
+
target[:, 2] += _RELEASE_Z_OFFSET
|
| 335 |
+
return target, _constant_gripper(num_envs, device, _GRIPPER_CLOSE)
|
| 336 |
+
|
| 337 |
+
def _phase_retreat(self, place_pos_w, num_envs, device, robot=None):
|
| 338 |
+
# EXPLICIT DESCENT-COMPLETE CHECK: if the EE has not actually reached the
|
| 339 |
+
# release altitude yet (because phase 5 ran out of steps or IK was slow),
|
| 340 |
+
# we keep gripper CLOSED and continue targeting the release point.
|
| 341 |
+
# Only once the EE is within `_RELEASE_TOL_M` of the release altitude do
|
| 342 |
+
# we transition to the actual retreat (gripper open + target up).
|
| 343 |
+
if robot is not None and self._ee_body_idx >= 0:
|
| 344 |
+
ee_z = robot.data.body_pos_w[:, self._ee_body_idx, 2]
|
| 345 |
+
release_z = place_pos_w[:, 2] + _RELEASE_Z_OFFSET
|
| 346 |
+
descent_complete = bool((ee_z <= release_z + _RELEASE_TOL_M).all().item())
|
| 347 |
+
else:
|
| 348 |
+
descent_complete = True
|
| 349 |
+
|
| 350 |
+
if not descent_complete:
|
| 351 |
+
# Still descending — hold release-point target, keep gripper closed.
|
| 352 |
+
target = place_pos_w.clone()
|
| 353 |
+
target[:, 2] += _RELEASE_Z_OFFSET
|
| 354 |
+
return target, _constant_gripper(num_envs, device, _GRIPPER_CLOSE)
|
| 355 |
+
|
| 356 |
+
target = place_pos_w.clone()
|
| 357 |
+
target[:, 2] += _LIFT_Z_OFFSET
|
| 358 |
+
return target, _constant_gripper(num_envs, device, _GRIPPER_OPEN)
|
| 359 |
+
|
| 360 |
+
# ------------------------------------------------------------------
|
| 361 |
+
# Timeline
|
| 362 |
+
# ------------------------------------------------------------------
|
| 363 |
+
|
| 364 |
+
def advance(self) -> None:
|
| 365 |
+
if self._episode_done:
|
| 366 |
+
return
|
| 367 |
+
|
| 368 |
+
self._step_count += 1
|
| 369 |
+
if self._step_count < self._events_dt[self._event]:
|
| 370 |
+
return
|
| 371 |
+
|
| 372 |
+
self._event += 1
|
| 373 |
+
self._step_count = 0
|
| 374 |
+
|
| 375 |
+
if self._event >= len(self._events_dt):
|
| 376 |
+
self._episode_done = True
|
| 377 |
+
return
|
| 378 |
+
|
| 379 |
+
new_obj_idx = self._event // _PHASES_PER_OBJECT
|
| 380 |
+
if new_obj_idx != self._current_object_idx:
|
| 381 |
+
self._current_object_idx = new_obj_idx
|
| 382 |
+
self._initial_ee_pos_w = None
|
| 383 |
+
self._gripper_down_yaw_w = None
|
| 384 |
+
self._gripper_down_yaw_offset_w = None
|
| 385 |
+
|
| 386 |
+
def reset(self) -> None:
|
| 387 |
+
self._step_count = 0
|
| 388 |
+
self._episode_done = False
|
| 389 |
+
self._event = 0
|
| 390 |
+
self._current_object_idx = 0
|
| 391 |
+
self._initial_ee_pos_w = None
|
| 392 |
+
self._gripper_down_yaw_w = None
|
| 393 |
+
self._gripper_down_yaw_offset_w = None
|
| 394 |
+
|
| 395 |
+
# ------------------------------------------------------------------
|
| 396 |
+
# IK / control helpers (same as CupStackingStateMachine)
|
| 397 |
+
# ------------------------------------------------------------------
|
| 398 |
+
|
| 399 |
+
def _ee_pos_w(self, robot) -> torch.Tensor:
|
| 400 |
+
body_idx = self._ee_body_idx if self._ee_body_idx >= 0 else -1
|
| 401 |
+
return robot.data.body_pos_w[:, body_idx, :]
|
| 402 |
+
|
| 403 |
+
def _ee_quat_w(self, robot) -> torch.Tensor:
|
| 404 |
+
body_idx = self._ee_body_idx if self._ee_body_idx >= 0 else -1
|
| 405 |
+
return robot.data.body_quat_w[:, body_idx, :]
|
| 406 |
+
|
| 407 |
+
def _joint_position_franka_action(
|
| 408 |
+
self,
|
| 409 |
+
env,
|
| 410 |
+
target_pos_w: torch.Tensor,
|
| 411 |
+
target_quat_w: torch.Tensor,
|
| 412 |
+
gripper_cmd: torch.Tensor,
|
| 413 |
+
) -> torch.Tensor:
|
| 414 |
+
robot = env.scene["robot"]
|
| 415 |
+
root_pos_w = robot.data.root_pos_w
|
| 416 |
+
root_quat_w = robot.data.root_quat_w
|
| 417 |
+
root_quat_inv = quat_inv(root_quat_w)
|
| 418 |
+
|
| 419 |
+
target_pos_root = quat_apply(root_quat_inv, target_pos_w - root_pos_w)
|
| 420 |
+
ee_pos_root = quat_apply(root_quat_inv, self._ee_pos_w(robot) - root_pos_w)
|
| 421 |
+
delta_pos_root = _clamp_delta(target_pos_root - ee_pos_root)
|
| 422 |
+
|
| 423 |
+
delta_quat_w = _shortest_quat(quat_mul(target_quat_w, quat_inv(self._ee_quat_w(robot))))
|
| 424 |
+
delta_rot_w = axis_angle_from_quat(delta_quat_w)
|
| 425 |
+
delta_rot_root = _clamp_delta(quat_apply(root_quat_inv, delta_rot_w), _MAX_ROT_DELTA)
|
| 426 |
+
|
| 427 |
+
pose_delta_root = torch.cat([delta_pos_root, delta_rot_root], dim=-1)
|
| 428 |
+
joint_pos_target = self._arm_joint_pos(robot) + self._compute_delta_joint_pos(
|
| 429 |
+
pose_delta_root, self._ee_jacobian_root(robot)
|
| 430 |
+
)
|
| 431 |
+
joint_pos_target = self._clamp_arm_joint_pos(robot, joint_pos_target)
|
| 432 |
+
return torch.cat([joint_pos_target, gripper_cmd], dim=-1)
|
| 433 |
+
|
| 434 |
+
def _arm_joint_pos(self, robot) -> torch.Tensor:
|
| 435 |
+
if not self._arm_joint_ids:
|
| 436 |
+
raise RuntimeError("setup() must run before requesting actions.")
|
| 437 |
+
return robot.data.joint_pos[:, self._arm_joint_ids]
|
| 438 |
+
|
| 439 |
+
def _ee_jacobian_root(self, robot) -> torch.Tensor:
|
| 440 |
+
if self._jacobi_body_idx < 0 or not self._jacobi_joint_ids:
|
| 441 |
+
raise RuntimeError("setup() must run before requesting actions.")
|
| 442 |
+
|
| 443 |
+
jacobian = robot.root_physx_view.get_jacobians()[
|
| 444 |
+
:, self._jacobi_body_idx, :, self._jacobi_joint_ids
|
| 445 |
+
].clone()
|
| 446 |
+
root_rot_matrix = matrix_from_quat(quat_inv(robot.data.root_quat_w))
|
| 447 |
+
jacobian[:, :3, :] = torch.bmm(root_rot_matrix, jacobian[:, :3, :])
|
| 448 |
+
jacobian[:, 3:, :] = torch.bmm(root_rot_matrix, jacobian[:, 3:, :])
|
| 449 |
+
return jacobian
|
| 450 |
+
|
| 451 |
+
def _compute_delta_joint_pos(self, pose_delta: torch.Tensor, jacobian: torch.Tensor) -> torch.Tensor:
|
| 452 |
+
jacobian_t = torch.transpose(jacobian, dim0=1, dim1=2)
|
| 453 |
+
lambda_matrix = (_IK_DLS_LAMBDA**2) * torch.eye(
|
| 454 |
+
jacobian.shape[1], device=jacobian.device, dtype=jacobian.dtype
|
| 455 |
+
)
|
| 456 |
+
delta_joint_pos = (
|
| 457 |
+
jacobian_t @ torch.inverse(jacobian @ jacobian_t + lambda_matrix) @ pose_delta.unsqueeze(-1)
|
| 458 |
+
)
|
| 459 |
+
return delta_joint_pos.squeeze(-1)
|
| 460 |
+
|
| 461 |
+
def _clamp_arm_joint_pos(self, robot, joint_pos: torch.Tensor) -> torch.Tensor:
|
| 462 |
+
joint_pos_limits = getattr(robot.data, "soft_joint_pos_limits", None)
|
| 463 |
+
if joint_pos_limits is None:
|
| 464 |
+
joint_pos_limits = getattr(robot.data, "joint_pos_limits", None)
|
| 465 |
+
if joint_pos_limits is None:
|
| 466 |
+
return joint_pos
|
| 467 |
+
arm_joint_pos_limits = joint_pos_limits[:, self._arm_joint_ids, :]
|
| 468 |
+
return torch.clamp(joint_pos, arm_joint_pos_limits[..., 0], arm_joint_pos_limits[..., 1])
|
| 469 |
+
|
| 470 |
+
def _gripper_down_quat_w(
|
| 471 |
+
self,
|
| 472 |
+
obj_quat_w: torch.Tensor,
|
| 473 |
+
obj_name: str,
|
| 474 |
+
num_envs: int,
|
| 475 |
+
device: torch.device,
|
| 476 |
+
dtype: torch.dtype,
|
| 477 |
+
yaw_offset: float = 0.0,
|
| 478 |
+
) -> torch.Tensor:
|
| 479 |
+
if self._gripper_down_yaw_w is None or self._gripper_down_yaw_w.shape[0] != num_envs:
|
| 480 |
+
base_yaw = _yaw_from_quat_wxyz(obj_quat_w).to(device=device, dtype=dtype) # gripper aligned with the orientation of the object
|
| 481 |
+
self._gripper_down_yaw_offset_w = torch.empty(num_envs, device=device, dtype=dtype).uniform_(
|
| 482 |
+
_GRIPPER_DOWN_YAW_OFFSET_RANGE[0],
|
| 483 |
+
_GRIPPER_DOWN_YAW_OFFSET_RANGE[1],
|
| 484 |
+
)
|
| 485 |
+
if obj_name == _KNIFE_NAME:
|
| 486 |
+
base_yaw = torch.zeros_like(base_yaw) # fixed direction
|
| 487 |
+
self._gripper_down_yaw_w = (
|
| 488 |
+
base_yaw + yaw_offset + self._gripper_down_yaw_offset_w
|
| 489 |
+
).clone()
|
| 490 |
+
|
| 491 |
+
roll = torch.full((num_envs,), _GRIPPER_DOWN_ROLL_W, device=device, dtype=dtype)
|
| 492 |
+
pitch = torch.full((num_envs,), _GRIPPER_DOWN_PITCH_W, device=device, dtype=dtype)
|
| 493 |
+
yaw = self._gripper_down_yaw_w.to(device=device, dtype=dtype)
|
| 494 |
+
return quat_from_euler_xyz(roll, pitch, yaw)
|
| 495 |
+
|
| 496 |
+
# ------------------------------------------------------------------
|
| 497 |
+
# Properties
|
| 498 |
+
# ------------------------------------------------------------------
|
| 499 |
+
|
| 500 |
+
@property
|
| 501 |
+
def is_episode_done(self) -> bool:
|
| 502 |
+
return self._episode_done
|
| 503 |
+
|
| 504 |
+
@property
|
| 505 |
+
def step_count(self) -> int:
|
| 506 |
+
return self._step_count
|
| 507 |
+
|
| 508 |
+
@property
|
| 509 |
+
def task_object_names(self) -> tuple[str, ...]:
|
| 510 |
+
return (_FORK_NAME, _KNIFE_NAME, _PLATE_NAME)
|
exp_lift_fix/datagen.log
ADDED
|
@@ -0,0 +1,471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== Running exp_lift_fix ===
|
| 2 |
+
Mon May 25 05:12:22 PM PST 2026
|
| 3 |
+
|
| 4 |
+
==========
|
| 5 |
+
== CUDA ==
|
| 6 |
+
==========
|
| 7 |
+
|
| 8 |
+
CUDA Version 12.8.1
|
| 9 |
+
|
| 10 |
+
Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 11 |
+
|
| 12 |
+
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
|
| 13 |
+
By pulling and using the container, you accept the terms and conditions of this license:
|
| 14 |
+
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
|
| 15 |
+
|
| 16 |
+
A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.
|
| 17 |
+
|
| 18 |
+
debconf: delaying package configuration, since apt-utils is not installed
|
| 19 |
+
[INFO][AppLauncher]: Using device: cuda
|
| 20 |
+
[INFO][AppLauncher]: Loading experience file: /workspace/aicapstone/dependencies/IsaacLab/apps/isaaclab.python.headless.rendering.kit
|
| 21 |
+
[Info] [carb] Logging to file: /usr/local/lib/python3.11/dist-packages/isaacsim/kit/logs/Kit/Isaac-Sim/5.1/kit_20260525_091347.log
|
| 22 |
+
2026-05-25T09:13:47Z [301ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
|
| 23 |
+
2026-05-25T09:13:47Z [301ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.5]) (impl: carb.windowing-glfw.plugin)
|
| 24 |
+
2026-05-25T09:13:47Z [311ms] [Warning] [omni.platforminfo.plugin] failed to open the default display. Can't verify X Server version.
|
| 25 |
+
|
| 26 |
+
|---------------------------------------------------------------------------------------------|
|
| 27 |
+
| Driver Version: 580.159.03 | Graphics API: Vulkan
|
| 28 |
+
|=============================================================================================|
|
| 29 |
+
| GPU | Name | Active | LDA | GPU Memory | Vendor-ID | LUID |
|
| 30 |
+
| | | | | | Device-ID | UUID |
|
| 31 |
+
| | | | | | Bus-ID | |
|
| 32 |
+
|---------------------------------------------------------------------------------------------|
|
| 33 |
+
| 0 | NVIDIA GeForce RTX 3060 | Yes: 0 | | 12534 MB | 10de | 0 |
|
| 34 |
+
| | | | | | 2504 | 032c9579.. |
|
| 35 |
+
| | | | | | 1 | |
|
| 36 |
+
|=============================================================================================|
|
| 37 |
+
| OS: 22.04.5 LTS (Jammy Jellyfish) ubuntu, Version: 22.04.5, Kernel: 6.17.0-29-generic
|
| 38 |
+
| Processor: Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz
|
| 39 |
+
| Cores: 6 | Logical Cores: 12
|
| 40 |
+
|---------------------------------------------------------------------------------------------|
|
| 41 |
+
| Total Memory (MB): 31934 | Free Memory: 29442
|
| 42 |
+
| Total Page/Swap (MB): 4095 | Free Page/Swap: 0
|
| 43 |
+
|---------------------------------------------------------------------------------------------|
|
| 44 |
+
2026-05-25T09:13:48Z [1,295ms] [Warning] [gpu.foundation.plugin] CPU performance profile is set to powersave. This profile sets the CPU to the lowest frequency reducing performance.
|
| 45 |
+
2026-05-25T09:13:49Z [2,194ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
|
| 46 |
+
2026-05-25T09:13:49Z [2,194ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.5]) (impl: carb.windowing-glfw.plugin)
|
| 47 |
+
2026-05-25T09:13:49Z [2,324ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
|
| 48 |
+
2026-05-25T09:13:49Z [2,324ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.5]) (impl: carb.windowing-glfw.plugin)
|
| 49 |
+
2026-05-25T09:13:49Z [2,333ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
|
| 50 |
+
2026-05-25T09:13:49Z [2,333ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.5]) (impl: carb.windowing-glfw.plugin)
|
| 51 |
+
2026-05-25T09:13:49Z [2,340ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
|
| 52 |
+
2026-05-25T09:13:49Z [2,340ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.5]) (impl: carb.windowing-glfw.plugin)
|
| 53 |
+
2026-05-25T09:13:49Z [2,343ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
|
| 54 |
+
2026-05-25T09:13:49Z [2,343ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.5]) (impl: carb.windowing-glfw.plugin)
|
| 55 |
+
2026-05-25T09:13:49Z [2,344ms] [Warning] [carb.windowing-glfw.plugin] GLFW initialization failed.
|
| 56 |
+
2026-05-25T09:13:49Z [2,344ms] [Warning] [carb] Failed to startup plugin carb.windowing-glfw.plugin (interfaces: [carb::windowing::IGLContext v1.0],[carb::windowing::IWindowing v1.5]) (impl: carb.windowing-glfw.plugin)
|
| 57 |
+
2026-05-25T09:13:49Z [2,542ms] [Warning] [omni.log] Source: omni.hydra was already registered.
|
| 58 |
+
2026-05-25T09:13:50Z [2,891ms] [Warning] [carb] Acquiring non optional plugin interface which is not listed as dependency: [omni::physx::IPhysxBenchmarks v1.0] (plugin: <default plugin>), by client: omni.physics.physx.plugin. Add it to CARB_PLUGIN_IMPL_DEPS() macro of a client.
|
| 59 |
+
2026-05-25T09:13:50Z [2,902ms] [Warning] [omni.isaac.dynamic_control] omni.isaac.dynamic_control is deprecated as of Isaac Sim 4.5. No action is needed from end-users.
|
| 60 |
+
2026-05-25T09:13:52Z [5,449ms] [Warning] [pxr.Semantics] pxr.Semantics is deprecated - please use Semantics instead
|
| 61 |
+
2026-05-25T09:13:52Z [5,627ms] [Warning] [omni.graph.core.plugin] Found duplicate of category 'Replicator' - was 'Annotators', adding 'Fabric Reader'
|
| 62 |
+
2026-05-25T09:13:52Z [5,627ms] [Warning] [omni.graph.core.plugin] Category 'Replicator' not accepted on node type 'omni.replicator.core.FabricReader' in extension 'omni.replicator.core'
|
| 63 |
+
2026-05-25T09:13:52Z [5,628ms] [Warning] [omni.replicator.core.scripts.extension] No material configuration file, adding configuration to material settings directly.
|
| 64 |
+
2026-05-25T09:14:44Z [57,494ms] [Warning] [omni.fabric.plugin] Warning: attribute viewportHandle not found for bucket id 7
|
| 65 |
+
|
| 66 |
+
[INFO]: Parsing configuration from: simulator.tasks.cutlery_arrangement.cutlery_arrangement_env_cfg:CutleryArrangementEnvCfg
|
| 67 |
+
Loaded 10 replay episodes from data/umi/test_fsm_v3/object_poses_10_shared.json
|
| 68 |
+
|
| 69 |
+
[36m======================================================================================[0m
|
| 70 |
+
[36m[1m[INFO][IsaacLab]: Logging to file: /tmp/isaaclab/logs/isaaclab_2026-05-25_09-16-28.log[0m
|
| 71 |
+
[36m======================================================================================[0m
|
| 72 |
+
|
| 73 |
+
[33m09:16:29 [simulation_context.py] WARNING: The `enable_external_forces_every_iteration` parameter in the PhysxCfg is set to False. If you are experiencing noisy velocities, consider enabling this flag. You may need to slightly increase the number of velocity iterations (setting it to 1 or 2 rather than 0), together with this flag, to improve the accuracy of velocity updates.[0m
|
| 74 |
+
[INFO]: Base environment:
|
| 75 |
+
Environment device : cuda:0
|
| 76 |
+
Environment seed : 1779700588
|
| 77 |
+
Physics step-size : 0.016666666666666666
|
| 78 |
+
Rendering step-size : 0.016666666666666666
|
| 79 |
+
Environment step-size : 0.016666666666666666
|
| 80 |
+
[33m09:16:30 [prims.py] WARNING: Could not perform 'modify_mass_properties' on any prims under: '/World/envs/env_0/Scene/plate'. This might be because of the following reasons:
|
| 81 |
+
(1) The desired attribute does not exist on any of the prims.
|
| 82 |
+
(2) The desired attribute exists on an instanced prim.
|
| 83 |
+
Discovered list of instanced prim paths: [][0m
|
| 84 |
+
[33m09:16:30 [prims.py] WARNING: Could not perform 'modify_mass_properties' on any prims under: '/World/envs/env_0/Scene/knife'. This might be because of the following reasons:
|
| 85 |
+
(1) The desired attribute does not exist on any of the prims.
|
| 86 |
+
(2) The desired attribute exists on an instanced prim.
|
| 87 |
+
Discovered list of instanced prim paths: [][0m
|
| 88 |
+
[33m09:16:30 [prims.py] WARNING: Could not perform 'modify_mass_properties' on any prims under: '/World/envs/env_0/Scene/fork'. This might be because of the following reasons:
|
| 89 |
+
(1) The desired attribute does not exist on any of the prims.
|
| 90 |
+
(2) The desired attribute exists on an instanced prim.
|
| 91 |
+
Discovered list of instanced prim paths: [][0m
|
| 92 |
+
[INFO]: Time taken for scene creation : 1.563058 seconds
|
| 93 |
+
[INFO]: Scene manager: <class InteractiveScene>
|
| 94 |
+
Number of environments: 1
|
| 95 |
+
Environment spacing : 8.0
|
| 96 |
+
Source prim name : /World/envs/env_0
|
| 97 |
+
Global prim paths : []
|
| 98 |
+
Replicate physics : True
|
| 99 |
+
[INFO]: Starting the simulation. This may take a few seconds. Please wait...
|
| 100 |
+
2026-05-25T09:16:37Z [169,886ms] [Warning] [rtx.postprocessing.plugin] DLSS increasing input dimensions: Render resolution of (371, 278) is below minimal input resolution of 300.
|
| 101 |
+
[INFO]: Time taken for simulation start : 6.600648 seconds
|
| 102 |
+
[INFO] Command Manager: <CommandManager> contains 0 active terms.
|
| 103 |
+
+------------------------+
|
| 104 |
+
| Active Command Terms |
|
| 105 |
+
+--------+-------+-------+
|
| 106 |
+
| Index | Name | Type |
|
| 107 |
+
+--------+-------+-------+
|
| 108 |
+
+--------+-------+-------+
|
| 109 |
+
|
| 110 |
+
[INFO] Event Manager: <EventManager> contains 1 active terms.
|
| 111 |
+
+---------------------------------+
|
| 112 |
+
| Active Event Terms in Mode: 'reset' |
|
| 113 |
+
+------------+--------------------+
|
| 114 |
+
| Index | Name |
|
| 115 |
+
+------------+--------------------+
|
| 116 |
+
| 0 | reset_all |
|
| 117 |
+
+------------+--------------------+
|
| 118 |
+
|
| 119 |
+
[INFO] Recorder Manager: <RecorderManager> contains 5 active terms.
|
| 120 |
+
+--------------------------------------------------+
|
| 121 |
+
| Active Recorder Terms |
|
| 122 |
+
+-------+------------------------------------------+
|
| 123 |
+
| Index | Name |
|
| 124 |
+
+-------+------------------------------------------+
|
| 125 |
+
| 0 | record_initial_state |
|
| 126 |
+
| 1 | record_post_step_states |
|
| 127 |
+
| 2 | record_pre_step_actions |
|
| 128 |
+
| 3 | record_pre_step_flat_policy_observations |
|
| 129 |
+
| 4 | record_post_step_processed_actions |
|
| 130 |
+
+-------+------------------------------------------+
|
| 131 |
+
|
| 132 |
+
[INFO] Action Manager: <ActionManager> contains 2 active terms.
|
| 133 |
+
+------------------------------------+
|
| 134 |
+
| Active Action Terms (shape: 8) |
|
| 135 |
+
+-------+----------------+-----------+
|
| 136 |
+
| Index | Name | Dimension |
|
| 137 |
+
+-------+----------------+-----------+
|
| 138 |
+
| 0 | arm_action | 7 |
|
| 139 |
+
| 1 | gripper_action | 1 |
|
| 140 |
+
+-------+----------------+-----------+
|
| 141 |
+
|
| 142 |
+
[INFO] Observation Manager: <ObservationManager> contains 1 groups.
|
| 143 |
+
+-----------------------------------------------+
|
| 144 |
+
| Active Observation Terms in Group: 'policy' |
|
| 145 |
+
+--------+--------------------+-----------------+
|
| 146 |
+
| Index | Name | Shape |
|
| 147 |
+
+--------+--------------------+-----------------+
|
| 148 |
+
| 0 | joint_pos | (9,) |
|
| 149 |
+
| 1 | joint_vel | (9,) |
|
| 150 |
+
| 2 | joint_pos_rel | (9,) |
|
| 151 |
+
| 3 | joint_vel_rel | (9,) |
|
| 152 |
+
| 4 | actions | (8,) |
|
| 153 |
+
| 5 | wrist | (480, 640, 3) |
|
| 154 |
+
| 6 | front | (480, 640, 3) |
|
| 155 |
+
| 7 | joint_pos_target | (9,) |
|
| 156 |
+
+--------+--------------------+-----------------+
|
| 157 |
+
|
| 158 |
+
[INFO] Termination Manager: <TerminationManager> contains 1 active terms.
|
| 159 |
+
+----------------------------+
|
| 160 |
+
| Active Termination Terms |
|
| 161 |
+
+-------+---------+----------+
|
| 162 |
+
| Index | Name | Time Out |
|
| 163 |
+
+-------+---------+----------+
|
| 164 |
+
| 0 | success | False |
|
| 165 |
+
+-------+---------+----------+
|
| 166 |
+
|
| 167 |
+
[INFO] Reward Manager: <RewardManager> contains 0 active terms.
|
| 168 |
+
+-----------------------+
|
| 169 |
+
| Active Reward Terms |
|
| 170 |
+
+-------+------+--------+
|
| 171 |
+
| Index | Name | Weight |
|
| 172 |
+
+-------+------+--------+
|
| 173 |
+
+-------+------+--------+
|
| 174 |
+
|
| 175 |
+
[INFO] Curriculum Manager: <CurriculumManager> contains 0 active terms.
|
| 176 |
+
+----------------------+
|
| 177 |
+
| Active Curriculum Terms |
|
| 178 |
+
+-----------+----------+
|
| 179 |
+
| Index | Name |
|
| 180 |
+
+-----------+----------+
|
| 181 |
+
+-----------+----------+
|
| 182 |
+
|
| 183 |
+
[INFO]: Completed setting up the environment...
|
| 184 |
+
[pose] fork: pos=(0.599, -0.172, 0.050) yaw= -0.0°
|
| 185 |
+
[pose] knife: pos=(0.503, -0.261, 0.050) yaw=+180.0°
|
| 186 |
+
Start Recording!!!
|
| 187 |
+
2026-05-25T09:16:41Z [174,378ms] [Warning] [carb] Client gpu.foundation.plugin has acquired [gpu::unstable::IMemoryBudgetManagerFactory v0.1] 100 times. Consider accessing this interface with carb::getCachedInterface() (Performance warning)
|
| 188 |
+
Episode success!
|
| 189 |
+
Stop Recording!!!
|
| 190 |
+
|
| 191 |
+
Svt[info]: -------------------------------------------
|
| 192 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 193 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 194 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 195 |
+
Svt[info]: -------------------------------------------
|
| 196 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 197 |
+
Svt[info]: Level of Parallelism: 5
|
| 198 |
+
Svt[info]: Number of PPCS 76
|
| 199 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 200 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 201 |
+
Svt[info]: -------------------------------------------
|
| 202 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 203 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 204 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 205 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 206 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 207 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 208 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 209 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 210 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 211 |
+
Svt[warn]: Failed to set thread priority: Invalid argument
|
| 212 |
+
Svt[info]: -------------------------------------------
|
| 213 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 214 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 215 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 216 |
+
Svt[info]: -------------------------------------------
|
| 217 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 218 |
+
Svt[info]: Level of Parallelism: 5
|
| 219 |
+
Svt[info]: Number of PPCS 76
|
| 220 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 221 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 222 |
+
Svt[info]: -------------------------------------------
|
| 223 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 224 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 225 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 226 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 227 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 228 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 229 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 230 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 231 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 232 |
+
[pose] fork: pos=(0.348, -0.264, 0.050) yaw= -0.0°
|
| 233 |
+
[pose] knife: pos=(0.475, -0.230, 0.050) yaw=+180.0°
|
| 234 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_01_success.mp4 (235 frames)
|
| 235 |
+
[92m[Data Usage]1/10 success.[0m
|
| 236 |
+
Start Recording!!!
|
| 237 |
+
Episode success!
|
| 238 |
+
Stop Recording!!!
|
| 239 |
+
|
| 240 |
+
Svt[info]: -------------------------------------------
|
| 241 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 242 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 243 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 244 |
+
Svt[info]: -------------------------------------------
|
| 245 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 246 |
+
Svt[info]: Level of Parallelism: 5
|
| 247 |
+
Svt[info]: Number of PPCS 76
|
| 248 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 249 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 250 |
+
Svt[info]: -------------------------------------------
|
| 251 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 252 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 253 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 254 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 255 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 256 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 257 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 258 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 259 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 260 |
+
[mp4 @ 0x74cbfc4cdd40] Starting second pass: moving the moov atom to the beginning of the file
|
| 261 |
+
Svt[info]: -------------------------------------------
|
| 262 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 263 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 264 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 265 |
+
Svt[info]: -------------------------------------------
|
| 266 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 267 |
+
Svt[info]: Level of Parallelism: 5
|
| 268 |
+
Svt[info]: Number of PPCS 76
|
| 269 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 270 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 271 |
+
Svt[info]: -------------------------------------------
|
| 272 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 273 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 274 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 275 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 276 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 277 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 278 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 279 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 280 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 281 |
+
[mp4 @ 0x74cbfcb8dd40] Starting second pass: moving the moov atom to the beginning of the file
|
| 282 |
+
[pose] fork: pos=(0.408, -0.010, 0.050) yaw= -0.0°
|
| 283 |
+
[pose] knife: pos=(0.626, -0.034, 0.050) yaw=+180.0°
|
| 284 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_02_success.mp4 (235 frames)
|
| 285 |
+
[92m[Data Usage]2/10 success.[0m
|
| 286 |
+
Start Recording!!!
|
| 287 |
+
Episode success!
|
| 288 |
+
Stop Recording!!!
|
| 289 |
+
|
| 290 |
+
Svt[info]: -------------------------------------------
|
| 291 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 292 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 293 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 294 |
+
Svt[info]: -------------------------------------------
|
| 295 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 296 |
+
Svt[info]: Level of Parallelism: 5
|
| 297 |
+
Svt[info]: Number of PPCS 76
|
| 298 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 299 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 300 |
+
Svt[info]: -------------------------------------------
|
| 301 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 302 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 303 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 304 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 305 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 306 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 307 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 308 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 309 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 310 |
+
[mp4 @ 0x74cbfc3dad40] Starting second pass: moving the moov atom to the beginning of the file
|
| 311 |
+
Svt[info]: -------------------------------------------
|
| 312 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 313 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 314 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 315 |
+
Svt[info]: -------------------------------------------
|
| 316 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 317 |
+
Svt[info]: Level of Parallelism: 5
|
| 318 |
+
Svt[info]: Number of PPCS 76
|
| 319 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 320 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 321 |
+
Svt[info]: -------------------------------------------
|
| 322 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 323 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 324 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 325 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 326 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 327 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 328 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 329 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 330 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 331 |
+
[mp4 @ 0x74cbfd2d9d40] Starting second pass: moving the moov atom to the beginning of the file
|
| 332 |
+
[pose] knife: pos=(0.136, -0.188, 0.050) yaw=+180.0°
|
| 333 |
+
[pose] fork: pos=(0.310, -0.261, 0.050) yaw= -0.0°
|
| 334 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_03_success.mp4 (235 frames)
|
| 335 |
+
[92m[Data Usage]3/10 success.[0m
|
| 336 |
+
Start Recording!!!
|
| 337 |
+
Episode success!
|
| 338 |
+
Stop Recording!!!
|
| 339 |
+
|
| 340 |
+
Svt[info]: -------------------------------------------
|
| 341 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 342 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 343 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 344 |
+
Svt[info]: -------------------------------------------
|
| 345 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 346 |
+
Svt[info]: Level of Parallelism: 5
|
| 347 |
+
Svt[info]: Number of PPCS 76
|
| 348 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 349 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 350 |
+
Svt[info]: -------------------------------------------
|
| 351 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 352 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 353 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 354 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 355 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 356 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 357 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 358 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 359 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 360 |
+
[mp4 @ 0x74cbf3fffd40] Starting second pass: moving the moov atom to the beginning of the file
|
| 361 |
+
Svt[info]: -------------------------------------------
|
| 362 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 363 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 364 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 365 |
+
Svt[info]: -------------------------------------------
|
| 366 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 367 |
+
Svt[info]: Level of Parallelism: 5
|
| 368 |
+
Svt[info]: Number of PPCS 76
|
| 369 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 370 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 371 |
+
Svt[info]: -------------------------------------------
|
| 372 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 373 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 374 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 375 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 376 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 377 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 378 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 379 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 380 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 381 |
+
[mp4 @ 0x74cbfc103d40] Starting second pass: moving the moov atom to the beginning of the file
|
| 382 |
+
[pose] knife: pos=(0.138, -0.101, 0.050) yaw=+180.0°
|
| 383 |
+
[pose] fork: pos=(0.273, -0.355, 0.050) yaw= -0.0°
|
| 384 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_04_success.mp4 (235 frames)
|
| 385 |
+
[92m[Data Usage]4/10 success.[0m
|
| 386 |
+
Start Recording!!!
|
| 387 |
+
Episode success!
|
| 388 |
+
Stop Recording!!!
|
| 389 |
+
|
| 390 |
+
Svt[info]: -------------------------------------------
|
| 391 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 392 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 393 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 394 |
+
Svt[info]: -------------------------------------------
|
| 395 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 396 |
+
Svt[info]: Level of Parallelism: 5
|
| 397 |
+
Svt[info]: Number of PPCS 76
|
| 398 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 399 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 400 |
+
Svt[info]: -------------------------------------------
|
| 401 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 402 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 403 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 404 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 405 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 406 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 407 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 408 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 409 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 410 |
+
[mp4 @ 0x74cbf3fffd40] Starting second pass: moving the moov atom to the beginning of the file
|
| 411 |
+
Svt[info]: -------------------------------------------
|
| 412 |
+
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v3.0.0
|
| 413 |
+
Svt[info]: SVT [build] : GCC 14.2.1 20250110 (Red Hat 14.2.1-7) 64 bit
|
| 414 |
+
Svt[info]: LIB Build date: Jul 3 2025 03:14:07
|
| 415 |
+
Svt[info]: -------------------------------------------
|
| 416 |
+
Svt[warn]: Preset M12 is mapped to M10.
|
| 417 |
+
Svt[info]: Level of Parallelism: 5
|
| 418 |
+
Svt[info]: Number of PPCS 76
|
| 419 |
+
Svt[info]: [asm level on system : up to avx2]
|
| 420 |
+
Svt[info]: [asm level selected : up to avx2]
|
| 421 |
+
Svt[info]: -------------------------------------------
|
| 422 |
+
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
|
| 423 |
+
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 640 / 480 / 30 / 1
|
| 424 |
+
Svt[info]: SVT [config]: bit-depth / color format : 8 / YUV420
|
| 425 |
+
Svt[info]: SVT [config]: preset / tune / pred struct : 10 / PSNR / random access
|
| 426 |
+
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 2 / 16 / key frame
|
| 427 |
+
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 30
|
| 428 |
+
Svt[info]: SVT [config]: AQ mode / variance boost : 2 / 0
|
| 429 |
+
Svt[info]: SVT [config]: sharpness / luminance-based QP bias : 0 / 0
|
| 430 |
+
Svt[info]: Svt[info]: -------------------------------------------
|
| 431 |
+
[mp4 @ 0x74cbf3fffd40] Starting second pass: moving the moov atom to the beginning of the file
|
| 432 |
+
[pose] knife: pos=(0.113, -0.284, 0.050) yaw=+180.0°
|
| 433 |
+
[pose] fork: pos=(0.137, -0.081, 0.050) yaw= -0.0°
|
| 434 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_05_success.mp4 (235 frames)
|
| 435 |
+
[92m[Data Usage]5/10 success.[0m
|
| 436 |
+
Start Recording!!!
|
| 437 |
+
Episode failed!
|
| 438 |
+
Stop Recording!!!
|
| 439 |
+
[pose] fork: pos=(0.171, -0.498, 0.050) yaw= -0.0°
|
| 440 |
+
[pose] knife: pos=(0.452, -0.561, 0.050) yaw=+180.0°
|
| 441 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_06_failed.mp4 (235 frames)
|
| 442 |
+
[91m[Data Usage]6/10 fail.[0m
|
| 443 |
+
Start Recording!!!
|
| 444 |
+
Episode failed!
|
| 445 |
+
Stop Recording!!!
|
| 446 |
+
[pose] fork: pos=(0.385, -0.486, 0.050) yaw= -0.0°
|
| 447 |
+
[pose] knife: pos=(0.314, -0.241, 0.050) yaw=+180.0°
|
| 448 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_07_failed.mp4 (235 frames)
|
| 449 |
+
[91m[Data Usage]6/10 fail.[0m
|
| 450 |
+
Start Recording!!!
|
| 451 |
+
Episode failed!
|
| 452 |
+
Stop Recording!!!
|
| 453 |
+
[pose] fork: pos=(0.133, -0.028, 0.050) yaw= -0.0°
|
| 454 |
+
[pose] knife: pos=(0.130, -0.237, 0.050) yaw=+180.0°
|
| 455 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_08_failed.mp4 (235 frames)
|
| 456 |
+
[91m[Data Usage]6/10 fail.[0m
|
| 457 |
+
Start Recording!!!
|
| 458 |
+
Episode failed!
|
| 459 |
+
Stop Recording!!!
|
| 460 |
+
[pose] knife: pos=(0.350, -0.499, 0.050) yaw=+180.0°
|
| 461 |
+
[pose] fork: pos=(0.383, -0.364, 0.050) yaw= -0.0°
|
| 462 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_09_failed.mp4 (235 frames)
|
| 463 |
+
[91m[Data Usage]6/10 fail.[0m
|
| 464 |
+
Start Recording!!!
|
| 465 |
+
Episode failed!
|
| 466 |
+
Stop Recording!!!
|
| 467 |
+
Replayed all 10 episodes. Exiting the app.
|
| 468 |
+
[video] saved /workspace/aicapstone/fsm_experiments/exp_lift_fix/videos/ep_10_failed.mp4 (235 frames)
|
| 469 |
+
[91m[Data Usage]6/10 fail.[0m
|
| 470 |
+
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
|
| 471 |
+
warnings.warn('resource_tracker: There appear to be %d '
|
exp_lift_fix/videos/ep_01_success.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00b3e0ded15b2df78e7d8b0b0310b1aa1cc35fc060fb0219be78ca06d07fb60d
|
| 3 |
+
size 2334590
|
exp_lift_fix/videos/ep_02_success.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:299f862f8d9298b962ec08fccf0ba1489de1be456172c042a3ef4763f8b3c388
|
| 3 |
+
size 2157150
|
exp_lift_fix/videos/ep_03_success.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:306f5b3111abe88fb684eeec6cff7cc805faa3172289cfd10247d608e30b3d11
|
| 3 |
+
size 2149904
|
exp_lift_fix/videos/ep_04_success.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb9ba74305297ac7ff8041e5f8e8a1b704c3af1e53eea51dc91de25f3fbbda0f
|
| 3 |
+
size 2168196
|
exp_lift_fix/videos/ep_05_success.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7699e366f5a3e73628d9d4e4f548cde1174deef8bdabd363f76b3fcf31df7cf
|
| 3 |
+
size 2098277
|
exp_lift_fix/videos/ep_06_failed.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25d1bf0c099f7c92bc5e6be6a3045a25b056603121df4bf6e980eeb3ea750c65
|
| 3 |
+
size 2274425
|
exp_lift_fix/videos/ep_07_failed.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0db893c0033bafcbfb59f5d4d894b5e853cebf57afbe1075d14af038a74541fb
|
| 3 |
+
size 1808590
|
exp_lift_fix/videos/ep_08_failed.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4540645762583aba53b266989d65fcdaf8c2f57c022c9402d75389ed98d86e60
|
| 3 |
+
size 2066312
|
exp_lift_fix/videos/ep_09_failed.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b5826de8898e60da0ded18edd3d62e77034a33b489143304939c07e38fc5249
|
| 3 |
+
size 2279686
|
exp_lift_fix/videos/ep_10_failed.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f86cb1497b021df4768ba98dd8d3534bfe5f4bb354a5f6b449114043b2c7be5
|
| 3 |
+
size 1824401
|