Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Sync from huggingface/lerobot-dataset-visualizer via hub-sync
Browse filesFiles changed (2)
44 unmodified lines4546474849505144 unmodified lines"lerobot/svla_so101_pickplace","lerobot/high_quality_folding","lerobot/aloha_static_cups_open","imstevenpmwork/thanos_picking_power_gem",];function HomeInner() {44 unmodified lines4546474849505144 unmodified lines"lerobot/svla_so101_pickplace","lerobot/high_quality_folding","lerobot/aloha_static_cups_open","unitreerobotics/G1_WBT_Inspire_Push_Wheelchair",];function HomeInner() {
168 unmodified lines16917017117217317417556 unmodified lines23223323423523623719 unmodified lines257258259260261262168 unmodified linesfor (const key of keys) {if (key === "timestamp") continue;const parts = key.split(SERIES_DELIM);const prefix = parts.length > 1 ? parts[0].trim() : "other";if (!groups[prefix]) groups[prefix] = [];groups[prefix].push(key);}56 unmodified lines(k.split(SERIES_DELIM).pop()?.trim() ?? k).toLowerCase(),);// Build reverse lookup: URDF joint name → column key (for G1 SDK-style columns)const g1Reverse = new Map<string, string>();for (let i = 0; i < suffixes.length; i++) {19 unmodified linescontinue;}// OpenArm: openarm_(left|right)_joint(\d+) → (left|right)_joint_(\d+) or (left|right)_joint(\d+),// whole words so joint1 doesn't take joint10const armMatch = lower.match(/^openarm_(left|right)_joint(\d+)$/);168 unmodified lines16917017117217317417517617717817956 unmodified lines23623723823924024124224324424524624724824919 unmodified lines269270271272273274275276277278279280281168 unmodified linesfor (const key of keys) {if (key === "timestamp") continue;const parts = key.split(SERIES_DELIM);const feature = parts.length > 1 ? parts[0].trim() : "other";/// Features split under observation.state or action (Unitree's left_arm, lower_body...) are one/// source, so a robot's joints map from all of them.const prefix =feature.match(/^(observation\.state|action)\./)?.[1] ?? feature;if (!groups[prefix]) groups[prefix] = [];groups[prefix].push(key);}56 unmodified lines(k.split(SERIES_DELIM).pop()?.trim() ?? k).toLowerCase(),);/// A side named by the feature rather than the column (`left_arm | shoulder_pitch`) joins the name.const sided = columnKeys.map((k, i) => {const side = k.split(SERIES_DELIM)[0].match(/\.(left|right)_[^.]*$/)?.[1];return side && !suffixes[i].startsWith(`${side}_`)? `${side}_${suffixes[i]}`: suffixes[i];});// Build reverse lookup: URDF joint name → column key (for G1 SDK-style columns)const g1Reverse = new Map<string, string>();for (let i = 0; i < suffixes.length; i++) {19 unmodified linescontinue;}// Without the `_joint` suffix: left_hip_pitch_joint → `left_hip_pitch`, or `hip_pitch` in left_legconst sidedIdx = sided.indexOf(lower.replace(/_joint$/, ""));if (sidedIdx >= 0) {mapping[jointName] = columnKeys[sidedIdx];continue;}// OpenArm: openarm_(left|right)_joint(\d+) → (left|right)_joint_(\d+) or (left|right)_joint(\d+),// whole words so joint1 doesn't take joint10const armMatch = lower.match(/^openarm_(left|right)_joint(\d+)$/);
src/app/page.tsx+1-1
src/components/urdf-viewer.tsx+20-1