Add v7 simulation assets: blender/cup
Browse files- .gitattributes +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/desk_scene.blend +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/measured_cups.blend +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/textures/03dcf50ead7d9a3352e3307fc0f7b82189835779ebca06cfa54502e2192cda2f.png +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/textures/667e77d41c6f18cd778b32dee6a62a9b06580a67ef653a8813bc95bcf4ffd2fe.hdr +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/textures/86a98e6088d7fee335a8ad4ab78237556e1b22b68618f36337b49f3c2c6cb56d.png +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/camera.py +40 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/environment.py +170 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/render_config.paths_relative_to_cup.json +1028 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/renderer.py +277 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/sample_episode_000000/actions_30fps.npz +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/sample_episode_000000/geometry.npz +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/sample_episode_000000/poses.npz +3 -0
- 150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/sample_episode_000000/source.json +1042 -0
.gitattributes
CHANGED
|
@@ -119,3 +119,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 119 |
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/assets/eab30e56b62eb82c185fd601f73d28b3c948975ea427b250a5ce0ff58b2aeaab.stl filter=lfs diff=lfs merge=lfs -text
|
| 120 |
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/assets/f0a1e9860d36598beec63562a27f88733216cc7d8db9796274e381b5d90c362c.stl filter=lfs diff=lfs merge=lfs -text
|
| 121 |
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/assets/f5ce4a1ca6343fa73aac37e9ab1581224eae72b13e906592e253f5b9ff71b7e7.stl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/assets/eab30e56b62eb82c185fd601f73d28b3c948975ea427b250a5ce0ff58b2aeaab.stl filter=lfs diff=lfs merge=lfs -text
|
| 120 |
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/assets/f0a1e9860d36598beec63562a27f88733216cc7d8db9796274e381b5d90c362c.stl filter=lfs diff=lfs merge=lfs -text
|
| 121 |
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/assets/f5ce4a1ca6343fa73aac37e9ab1581224eae72b13e906592e253f5b9ff71b7e7.stl filter=lfs diff=lfs merge=lfs -text
|
| 122 |
+
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/desk_scene.blend filter=lfs diff=lfs merge=lfs -text
|
| 123 |
+
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/measured_cups.blend filter=lfs diff=lfs merge=lfs -text
|
| 124 |
+
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/textures/667e77d41c6f18cd778b32dee6a62a9b06580a67ef653a8813bc95bcf4ffd2fe.hdr filter=lfs diff=lfs merge=lfs -text
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/desk_scene.blend
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee8efa4bc54f9db3b78d7196b45ae37c3d59d38a7a23ef45adc254f39125b1e8
|
| 3 |
+
size 199649
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/measured_cups.blend
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1350ea0a701d335e4a10d3a4f62544a3c11892ff091d36531b50f6e504453df
|
| 3 |
+
size 139918
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/textures/03dcf50ead7d9a3352e3307fc0f7b82189835779ebca06cfa54502e2192cda2f.png
ADDED
|
Git LFS Details
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/textures/667e77d41c6f18cd778b32dee6a62a9b06580a67ef653a8813bc95bcf4ffd2fe.hdr
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:667e77d41c6f18cd778b32dee6a62a9b06580a67ef653a8813bc95bcf4ffd2fe
|
| 3 |
+
size 6465492
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/assets/textures/86a98e6088d7fee335a8ad4ab78237556e1b22b68618f36337b49f3c2c6cb56d.png
ADDED
|
Git LFS Details
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/camera.py
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Fixed camera-mount adjustments composed with native per-frame kinematics."""
|
| 2 |
+
import math
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
CAMERAS=('head_rgbd','left_wrist_rgbd','right_wrist_rgbd')
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
def transform(position,rotation):
|
| 9 |
+
out=np.eye(4);out[:3,:3]=np.asarray(rotation,float).reshape(3,3);out[:3,3]=np.asarray(position,float)
|
| 10 |
+
return out
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
def quaternion_rotation(wxyz):
|
| 14 |
+
q=np.asarray(wxyz,float);assert q.shape==(4,) and np.isfinite(q).all()
|
| 15 |
+
q=q/np.linalg.norm(q);w,x,y,z=q
|
| 16 |
+
return np.array([[1-2*(y*y+z*z),2*(x*y-z*w),2*(x*z+y*w)],
|
| 17 |
+
[2*(x*y+z*w),1-2*(x*x+z*z),2*(y*z-x*w)],
|
| 18 |
+
[2*(x*z-y*w),2*(y*z+x*w),1-2*(x*x+y*y)]])
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def camera_adjustment(spec):
|
| 22 |
+
"""Delta is in the native camera's local frame and is identical at all times."""
|
| 23 |
+
if 'matrix_in_camera' in spec:
|
| 24 |
+
delta=np.asarray(spec['matrix_in_camera'],float)
|
| 25 |
+
else:
|
| 26 |
+
delta=transform(spec.get('position_in_camera_m',[0,0,0]),
|
| 27 |
+
quaternion_rotation(spec.get('quaternion_in_camera_wxyz',[1,0,0,0])))
|
| 28 |
+
assert delta.shape==(4,4) and np.isfinite(delta).all()
|
| 29 |
+
assert np.allclose(delta[3],[0,0,0,1]) and np.allclose(delta[:3,:3].T@delta[:3,:3],np.eye(3),atol=1e-7)
|
| 30 |
+
assert abs(np.linalg.det(delta[:3,:3])-1)<1e-7
|
| 31 |
+
return delta
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def fovy(spec,native_fovy,reference=False):
|
| 35 |
+
ref=float(spec.get('reference_fovy_deg',native_fovy))
|
| 36 |
+
aspect=float(spec.get('reference_aspect',16/9))
|
| 37 |
+
square=math.degrees(2*math.atan(aspect*math.tan(math.radians(ref)/2)))
|
| 38 |
+
value=float(spec.get('fovy_deg',square))
|
| 39 |
+
assert 1<ref<170 and 1<value<170 and aspect>0
|
| 40 |
+
return ref if reference else value
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/environment.py
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Adapt the user desk asset in an isolated copy; the source is never saved."""
|
| 2 |
+
import argparse
|
| 3 |
+
import hashlib
|
| 4 |
+
import json
|
| 5 |
+
from pathlib import Path
|
| 6 |
+
import bpy
|
| 7 |
+
import numpy as np
|
| 8 |
+
from mathutils import Matrix,Vector
|
| 9 |
+
|
| 10 |
+
TOP='Desk / 1200 x 600 x 18 mm top'
|
| 11 |
+
DESK_COLLECTION='01 Desk - editable geometry'
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def sha(path):return hashlib.sha256(Path(path).read_bytes()).hexdigest()
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
def bounds(obj):
|
| 18 |
+
points=np.asarray([tuple(obj.matrix_world@Vector(v)) for v in obj.bound_box])
|
| 19 |
+
return points.min(0),points.max(0)
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def set_table_height(scene,top):
|
| 23 |
+
bpy.context.view_layer.update()
|
| 24 |
+
tabletop=scene.objects.get(TOP)
|
| 25 |
+
if tabletop is None:raise ValueError('Missing desk tabletop: '+TOP)
|
| 26 |
+
lower,upper=bounds(tabletop);delta=float(top-upper[2]);changed=[]
|
| 27 |
+
for o in scene.objects:
|
| 28 |
+
if not any(c.name==DESK_COLLECTION for c in o.users_collection):continue
|
| 29 |
+
if o.name==TOP or o.name=='Desk / lower edge band' or 'tabletop support' in o.name or o.name.startswith('Crank /') or o.name.startswith('Desktop /'):
|
| 30 |
+
o.location.z+=delta;changed.append(o.name)
|
| 31 |
+
elif 'upper sliding post' in o.name:
|
| 32 |
+
length=float(o.dimensions.z);assert length+delta>0
|
| 33 |
+
o.location.z+=delta/2;o.scale.z*=(length+delta)/length;changed.append(o.name)
|
| 34 |
+
bpy.context.view_layer.update();lower,upper=bounds(tabletop)
|
| 35 |
+
assert abs(upper[2]-top)<2e-6 and np.allclose(upper[:2]-lower[:2],[1.2,.6],atol=2e-6)
|
| 36 |
+
return {'top_m':float(upper[2]),'width_m':float(upper[0]-lower[0]),'depth_m':float(upper[1]-lower[1]),'changed_objects':changed}
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def apply_overrides(scene,description):
|
| 40 |
+
"""Baseline environment fitting only; these edits remain fixed in all episodes."""
|
| 41 |
+
for name,values in description.get('objects',{}).items():
|
| 42 |
+
obj=scene.objects[name]
|
| 43 |
+
for key,value in values.items():
|
| 44 |
+
if key=='matrix_world':obj.matrix_world=Matrix(value)
|
| 45 |
+
elif key in {'location','rotation_euler','scale'}:setattr(obj,key,value)
|
| 46 |
+
elif key=='hide_render':obj.hide_render=bool(value)
|
| 47 |
+
else:raise ValueError('Unsupported environment fitting field: '+key)
|
| 48 |
+
for name,values in description.get('materials',{}).items():
|
| 49 |
+
mat=bpy.data.materials[name];assert mat.use_nodes
|
| 50 |
+
shader=next((n for n in mat.node_tree.nodes if n.type=='BSDF_PRINCIPLED'),None);assert shader
|
| 51 |
+
for key,value in values.items():
|
| 52 |
+
if key=='base_color':shader.inputs['Base Color'].default_value=(*value,1)
|
| 53 |
+
elif key=='roughness':shader.inputs['Roughness'].default_value=float(value)
|
| 54 |
+
else:raise ValueError('Unsupported baseline material field: '+key)
|
| 55 |
+
if 'exposure_ev' in description:scene.view_settings.exposure=float(description['exposure_ev'])
|
| 56 |
+
bpy.context.view_layer.update()
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def lights(scene):
|
| 60 |
+
rows=[]
|
| 61 |
+
for o in scene.objects:
|
| 62 |
+
if o.type!='LIGHT':continue
|
| 63 |
+
direction=o.rotation_euler.to_matrix()@Vector((0,0,-1))
|
| 64 |
+
rows.append({'name':o.name,'position_m':list(o.location),'target_m':list(o.location+direction*2),
|
| 65 |
+
'energy_w':float(o.data.energy),'color':list(o.data.color),'size_m':[float(o.data.size),float(o.data.size_y) if o.data.shape=='RECTANGLE' else float(o.data.size)]})
|
| 66 |
+
return rows
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
def prepare(source,output,top,overrides=None):
|
| 70 |
+
source=Path(source).resolve();output=Path(output).resolve();assert source!=output and not output.exists()
|
| 71 |
+
source_sha=sha(source);bpy.ops.wm.open_mainfile(filepath=str(source),load_ui=False)
|
| 72 |
+
scene=bpy.data.scenes['Scene'];bpy.context.window.scene=scene
|
| 73 |
+
for o in scene.objects:o.update_tag()
|
| 74 |
+
scene.frame_set(scene.frame_current);bpy.context.view_layer.update()
|
| 75 |
+
table=set_table_height(scene,top);apply_overrides(scene,overrides or {})
|
| 76 |
+
output.parent.mkdir(parents=True,exist_ok=True)
|
| 77 |
+
bpy.ops.wm.save_as_mainfile(filepath=str(output),compress=True)
|
| 78 |
+
receipt={'schema':'rssr.s1_heightfit.user_desk_environment.v1','source':str(source),'source_sha256':source_sha,
|
| 79 |
+
'derived_blend':str(output),'derived_sha256':sha(output),'scene':'Scene','table':table,'lights':lights(scene),
|
| 80 |
+
'baseline_overrides':overrides or {},'robot_or_cups_in_user_scene':False,'source_unchanged':sha(source)==source_sha,
|
| 81 |
+
'blender_version':bpy.app.version_string,'original_file_blender_version':'5.2.44','native_runtime_compatibility_reopen_pending':True,
|
| 82 |
+
'policy':'User authorized baseline environment fitting; per-episode augmentation changes lights only'}
|
| 83 |
+
output.with_suffix('.json').write_text(json.dumps(receipt,indent=2)+'\n')
|
| 84 |
+
return receipt
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
if __name__=='__main__':
|
| 88 |
+
p=argparse.ArgumentParser();p.add_argument('--source',type=Path,required=True);p.add_argument('--output',type=Path,required=True)
|
| 89 |
+
p.add_argument('--top',type=float,required=True);p.add_argument('--overrides',type=Path);a=p.parse_args()
|
| 90 |
+
r=prepare(a.source,a.output,a.top,json.loads(a.overrides.read_text()) if a.overrides else None)
|
| 91 |
+
print(json.dumps(r,ensure_ascii=False))
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def apply_style_fit(scene,style):
|
| 95 |
+
"""Fixed shared materials/lights and their procedural graphs, never per-view edits."""
|
| 96 |
+
if not style:return {}
|
| 97 |
+
audit={}
|
| 98 |
+
if style.get('neutralize_lights'):
|
| 99 |
+
for obj in scene.objects:
|
| 100 |
+
if obj.type=='LIGHT' and obj.data.type=='AREA':obj.data.color=(1,1,1)
|
| 101 |
+
audit['area_light_rgb']=[1,1,1]
|
| 102 |
+
if 'primary_light_transform' in style:
|
| 103 |
+
description=style['primary_light_transform'];name=description.get('name','Light / broad left office softbox');obj=scene.objects[name];assert obj.type=='LIGHT' and obj.data.type=='AREA'
|
| 104 |
+
obj.location=description['position_m'];obj.rotation_euler=(Vector(description['target_m'])-obj.location).to_track_quat('-Z','Y').to_euler()
|
| 105 |
+
if 'power_w' in description:obj.data.energy=float(description['power_w'])
|
| 106 |
+
audit['primary_light_transform']=dict(name=name,position_m=list(obj.location),target_m=description['target_m'],power_w=float(obj.data.energy))
|
| 107 |
+
added=style.get('baseline_added_area_lights',{})
|
| 108 |
+
for name in added:
|
| 109 |
+
obj=scene.objects.get(name)
|
| 110 |
+
if obj is None:
|
| 111 |
+
data=bpy.data.lights.new(name,'AREA');obj=bpy.data.objects.new(name,data);scene.collection.objects.link(obj)
|
| 112 |
+
assert obj.type=='LIGHT' and obj.data.type=='AREA'
|
| 113 |
+
fitted_lights=dict(style.get('baseline_area_lights',{}))
|
| 114 |
+
assert not set(fitted_lights)&set(added)
|
| 115 |
+
fitted_lights.update(added)
|
| 116 |
+
if fitted_lights:
|
| 117 |
+
fitted=[]
|
| 118 |
+
for name,description in fitted_lights.items():
|
| 119 |
+
obj=scene.objects[name]
|
| 120 |
+
assert obj.type=='LIGHT' and obj.data.type=='AREA'
|
| 121 |
+
assert set(description)<={'position_m','target_m','power_w','size_m','color_rgb'}
|
| 122 |
+
if 'position_m' in description:obj.location=description['position_m']
|
| 123 |
+
if 'target_m' in description:obj.rotation_euler=(Vector(description['target_m'])-obj.location).to_track_quat('-Z','Y').to_euler()
|
| 124 |
+
if 'power_w' in description:
|
| 125 |
+
power=float(description['power_w']);assert 0<=power<=3000;obj.data.energy=power
|
| 126 |
+
if 'size_m' in description:
|
| 127 |
+
size=description['size_m'];assert len(size)==2 and all(0<float(v)<=6 for v in size)
|
| 128 |
+
obj.data.shape='RECTANGLE';obj.data.size=float(size[0]);obj.data.size_y=float(size[1])
|
| 129 |
+
if 'color_rgb' in description:
|
| 130 |
+
color=description['color_rgb'];assert len(color)==3 and all(0<=float(v)<=1 for v in color)
|
| 131 |
+
obj.data.color=color
|
| 132 |
+
fitted.append(dict(name=name,position_m=list(obj.location),power_w=float(obj.data.energy),
|
| 133 |
+
size_m=[float(obj.data.size),float(obj.data.size_y)],color_rgb=list(obj.data.color)))
|
| 134 |
+
audit['baseline_area_lights']=fitted
|
| 135 |
+
audit['baseline_added_area_light_names']=list(added)
|
| 136 |
+
table=bpy.data.materials.get('Desktop / warm white polished laminate')
|
| 137 |
+
if table and 'table_color_ramp' in style:
|
| 138 |
+
ramps=[node for node in table.node_tree.nodes if node.type=='VALTORGB'];assert len(ramps)==1
|
| 139 |
+
colors=style['table_color_ramp'];assert len(colors)==len(ramps[0].color_ramp.elements)
|
| 140 |
+
for element,color in zip(ramps[0].color_ramp.elements,colors):element.color=(*color,1)
|
| 141 |
+
audit['table_color_ramp']=colors
|
| 142 |
+
gray=bpy.data.materials.get('Divider / upper warm gray panel')
|
| 143 |
+
if gray and ('gray_panel_value_scale' in style or 'gray_panel_rgb_scale' in style):
|
| 144 |
+
tree=gray.node_tree;shader=next(n for n in tree.nodes if n.type=='BSDF_PRINCIPLED');socket=shader.inputs['Base Color']
|
| 145 |
+
name='Heightfit gray neutral value multiply';node=tree.nodes.get(name)
|
| 146 |
+
if node is None:
|
| 147 |
+
node=tree.nodes.new('ShaderNodeMixRGB');node.name=name;node.blend_type='MULTIPLY';node.inputs[0].default_value=1
|
| 148 |
+
links=list(socket.links)
|
| 149 |
+
if links:tree.links.new(links[0].from_socket,node.inputs[1])
|
| 150 |
+
else:node.inputs[1].default_value=socket.default_value
|
| 151 |
+
tree.links.new(node.outputs[0],socket)
|
| 152 |
+
if 'gray_panel_rgb_scale' in style:
|
| 153 |
+
color=style['gray_panel_rgb_scale'];assert len(color)==3 and all(0<float(v)<=5 for v in color)
|
| 154 |
+
node.inputs[2].default_value=(*map(float,color),1)
|
| 155 |
+
else:
|
| 156 |
+
scale=float(style['gray_panel_value_scale']);node.inputs[2].default_value=(scale,scale*.197/.180,scale*.197/.163,1)
|
| 157 |
+
audit['gray_neutral_multiply']=list(node.inputs[2].default_value)
|
| 158 |
+
for mat in bpy.data.materials:
|
| 159 |
+
if not mat.use_nodes:continue
|
| 160 |
+
shader=next((n for n in mat.node_tree.nodes if n.type=='BSDF_PRINCIPLED'),None)
|
| 161 |
+
if shader is None:continue
|
| 162 |
+
if mat.name.startswith('shared_kraft_paper') and 'cup_outer_base_color' in style:
|
| 163 |
+
assert not shader.inputs['Base Color'].is_linked
|
| 164 |
+
shader.inputs['Base Color'].default_value=(*style['cup_outer_base_color'],1)
|
| 165 |
+
shader.inputs['Specular IOR Level'].default_value=float(style.get('cup_outer_specular_ior',.23));audit['cup_outer_base_color']=style['cup_outer_base_color']
|
| 166 |
+
if mat.name.startswith('S1_native_finger_pad') and 'native_finger_base_color' in style:
|
| 167 |
+
shader.inputs['Base Color'].default_value=(*style['native_finger_base_color'],1)
|
| 168 |
+
shader.inputs['Roughness'].default_value=float(style.get('native_finger_roughness',.78))
|
| 169 |
+
shader.inputs['Specular IOR Level'].default_value=float(style.get('native_finger_specular_ior',.18));audit['native_finger_base_color']=style['native_finger_base_color']
|
| 170 |
+
return audit
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/render_config.paths_relative_to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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"appearance_version": "background_color_brightness_v3",
|
| 3 |
+
"asset_blend": "assets/desk_scene.blend",
|
| 4 |
+
"asset_dependencies": {
|
| 5 |
+
"textures/03dcf50ead7d9a3352e3307fc0f7b82189835779ebca06cfa54502e2192cda2f.png": "03dcf50ead7d9a3352e3307fc0f7b82189835779ebca06cfa54502e2192cda2f",
|
| 6 |
+
"textures/667e77d41c6f18cd778b32dee6a62a9b06580a67ef653a8813bc95bcf4ffd2fe.hdr": "667e77d41c6f18cd778b32dee6a62a9b06580a67ef653a8813bc95bcf4ffd2fe",
|
| 7 |
+
"textures/86a98e6088d7fee335a8ad4ab78237556e1b22b68618f36337b49f3c2c6cb56d.png": "86a98e6088d7fee335a8ad4ab78237556e1b22b68618f36337b49f3c2c6cb56d"
|
| 8 |
+
},
|
| 9 |
+
"asset_scene": "Scene",
|
| 10 |
+
"asset_sha256": "ee8efa4bc54f9db3b78d7196b45ae37c3d59d38a7a23ef45adc254f39125b1e8",
|
| 11 |
+
"camera_alignment": {
|
| 12 |
+
"camera_response_note": "Fixed per-camera exposure estimates model different sensor captures; room geometry/materials/lights remain shared.",
|
| 13 |
+
"cameras": {
|
| 14 |
+
"head_rgbd": {
|
| 15 |
+
"baseline_world_position_m": [
|
| 16 |
+
-0.04029723767845193,
|
| 17 |
+
-0.2581808797104311,
|
| 18 |
+
1.5504909827914213
|
| 19 |
+
],
|
| 20 |
+
"baseline_world_rotation": [
|
| 21 |
+
[
|
| 22 |
+
-0.9984142280986754,
|
| 23 |
+
0.04085612642488199,
|
| 24 |
+
-0.03872732967401701
|
| 25 |
+
],
|
| 26 |
+
[
|
| 27 |
+
-0.05556244110544098,
|
| 28 |
+
-0.8257494397412113,
|
| 29 |
+
0.5612937536669012
|
| 30 |
+
],
|
| 31 |
+
[
|
| 32 |
+
-0.009046782219681242,
|
| 33 |
+
0.5625554547781308,
|
| 34 |
+
0.8267100556004142
|
| 35 |
+
]
|
| 36 |
+
],
|
| 37 |
+
"exposure_offset_ev": -0.5428264650898995,
|
| 38 |
+
"fovy": 46.68734463653697,
|
| 39 |
+
"fovy_deg": 74.99365341164304,
|
| 40 |
+
"parent_body": "astribot_head_link_2",
|
| 41 |
+
"policy": "One fixed parent mount; all later frames use native robot kinematics.",
|
| 42 |
+
"pos": [
|
| 43 |
+
0.022619845171147547,
|
| 44 |
+
-0.2400460318505255,
|
| 45 |
+
-0.045246823885230464
|
| 46 |
+
],
|
| 47 |
+
"position_in_camera_m": [
|
| 48 |
+
0.0,
|
| 49 |
+
0.0,
|
| 50 |
+
0.0
|
| 51 |
+
],
|
| 52 |
+
"quat": [
|
| 53 |
+
0.08606233952483466,
|
| 54 |
+
0.7114492396588586,
|
| 55 |
+
0.07501575505710205,
|
| 56 |
+
-0.6934016798346807
|
| 57 |
+
],
|
| 58 |
+
"quaternion_in_camera_wxyz": [
|
| 59 |
+
1.0,
|
| 60 |
+
0.0,
|
| 61 |
+
0.0,
|
| 62 |
+
0.0
|
| 63 |
+
],
|
| 64 |
+
"reference_aspect": 1.7777777777777777,
|
| 65 |
+
"reference_fovy_deg": 46.68734463653697
|
| 66 |
+
},
|
| 67 |
+
"left_wrist_rgbd": {
|
| 68 |
+
"baseline_world_position_m": [
|
| 69 |
+
0.3199734618889353,
|
| 70 |
+
-0.3866329842091521,
|
| 71 |
+
1.0029182651508828
|
| 72 |
+
],
|
| 73 |
+
"baseline_world_rotation": [
|
| 74 |
+
[
|
| 75 |
+
-0.9978976766778948,
|
| 76 |
+
-5.012789991490314e-05,
|
| 77 |
+
0.0648091379980808
|
| 78 |
+
],
|
| 79 |
+
[
|
| 80 |
+
0.06407827207165417,
|
| 81 |
+
-0.15052229818248108,
|
| 82 |
+
0.9865277557160651
|
| 83 |
+
],
|
| 84 |
+
[
|
| 85 |
+
0.009705767830094898,
|
| 86 |
+
0.9886066129846891,
|
| 87 |
+
0.15020906375372425
|
| 88 |
+
]
|
| 89 |
+
],
|
| 90 |
+
"exposure_offset_ev": 0.7007531625153249,
|
| 91 |
+
"fovy": 54.222198704777604,
|
| 92 |
+
"fovy_deg": 84.61501072235728,
|
| 93 |
+
"parent_body": "arm_left_tool_cam",
|
| 94 |
+
"policy": "One fixed parent mount; all later frames use native robot kinematics.",
|
| 95 |
+
"pos": [
|
| 96 |
+
0.006744568667666906,
|
| 97 |
+
0.1464328753067978,
|
| 98 |
+
0.07665232327016308
|
| 99 |
+
],
|
| 100 |
+
"position_in_camera_m": [
|
| 101 |
+
0.0,
|
| 102 |
+
0.0,
|
| 103 |
+
0.0
|
| 104 |
+
],
|
| 105 |
+
"quat": [
|
| 106 |
+
0.009566690715288284,
|
| 107 |
+
0.034474550449605006,
|
| 108 |
+
0.685282734400536,
|
| 109 |
+
0.7273977988230236
|
| 110 |
+
],
|
| 111 |
+
"quaternion_in_camera_wxyz": [
|
| 112 |
+
1.0,
|
| 113 |
+
0.0,
|
| 114 |
+
0.0,
|
| 115 |
+
0.0
|
| 116 |
+
],
|
| 117 |
+
"reference_aspect": 1.7777777777777777,
|
| 118 |
+
"reference_fovy_deg": 54.222198704777604
|
| 119 |
+
},
|
| 120 |
+
"right_wrist_rgbd": {
|
| 121 |
+
"baseline_world_position_m": [
|
| 122 |
+
-0.28734405752041364,
|
| 123 |
+
-0.32887338433762514,
|
| 124 |
+
1.0166738161950089
|
| 125 |
+
],
|
| 126 |
+
"baseline_world_rotation": [
|
| 127 |
+
[
|
| 128 |
+
-0.9749519204965966,
|
| 129 |
+
-0.03394800964694158,
|
| 130 |
+
-0.2198096571149888
|
| 131 |
+
],
|
| 132 |
+
[
|
| 133 |
+
-0.21120833263148694,
|
| 134 |
+
-0.16844800897741388,
|
| 135 |
+
0.9628168613493286
|
| 136 |
+
],
|
| 137 |
+
[
|
| 138 |
+
-0.06971221519235292,
|
| 139 |
+
0.9851257792345891,
|
| 140 |
+
0.15705860734266947
|
| 141 |
+
]
|
| 142 |
+
],
|
| 143 |
+
"exposure_offset_ev": 0.5364979914163741,
|
| 144 |
+
"fovy": 48.45549063590859,
|
| 145 |
+
"fovy_deg": 77.31961650818052,
|
| 146 |
+
"parent_body": "arm_right_tool_cam",
|
| 147 |
+
"policy": "One fixed parent mount; all later frames use native robot kinematics.",
|
| 148 |
+
"pos": [
|
| 149 |
+
-0.005538238890151263,
|
| 150 |
+
0.1613074787955398,
|
| 151 |
+
0.0736131169684578
|
| 152 |
+
],
|
| 153 |
+
"position_in_camera_m": [
|
| 154 |
+
0.0,
|
| 155 |
+
0.0,
|
| 156 |
+
0.0
|
| 157 |
+
],
|
| 158 |
+
"quat": [
|
| 159 |
+
-0.02961458926172238,
|
| 160 |
+
-0.056056253908770524,
|
| 161 |
+
0.7044950778034461,
|
| 162 |
+
0.7068715285335033
|
| 163 |
+
],
|
| 164 |
+
"quaternion_in_camera_wxyz": [
|
| 165 |
+
1.0,
|
| 166 |
+
0.0,
|
| 167 |
+
0.0,
|
| 168 |
+
0.0
|
| 169 |
+
],
|
| 170 |
+
"reference_aspect": 1.7777777777777777,
|
| 171 |
+
"reference_fovy_deg": 48.45549063590859
|
| 172 |
+
}
|
| 173 |
+
},
|
| 174 |
+
"experiment": "s1_heightfit_3x1_20261017",
|
| 175 |
+
"head_fit": {
|
| 176 |
+
"camera_world_position_m": [
|
| 177 |
+
-0.04029723767845193,
|
| 178 |
+
-0.2581808797104311,
|
| 179 |
+
1.5504909827914213
|
| 180 |
+
],
|
| 181 |
+
"camera_world_rotation": [
|
| 182 |
+
[
|
| 183 |
+
-0.9984142280986754,
|
| 184 |
+
0.04085612642488199,
|
| 185 |
+
-0.03872732967401701
|
| 186 |
+
],
|
| 187 |
+
[
|
| 188 |
+
-0.05556244110544098,
|
| 189 |
+
-0.8257494397412113,
|
| 190 |
+
0.5612937536669012
|
| 191 |
+
],
|
| 192 |
+
[
|
| 193 |
+
-0.009046782219681242,
|
| 194 |
+
0.5625554547781308,
|
| 195 |
+
0.8267100556004142
|
| 196 |
+
]
|
| 197 |
+
],
|
| 198 |
+
"cost": 20.05235807868658,
|
| 199 |
+
"cup_centers_xy_m": [
|
| 200 |
+
[
|
| 201 |
+
0.2649023407571988,
|
| 202 |
+
-0.7247601502042893
|
| 203 |
+
],
|
| 204 |
+
[
|
| 205 |
+
-0.2601612665026171,
|
| 206 |
+
-0.6654370645044115
|
| 207 |
+
]
|
| 208 |
+
],
|
| 209 |
+
"focal_px": 834.1598929781229,
|
| 210 |
+
"hand_landmarks_approx_px": [
|
| 211 |
+
[
|
| 212 |
+
208.0,
|
| 213 |
+
483.0
|
| 214 |
+
],
|
| 215 |
+
[
|
| 216 |
+
297.0,
|
| 217 |
+
491.0
|
| 218 |
+
],
|
| 219 |
+
[
|
| 220 |
+
894.0,
|
| 221 |
+
553.0
|
| 222 |
+
],
|
| 223 |
+
[
|
| 224 |
+
987.0,
|
| 225 |
+
557.0
|
| 226 |
+
]
|
| 227 |
+
],
|
| 228 |
+
"hand_pixel_rms": 7.835444032514649,
|
| 229 |
+
"hand_projection_px": [
|
| 230 |
+
[
|
| 231 |
+
201.9607084551119,
|
| 232 |
+
472.97423212126085
|
| 233 |
+
],
|
| 234 |
+
[
|
| 235 |
+
296.23254453113276,
|
| 236 |
+
479.43942855616905
|
| 237 |
+
],
|
| 238 |
+
[
|
| 239 |
+
903.3472168857206,
|
| 240 |
+
563.8407002841916
|
| 241 |
+
],
|
| 242 |
+
[
|
| 243 |
+
985.5307315500208,
|
| 244 |
+
560.5886774204085
|
| 245 |
+
]
|
| 246 |
+
],
|
| 247 |
+
"head_camera_translation_from_previous_native_m": [
|
| 248 |
+
-0.017806766651739234,
|
| 249 |
+
0.009488446576838838,
|
| 250 |
+
0.04476816414466045
|
| 251 |
+
],
|
| 252 |
+
"limitations": [
|
| 253 |
+
"Table height is fitted to images and current S1 simulator geometry; not a corrected physical tape measurement.",
|
| 254 |
+
"Manual finger pad and cup annotations have uncertainty; SDK gripper mapping remains nominal."
|
| 255 |
+
],
|
| 256 |
+
"optimizer_success": true,
|
| 257 |
+
"reference_fovy_deg": 46.68734463653697,
|
| 258 |
+
"residual": [
|
| 259 |
+
-0.45012517991762024,
|
| 260 |
+
1.377035062873991,
|
| 261 |
+
0.34848196266587667,
|
| 262 |
+
0.6801771351374649,
|
| 263 |
+
-0.5310568309142119,
|
| 264 |
+
-0.6919193704735807,
|
| 265 |
+
-0.655834570057948,
|
| 266 |
+
0.6298907745122335,
|
| 267 |
+
1.9109891226887186,
|
| 268 |
+
2.9705251337873335,
|
| 269 |
+
2.0561068064276165,
|
| 270 |
+
-3.2570115064834604,
|
| 271 |
+
-0.917470603454016,
|
| 272 |
+
0.4563487144657188,
|
| 273 |
+
0.642519886373492,
|
| 274 |
+
1.9382877526186917,
|
| 275 |
+
3.2255123270471415,
|
| 276 |
+
-0.9474025319959006,
|
| 277 |
+
-5.775717912737321,
|
| 278 |
+
-0.6715152992222025,
|
| 279 |
+
-0.5032742954073418,
|
| 280 |
+
-0.8354806565615954,
|
| 281 |
+
-0.06395462240560335,
|
| 282 |
+
-0.9633809536525794,
|
| 283 |
+
0.778934740476719,
|
| 284 |
+
0.9033916903492999,
|
| 285 |
+
-0.12243903749826283,
|
| 286 |
+
0.299056451700712,
|
| 287 |
+
-0.17806766651739234,
|
| 288 |
+
0.09488446576838838,
|
| 289 |
+
0.4476816414466045,
|
| 290 |
+
-0.14337599157070371,
|
| 291 |
+
0.17366175699004616,
|
| 292 |
+
0.12289973244530727
|
| 293 |
+
],
|
| 294 |
+
"schema": "rssr.s1.heightfit.head.v1",
|
| 295 |
+
"source": "User authorized adjusting table height for alignment, preserving all captured robot joints.",
|
| 296 |
+
"table_center_xy_m": [
|
| 297 |
+
-0.028675198314140744,
|
| 298 |
+
-0.7152676486019908
|
| 299 |
+
],
|
| 300 |
+
"table_half_xy_m": [
|
| 301 |
+
0.6,
|
| 302 |
+
0.3
|
| 303 |
+
],
|
| 304 |
+
"tabletop_z_m": 0.8000000099999999
|
| 305 |
+
},
|
| 306 |
+
"height_authorization": "User explicitly requested changing tabletop height to achieve alignment; original0.95m is superseded for this simulator campaign.",
|
| 307 |
+
"height_selection": "0.80m balances approximate reference alignment and a collision-free0.75–0.85m augmentation envelope; fitted hardware height is not claimed.",
|
| 308 |
+
"initial_pose": {
|
| 309 |
+
"all20_head_torso4_arm_joint_angles_preserved": true,
|
| 310 |
+
"path": "/pfs/yichen/s1_current_pose_20261016_230445.json",
|
| 311 |
+
"sdk_gripper_mapping": "Nominal0=open100=closed -> remaining geometric aperture; hardware calibration unavailable.",
|
| 312 |
+
"sha256": "4bcbb1eed890d72f8020ab81374200422e9920e7239bfb0ea40a4cb009be3d4b"
|
| 313 |
+
},
|
| 314 |
+
"limitations": [
|
| 315 |
+
"Visual pinhole and material/geometry reconstruction, not hardware camera calibration.",
|
| 316 |
+
"Manual cup/finger/wall landmarks and source camera distortion limit exact pixel matching.",
|
| 317 |
+
"All three sensors render the same shared room geometry/materials and world lights.",
|
| 318 |
+
"Cup height9cm and bottom5.85cm remain documented priors."
|
| 319 |
+
],
|
| 320 |
+
"production_ready": true,
|
| 321 |
+
"references": {
|
| 322 |
+
"head": {
|
| 323 |
+
"path": "/pfs/yichen/head.png",
|
| 324 |
+
"sha256": "2dea8a4d875d54d3052aa772adde64412b8dff43adb9289fcced03a00215c4fe"
|
| 325 |
+
},
|
| 326 |
+
"left": {
|
| 327 |
+
"path": "/pfs/yichen/left.png",
|
| 328 |
+
"sha256": "b8635e72558abe414d9091bd3ff1bc6bb9eae680cf34922ed27f7b762760ae4c"
|
| 329 |
+
},
|
| 330 |
+
"right": {
|
| 331 |
+
"path": "/pfs/yichen/right.png",
|
| 332 |
+
"sha256": "df70afbbcc6819caf439b852e756edd28ed28e911520ba843641b6d1ef4bbb33"
|
| 333 |
+
}
|
| 334 |
+
},
|
| 335 |
+
"render_policy": "Reference16:9 previews; production224square expands vertical coverage preserving horizontal FOV, no padding or deformation.",
|
| 336 |
+
"schema": "rssr.s1_heightfit.camera_alignment.v2",
|
| 337 |
+
"shared_room_fit": {
|
| 338 |
+
"fit_revision": "Shared82cm fit followed by user-authorized80cm table-height refinement; wrist cameras translated with cup/table geometry to lift fixed robot foreground into reference frame. Right seam adjusted+7cm based on shared three-view render review.",
|
| 339 |
+
"head_fit": {
|
| 340 |
+
"camera_world_position_m": [
|
| 341 |
+
-0.04029723767845193,
|
| 342 |
+
-0.2581808797104311,
|
| 343 |
+
1.5504909827914213
|
| 344 |
+
],
|
| 345 |
+
"camera_world_rotation": [
|
| 346 |
+
[
|
| 347 |
+
-0.9984142280986754,
|
| 348 |
+
0.04085612642488199,
|
| 349 |
+
-0.03872732967401701
|
| 350 |
+
],
|
| 351 |
+
[
|
| 352 |
+
-0.05556244110544098,
|
| 353 |
+
-0.8257494397412113,
|
| 354 |
+
0.5612937536669012
|
| 355 |
+
],
|
| 356 |
+
[
|
| 357 |
+
-0.009046782219681242,
|
| 358 |
+
0.5625554547781308,
|
| 359 |
+
0.8267100556004142
|
| 360 |
+
]
|
| 361 |
+
],
|
| 362 |
+
"cost": 20.05235807868658,
|
| 363 |
+
"cup_centers_xy_m": [
|
| 364 |
+
[
|
| 365 |
+
0.2649023407571988,
|
| 366 |
+
-0.7247601502042893
|
| 367 |
+
],
|
| 368 |
+
[
|
| 369 |
+
-0.2601612665026171,
|
| 370 |
+
-0.6654370645044115
|
| 371 |
+
]
|
| 372 |
+
],
|
| 373 |
+
"focal_px": 834.1598929781229,
|
| 374 |
+
"hand_landmarks_approx_px": [
|
| 375 |
+
[
|
| 376 |
+
208.0,
|
| 377 |
+
483.0
|
| 378 |
+
],
|
| 379 |
+
[
|
| 380 |
+
297.0,
|
| 381 |
+
491.0
|
| 382 |
+
],
|
| 383 |
+
[
|
| 384 |
+
894.0,
|
| 385 |
+
553.0
|
| 386 |
+
],
|
| 387 |
+
[
|
| 388 |
+
987.0,
|
| 389 |
+
557.0
|
| 390 |
+
]
|
| 391 |
+
],
|
| 392 |
+
"hand_pixel_rms": 7.835444032514649,
|
| 393 |
+
"hand_projection_px": [
|
| 394 |
+
[
|
| 395 |
+
201.9607084551119,
|
| 396 |
+
472.97423212126085
|
| 397 |
+
],
|
| 398 |
+
[
|
| 399 |
+
296.23254453113276,
|
| 400 |
+
479.43942855616905
|
| 401 |
+
],
|
| 402 |
+
[
|
| 403 |
+
903.3472168857206,
|
| 404 |
+
563.8407002841916
|
| 405 |
+
],
|
| 406 |
+
[
|
| 407 |
+
985.5307315500208,
|
| 408 |
+
560.5886774204085
|
| 409 |
+
]
|
| 410 |
+
],
|
| 411 |
+
"head_camera_translation_from_previous_native_m": [
|
| 412 |
+
-0.017806766651739234,
|
| 413 |
+
0.009488446576838838,
|
| 414 |
+
0.04476816414466045
|
| 415 |
+
],
|
| 416 |
+
"limitations": [
|
| 417 |
+
"Table height is fitted to images and current S1 simulator geometry; not a corrected physical tape measurement.",
|
| 418 |
+
"Manual finger pad and cup annotations have uncertainty; SDK gripper mapping remains nominal."
|
| 419 |
+
],
|
| 420 |
+
"optimizer_success": true,
|
| 421 |
+
"reference_fovy_deg": 46.68734463653697,
|
| 422 |
+
"residual": [
|
| 423 |
+
-0.45012517991762024,
|
| 424 |
+
1.377035062873991,
|
| 425 |
+
0.34848196266587667,
|
| 426 |
+
0.6801771351374649,
|
| 427 |
+
-0.5310568309142119,
|
| 428 |
+
-0.6919193704735807,
|
| 429 |
+
-0.655834570057948,
|
| 430 |
+
0.6298907745122335,
|
| 431 |
+
1.9109891226887186,
|
| 432 |
+
2.9705251337873335,
|
| 433 |
+
2.0561068064276165,
|
| 434 |
+
-3.2570115064834604,
|
| 435 |
+
-0.917470603454016,
|
| 436 |
+
0.4563487144657188,
|
| 437 |
+
0.642519886373492,
|
| 438 |
+
1.9382877526186917,
|
| 439 |
+
3.2255123270471415,
|
| 440 |
+
-0.9474025319959006,
|
| 441 |
+
-5.775717912737321,
|
| 442 |
+
-0.6715152992222025,
|
| 443 |
+
-0.5032742954073418,
|
| 444 |
+
-0.8354806565615954,
|
| 445 |
+
-0.06395462240560335,
|
| 446 |
+
-0.9633809536525794,
|
| 447 |
+
0.778934740476719,
|
| 448 |
+
0.9033916903492999,
|
| 449 |
+
-0.12243903749826283,
|
| 450 |
+
0.299056451700712,
|
| 451 |
+
-0.17806766651739234,
|
| 452 |
+
0.09488446576838838,
|
| 453 |
+
0.4476816414466045,
|
| 454 |
+
-0.14337599157070371,
|
| 455 |
+
0.17366175699004616,
|
| 456 |
+
0.12289973244530727
|
| 457 |
+
],
|
| 458 |
+
"schema": "rssr.s1.heightfit.head.v1",
|
| 459 |
+
"source": "User authorized adjusting table height for alignment, preserving all captured robot joints.",
|
| 460 |
+
"table_center_xy_m": [
|
| 461 |
+
-0.028675198314140744,
|
| 462 |
+
-0.7152676486019908
|
| 463 |
+
],
|
| 464 |
+
"table_half_xy_m": [
|
| 465 |
+
0.6,
|
| 466 |
+
0.3
|
| 467 |
+
],
|
| 468 |
+
"tabletop_z_m": 0.8000000099999999
|
| 469 |
+
},
|
| 470 |
+
"initial_shared_fit_cost": 74.80530488066681,
|
| 471 |
+
"method": "Cup rim/base, shared table back edge and shared vertical wall seam lines; fixed measured robot kinematics.",
|
| 472 |
+
"schema": "rssr.s1.shared_room_camera_fit.v1",
|
| 473 |
+
"seam_x_m": [
|
| 474 |
+
-0.6149551180056824,
|
| 475 |
+
0.44059396623138153
|
| 476 |
+
],
|
| 477 |
+
"shared_world": true,
|
| 478 |
+
"success": true,
|
| 479 |
+
"tabletop_z_m": 0.8,
|
| 480 |
+
"wall_y_m": 0.365223429825541,
|
| 481 |
+
"wrists": {
|
| 482 |
+
"left_wrist_rgbd": {
|
| 483 |
+
"focal_px": 351.5828765549533,
|
| 484 |
+
"position_native_world_m": [
|
| 485 |
+
0.3199734618889353,
|
| 486 |
+
-0.3866329842091521,
|
| 487 |
+
1.0029182651508828
|
| 488 |
+
],
|
| 489 |
+
"reference_fovy_deg": 54.222198704777604,
|
| 490 |
+
"rotation_native_world": [
|
| 491 |
+
[
|
| 492 |
+
-0.9978976766778948,
|
| 493 |
+
-5.012789991490314e-05,
|
| 494 |
+
0.0648091379980808
|
| 495 |
+
],
|
| 496 |
+
[
|
| 497 |
+
0.06407827207165417,
|
| 498 |
+
-0.15052229818248108,
|
| 499 |
+
0.9865277557160651
|
| 500 |
+
],
|
| 501 |
+
[
|
| 502 |
+
0.009705767830094898,
|
| 503 |
+
0.9886066129846891,
|
| 504 |
+
0.15020906375372425
|
| 505 |
+
]
|
| 506 |
+
]
|
| 507 |
+
},
|
| 508 |
+
"right_wrist_rgbd": {
|
| 509 |
+
"focal_px": 399.9999999999977,
|
| 510 |
+
"position_native_world_m": [
|
| 511 |
+
-0.28734405752041364,
|
| 512 |
+
-0.32887338433762514,
|
| 513 |
+
1.0166738161950089
|
| 514 |
+
],
|
| 515 |
+
"reference_fovy_deg": 48.45549063590859,
|
| 516 |
+
"rotation_native_world": [
|
| 517 |
+
[
|
| 518 |
+
-0.9749519204965966,
|
| 519 |
+
-0.03394800964694158,
|
| 520 |
+
-0.2198096571149888
|
| 521 |
+
],
|
| 522 |
+
[
|
| 523 |
+
-0.21120833263148694,
|
| 524 |
+
-0.16844800897741388,
|
| 525 |
+
0.9628168613493286
|
| 526 |
+
],
|
| 527 |
+
[
|
| 528 |
+
-0.06971221519235292,
|
| 529 |
+
0.9851257792345891,
|
| 530 |
+
0.15705860734266947
|
| 531 |
+
]
|
| 532 |
+
]
|
| 533 |
+
}
|
| 534 |
+
}
|
| 535 |
+
},
|
| 536 |
+
"source_environment": {
|
| 537 |
+
"path": "/pfs/yichen/desk_scene.blend",
|
| 538 |
+
"sha256": "8f0e4fd1dff2a21acdef1eaac117d55bb8094fa741689304d3cb9732550d1f16"
|
| 539 |
+
},
|
| 540 |
+
"status": "aligned",
|
| 541 |
+
"table_baseline": {
|
| 542 |
+
"center_xy_m": [
|
| 543 |
+
-0.028675198314140744,
|
| 544 |
+
-0.7152676486019908
|
| 545 |
+
],
|
| 546 |
+
"half_xy_m": [
|
| 547 |
+
0.6,
|
| 548 |
+
0.3
|
| 549 |
+
],
|
| 550 |
+
"top_z_m": 0.8
|
| 551 |
+
},
|
| 552 |
+
"table_baseline_m": 0.8,
|
| 553 |
+
"visual_review": {
|
| 554 |
+
"hardware_camera_calibration": false,
|
| 555 |
+
"limitations_preserved": true,
|
| 556 |
+
"method": "Agent inspected all3 final64-sample reference views against supplied photos; shared room geometry and fixed parent mounts accepted as approximate visual alignment.",
|
| 557 |
+
"preview_receipt": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-real2/s1_heightfit_3x1_20261017/room_review_final80_64/preview_receipt.json",
|
| 558 |
+
"preview_receipt_sha256": "2e2d699bf79e73d82c07118814d1fc0669b465b6bd415c4278310cfdedef6ad0",
|
| 559 |
+
"reviewed_reference_samples": 64,
|
| 560 |
+
"source_pose_joint_values_unchanged": true,
|
| 561 |
+
"strict_idle_b200_verification": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-real2/s1_heightfit_3x1_20261017/diagnostics/gpu_preflight_1792175018743286715/verification.json",
|
| 562 |
+
"strict_idle_b200_verification_sha256": "f35bdf0f81c73bd6a96d5460e6a17eea28ea3b87ccd7db2ffa7984109eecb350",
|
| 563 |
+
"tabletop_baseline_m": 0.8
|
| 564 |
+
}
|
| 565 |
+
},
|
| 566 |
+
"cpu_threads": 4,
|
| 567 |
+
"cup_asset_blend": "assets/measured_cups.blend",
|
| 568 |
+
"cup_asset_sha256": "b1350ea0a701d335e4a10d3a4f62544a3c11892ff091d36531b50f6e504453df",
|
| 569 |
+
"environment_overrides": {},
|
| 570 |
+
"experiment": "s1_stack_cups_random300_v1",
|
| 571 |
+
"height_delta_m": [
|
| 572 |
+
-0.05,
|
| 573 |
+
0.05
|
| 574 |
+
],
|
| 575 |
+
"lighting_recipe": {
|
| 576 |
+
"added_lights": [
|
| 577 |
+
{
|
| 578 |
+
"color": [
|
| 579 |
+
1.0,
|
| 580 |
+
1.0,
|
| 581 |
+
1.0
|
| 582 |
+
],
|
| 583 |
+
"name": "s1_heightfit_added_0",
|
| 584 |
+
"position_m": [
|
| 585 |
+
-0.7114228589497298,
|
| 586 |
+
-0.17353997802299026,
|
| 587 |
+
2.504782483072618
|
| 588 |
+
],
|
| 589 |
+
"power_w": 27.524238968453687,
|
| 590 |
+
"size_m": 1.2483010999322794,
|
| 591 |
+
"target_m": [
|
| 592 |
+
-0.22416679471498668,
|
| 593 |
+
0.13984748601423885,
|
| 594 |
+
0.7654869737111963
|
| 595 |
+
]
|
| 596 |
+
}
|
| 597 |
+
],
|
| 598 |
+
"lights": [
|
| 599 |
+
{
|
| 600 |
+
"color": [
|
| 601 |
+
1.0,
|
| 602 |
+
1.0,
|
| 603 |
+
0.9443341992671945
|
| 604 |
+
],
|
| 605 |
+
"name": "Alignment / lower panel indirect fill",
|
| 606 |
+
"position_m": [
|
| 607 |
+
0.09584000352152638,
|
| 608 |
+
0.30341481372175844,
|
| 609 |
+
0.7230765492001487
|
| 610 |
+
],
|
| 611 |
+
"power_scale": 1.0705091076444888,
|
| 612 |
+
"size_scale": 1.0,
|
| 613 |
+
"target_m": [
|
| 614 |
+
-0.03411674144197381,
|
| 615 |
+
0.45152818505618586,
|
| 616 |
+
2.628030073089326
|
| 617 |
+
]
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"color": [
|
| 621 |
+
0.9033582173916163,
|
| 622 |
+
0.920306981879367,
|
| 623 |
+
0.9097184433963924
|
| 624 |
+
],
|
| 625 |
+
"name": "Light / broad left office softbox",
|
| 626 |
+
"position_m": [
|
| 627 |
+
1.445037996032938,
|
| 628 |
+
0.6483317397219781,
|
| 629 |
+
2.688755021978279
|
| 630 |
+
],
|
| 631 |
+
"power_scale": 0.9335041988263515,
|
| 632 |
+
"size_scale": 1.0,
|
| 633 |
+
"target_m": [
|
| 634 |
+
0.2968503270337693,
|
| 635 |
+
0.12321353534050455,
|
| 636 |
+
1.3161463618215095
|
| 637 |
+
]
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"color": [
|
| 641 |
+
0.9693355612300584,
|
| 642 |
+
0.9782403068775241,
|
| 643 |
+
1.0
|
| 644 |
+
],
|
| 645 |
+
"name": "Light / ceiling bounce",
|
| 646 |
+
"position_m": [
|
| 647 |
+
-0.1046547050907114,
|
| 648 |
+
0.7045963770440439,
|
| 649 |
+
2.4263592052518037
|
| 650 |
+
],
|
| 651 |
+
"power_scale": 1.1276643325408438,
|
| 652 |
+
"size_scale": 1.0,
|
| 653 |
+
"target_m": [
|
| 654 |
+
0.039143232720286386,
|
| 655 |
+
0.19690693222989453,
|
| 656 |
+
0.6818272347376378
|
| 657 |
+
]
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"color": [
|
| 661 |
+
0.9251498928029008,
|
| 662 |
+
0.9405851393117459,
|
| 663 |
+
0.943983088008139
|
| 664 |
+
],
|
| 665 |
+
"name": "Light / soft camera-side fill",
|
| 666 |
+
"position_m": [
|
| 667 |
+
0.6987265225032226,
|
| 668 |
+
-2.5757721145804378,
|
| 669 |
+
2.0351435375062064
|
| 670 |
+
],
|
| 671 |
+
"power_scale": 1.0360517605425636,
|
| 672 |
+
"size_scale": 1.0,
|
| 673 |
+
"target_m": [
|
| 674 |
+
0.21813425715948354,
|
| 675 |
+
-0.8714982986613763,
|
| 676 |
+
0.8764877037528882
|
| 677 |
+
]
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"color": [
|
| 681 |
+
1.0,
|
| 682 |
+
1.0,
|
| 683 |
+
0.9050743545673479
|
| 684 |
+
],
|
| 685 |
+
"name": "Light / low room bounce",
|
| 686 |
+
"position_m": [
|
| 687 |
+
0.1234300586593966,
|
| 688 |
+
-0.9516942380941128,
|
| 689 |
+
1.0827504835607722
|
| 690 |
+
],
|
| 691 |
+
"power_scale": 1.1769126636739882,
|
| 692 |
+
"size_scale": 1.0,
|
| 693 |
+
"target_m": [
|
| 694 |
+
-0.0011036181989965421,
|
| 695 |
+
1.1135385913262477,
|
| 696 |
+
1.037262016625073
|
| 697 |
+
]
|
| 698 |
+
}
|
| 699 |
+
],
|
| 700 |
+
"seed": 4627702296710878528
|
| 701 |
+
},
|
| 702 |
+
"random300_appearance": {
|
| 703 |
+
"additional_lights_actual": [
|
| 704 |
+
{
|
| 705 |
+
"color": [
|
| 706 |
+
1.0,
|
| 707 |
+
1.0,
|
| 708 |
+
1.0
|
| 709 |
+
],
|
| 710 |
+
"name": "s1_heightfit_added_0",
|
| 711 |
+
"position_m": [
|
| 712 |
+
-0.7114228589497298,
|
| 713 |
+
-0.17353997802299026,
|
| 714 |
+
2.504782483072618
|
| 715 |
+
],
|
| 716 |
+
"power_w": 27.524238968453687,
|
| 717 |
+
"size_m": 1.2483010999322794,
|
| 718 |
+
"target_m": [
|
| 719 |
+
-0.22416679471498668,
|
| 720 |
+
0.13984748601423885,
|
| 721 |
+
0.7654869737111963
|
| 722 |
+
]
|
| 723 |
+
}
|
| 724 |
+
],
|
| 725 |
+
"base_seed": 20261021,
|
| 726 |
+
"cameras_actual": {
|
| 727 |
+
"head_rgbd": {
|
| 728 |
+
"actual_offset_ev": -0.5428264650898995,
|
| 729 |
+
"baseline_offset_ev": -0.55,
|
| 730 |
+
"sampled_delta_ev": 0.007173534910100532
|
| 731 |
+
},
|
| 732 |
+
"left_wrist_rgbd": {
|
| 733 |
+
"actual_offset_ev": 0.7007531625153249,
|
| 734 |
+
"baseline_offset_ev": 0.65,
|
| 735 |
+
"sampled_delta_ev": 0.05075316251532486
|
| 736 |
+
},
|
| 737 |
+
"right_wrist_rgbd": {
|
| 738 |
+
"actual_offset_ev": 0.5364979914163741,
|
| 739 |
+
"baseline_offset_ev": 0.5,
|
| 740 |
+
"sampled_delta_ev": 0.03649799141637411
|
| 741 |
+
}
|
| 742 |
+
},
|
| 743 |
+
"extra_energy_color_exposure_seed": 4627702295390142417,
|
| 744 |
+
"old_light_recipe_seed": 4627702296710878528,
|
| 745 |
+
"original_lights_actual": [
|
| 746 |
+
{
|
| 747 |
+
"baseline_color": [
|
| 748 |
+
1.0,
|
| 749 |
+
1.0,
|
| 750 |
+
1.0
|
| 751 |
+
],
|
| 752 |
+
"color_multiplier": [
|
| 753 |
+
1.0736135800774553,
|
| 754 |
+
1.0335750651294444,
|
| 755 |
+
0.9443341992671945
|
| 756 |
+
],
|
| 757 |
+
"color_rgb": [
|
| 758 |
+
1.0,
|
| 759 |
+
1.0,
|
| 760 |
+
0.9443341992671945
|
| 761 |
+
],
|
| 762 |
+
"energy_factor": 1.0705091076444888,
|
| 763 |
+
"name": "Alignment / lower panel indirect fill"
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"baseline_color": [
|
| 767 |
+
1.0,
|
| 768 |
+
1.0,
|
| 769 |
+
1.0
|
| 770 |
+
],
|
| 771 |
+
"color_multiplier": [
|
| 772 |
+
0.9033582173916163,
|
| 773 |
+
0.920306981879367,
|
| 774 |
+
0.9097184433963924
|
| 775 |
+
],
|
| 776 |
+
"color_rgb": [
|
| 777 |
+
0.9033582173916163,
|
| 778 |
+
0.920306981879367,
|
| 779 |
+
0.9097184433963924
|
| 780 |
+
],
|
| 781 |
+
"energy_factor": 0.9335041988263515,
|
| 782 |
+
"name": "Light / broad left office softbox"
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"baseline_color": [
|
| 786 |
+
1.0,
|
| 787 |
+
1.0,
|
| 788 |
+
1.0
|
| 789 |
+
],
|
| 790 |
+
"color_multiplier": [
|
| 791 |
+
0.9693355612300584,
|
| 792 |
+
0.9782403068775241,
|
| 793 |
+
1.0284981362952599
|
| 794 |
+
],
|
| 795 |
+
"color_rgb": [
|
| 796 |
+
0.9693355612300584,
|
| 797 |
+
0.9782403068775241,
|
| 798 |
+
1.0
|
| 799 |
+
],
|
| 800 |
+
"energy_factor": 1.1276643325408438,
|
| 801 |
+
"name": "Light / ceiling bounce"
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"baseline_color": [
|
| 805 |
+
1.0,
|
| 806 |
+
1.0,
|
| 807 |
+
1.0
|
| 808 |
+
],
|
| 809 |
+
"color_multiplier": [
|
| 810 |
+
0.9251498928029008,
|
| 811 |
+
0.9405851393117459,
|
| 812 |
+
0.943983088008139
|
| 813 |
+
],
|
| 814 |
+
"color_rgb": [
|
| 815 |
+
0.9251498928029008,
|
| 816 |
+
0.9405851393117459,
|
| 817 |
+
0.943983088008139
|
| 818 |
+
],
|
| 819 |
+
"energy_factor": 1.0360517605425636,
|
| 820 |
+
"name": "Light / soft camera-side fill"
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"baseline_color": [
|
| 824 |
+
1.0,
|
| 825 |
+
1.0,
|
| 826 |
+
1.0
|
| 827 |
+
],
|
| 828 |
+
"color_multiplier": [
|
| 829 |
+
1.0585453331095216,
|
| 830 |
+
1.0646461895025283,
|
| 831 |
+
0.9050743545673479
|
| 832 |
+
],
|
| 833 |
+
"color_rgb": [
|
| 834 |
+
1.0,
|
| 835 |
+
1.0,
|
| 836 |
+
0.9050743545673479
|
| 837 |
+
],
|
| 838 |
+
"energy_factor": 1.1769126636739882,
|
| 839 |
+
"name": "Light / low room bounce"
|
| 840 |
+
}
|
| 841 |
+
],
|
| 842 |
+
"proposal_index": 20001,
|
| 843 |
+
"randomization_ranges": {
|
| 844 |
+
"additional_area_light_count": [
|
| 845 |
+
1,
|
| 846 |
+
2
|
| 847 |
+
],
|
| 848 |
+
"additional_area_light_energy_w": [
|
| 849 |
+
8,
|
| 850 |
+
30
|
| 851 |
+
],
|
| 852 |
+
"additional_area_light_size_m": [
|
| 853 |
+
0.8,
|
| 854 |
+
1.8
|
| 855 |
+
],
|
| 856 |
+
"each_camera_exposure_delta_ev": [
|
| 857 |
+
-0.2,
|
| 858 |
+
0.2
|
| 859 |
+
],
|
| 860 |
+
"original_light_energy_factor": [
|
| 861 |
+
0.8,
|
| 862 |
+
1.2
|
| 863 |
+
],
|
| 864 |
+
"original_light_position_delta_each_axis_m": [
|
| 865 |
+
-0.2,
|
| 866 |
+
0.2
|
| 867 |
+
],
|
| 868 |
+
"original_light_rgb_multiplier_each_channel": [
|
| 869 |
+
0.9,
|
| 870 |
+
1.1
|
| 871 |
+
],
|
| 872 |
+
"original_light_target_delta_each_axis_m": [
|
| 873 |
+
-0.1,
|
| 874 |
+
0.1
|
| 875 |
+
],
|
| 876 |
+
"rgb_clipped_to": [
|
| 877 |
+
0,
|
| 878 |
+
1
|
| 879 |
+
]
|
| 880 |
+
},
|
| 881 |
+
"source_id": "random300_r15_20001"
|
| 882 |
+
},
|
| 883 |
+
"random300_provenance": {
|
| 884 |
+
"cpu_thread_override_scope": "throughput only; cameras geometry lighting and state unchanged",
|
| 885 |
+
"exposure_applied_by_existing_camera_response": true,
|
| 886 |
+
"height_contract": {
|
| 887 |
+
"campaign_id": "stack_cups_random200_r15_20261021_attempt_01",
|
| 888 |
+
"id": "stack_cups_random200_r15_table_075_085_v1",
|
| 889 |
+
"path": "/pfs/yichen/rssr_data_enhance+causal_map/sim2-refine/orchestration/stack_random200_r15/height_contract_v2.json",
|
| 890 |
+
"sha256": "0c4d14b184ed3780a08c6fe1c025b0b1f5d7ff2487a2ce645ad1097b73ef3fee"
|
| 891 |
+
},
|
| 892 |
+
"historical_camera_alignment_table_metadata_is_not_current_native_height": true,
|
| 893 |
+
"light_rgb_applied_by_style_and_verified_by_recipe": true,
|
| 894 |
+
"native_table_top_m": 0.7654869737111963,
|
| 895 |
+
"render_cpu_threads": 4,
|
| 896 |
+
"table_top_world_z_range_m": [
|
| 897 |
+
0.75,
|
| 898 |
+
0.85
|
| 899 |
+
],
|
| 900 |
+
"template_path": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-real2/s1_v3_human_align_20261018/configs/physical_00__stack_cups_ep000000.json",
|
| 901 |
+
"template_sha256": "a354723fed7a4093e1e07ada549a62728d15bb8bc062ffa2f6624458c696fafd",
|
| 902 |
+
"unchanged_camera_mounts_and_fovs": true,
|
| 903 |
+
"unchanged_v3_materials": true
|
| 904 |
+
},
|
| 905 |
+
"registration_offset_xy_m": [
|
| 906 |
+
0,
|
| 907 |
+
0
|
| 908 |
+
],
|
| 909 |
+
"samples": 64,
|
| 910 |
+
"schema": "rssr.s1_heightfit.render_config.v1",
|
| 911 |
+
"style_fit": {
|
| 912 |
+
"baseline_added_area_lights": {
|
| 913 |
+
"Alignment / lower panel indirect fill": {
|
| 914 |
+
"color_rgb": [
|
| 915 |
+
1.0,
|
| 916 |
+
1.0,
|
| 917 |
+
0.9443341992671945
|
| 918 |
+
],
|
| 919 |
+
"position_m": [
|
| 920 |
+
0,
|
| 921 |
+
0.312,
|
| 922 |
+
0.65
|
| 923 |
+
],
|
| 924 |
+
"power_w": 1.1,
|
| 925 |
+
"size_m": [
|
| 926 |
+
1.15,
|
| 927 |
+
0.015
|
| 928 |
+
],
|
| 929 |
+
"target_m": [
|
| 930 |
+
0,
|
| 931 |
+
0.3477,
|
| 932 |
+
0.95
|
| 933 |
+
]
|
| 934 |
+
}
|
| 935 |
+
},
|
| 936 |
+
"baseline_area_lights": {
|
| 937 |
+
"Light / broad left office softbox": {
|
| 938 |
+
"color_rgb": [
|
| 939 |
+
0.9033582173916163,
|
| 940 |
+
0.920306981879367,
|
| 941 |
+
0.9097184433963924
|
| 942 |
+
]
|
| 943 |
+
},
|
| 944 |
+
"Light / ceiling bounce": {
|
| 945 |
+
"color_rgb": [
|
| 946 |
+
0.9693355612300584,
|
| 947 |
+
0.9782403068775241,
|
| 948 |
+
1.0
|
| 949 |
+
]
|
| 950 |
+
},
|
| 951 |
+
"Light / low room bounce": {
|
| 952 |
+
"color_rgb": [
|
| 953 |
+
1.0,
|
| 954 |
+
1.0,
|
| 955 |
+
0.9050743545673479
|
| 956 |
+
],
|
| 957 |
+
"position_m": [
|
| 958 |
+
0,
|
| 959 |
+
-0.8,
|
| 960 |
+
1.0
|
| 961 |
+
],
|
| 962 |
+
"power_w": 18,
|
| 963 |
+
"size_m": [
|
| 964 |
+
3,
|
| 965 |
+
0.35
|
| 966 |
+
],
|
| 967 |
+
"target_m": [
|
| 968 |
+
0,
|
| 969 |
+
0.365,
|
| 970 |
+
1.0
|
| 971 |
+
]
|
| 972 |
+
},
|
| 973 |
+
"Light / soft camera-side fill": {
|
| 974 |
+
"color_rgb": [
|
| 975 |
+
0.9251498928029008,
|
| 976 |
+
0.9405851393117459,
|
| 977 |
+
0.943983088008139
|
| 978 |
+
]
|
| 979 |
+
}
|
| 980 |
+
},
|
| 981 |
+
"cup_outer_base_color": [
|
| 982 |
+
0.13,
|
| 983 |
+
0.1,
|
| 984 |
+
0.062
|
| 985 |
+
],
|
| 986 |
+
"cup_outer_specular_ior": 0.23,
|
| 987 |
+
"gray_panel_rgb_scale": [
|
| 988 |
+
1.02,
|
| 989 |
+
1.17215,
|
| 990 |
+
1.2574159509202456
|
| 991 |
+
],
|
| 992 |
+
"native_finger_base_color": [
|
| 993 |
+
0.004,
|
| 994 |
+
0.005,
|
| 995 |
+
0.005
|
| 996 |
+
],
|
| 997 |
+
"native_finger_roughness": 0.78,
|
| 998 |
+
"native_finger_specular_ior": 0.18,
|
| 999 |
+
"neutralize_lights": true,
|
| 1000 |
+
"primary_light_transform": {
|
| 1001 |
+
"name": "Light / broad left office softbox",
|
| 1002 |
+
"position_m": [
|
| 1003 |
+
1.4,
|
| 1004 |
+
0.8,
|
| 1005 |
+
2.8
|
| 1006 |
+
],
|
| 1007 |
+
"power_w": 180,
|
| 1008 |
+
"target_m": [
|
| 1009 |
+
0,
|
| 1010 |
+
0,
|
| 1011 |
+
0.8
|
| 1012 |
+
]
|
| 1013 |
+
},
|
| 1014 |
+
"table_color_ramp": [
|
| 1015 |
+
[
|
| 1016 |
+
0.7644,
|
| 1017 |
+
0.77415,
|
| 1018 |
+
0.7605
|
| 1019 |
+
],
|
| 1020 |
+
[
|
| 1021 |
+
0.8150999999999999,
|
| 1022 |
+
0.8268,
|
| 1023 |
+
0.8111999999999999
|
| 1024 |
+
]
|
| 1025 |
+
]
|
| 1026 |
+
},
|
| 1027 |
+
"table_baseline_m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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""S1 full-body native poses rendered inside the user-selected retained dual_arm asset."""
|
| 2 |
+
import argparse
|
| 3 |
+
import hashlib
|
| 4 |
+
import json
|
| 5 |
+
import math
|
| 6 |
+
import os
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
import subprocess
|
| 9 |
+
import time
|
| 10 |
+
|
| 11 |
+
import bpy
|
| 12 |
+
from mathutils import Matrix,Vector
|
| 13 |
+
from camera import camera_adjustment,fovy
|
| 14 |
+
from environment import set_table_height,apply_overrides,apply_style_fit
|
| 15 |
+
import numpy as np
|
| 16 |
+
from PIL import Image
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
def sha(path):return hashlib.sha256(Path(path).read_bytes()).hexdigest()
|
| 20 |
+
def transform(position,rotation):
|
| 21 |
+
a=np.eye(4);a[:3,:3]=np.asarray(rotation).reshape(3,3);a[:3,3]=position;return Matrix(a.tolist())
|
| 22 |
+
def material(name,color,roughness,metallic=0):
|
| 23 |
+
m=bpy.data.materials.new(name);m.use_nodes=True;s=m.node_tree.nodes.get('Principled BSDF')
|
| 24 |
+
s.inputs['Base Color'].default_value=(*color,1);s.inputs['Roughness'].default_value=roughness;s.inputs['Metallic'].default_value=metallic;return m
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def native_mesh(spec,geo,mat,scene):
|
| 28 |
+
k=spec['key'];mesh=bpy.data.meshes.new('S1_'+spec['geom_name']);mesh.from_pydata(geo[k+'_v'].tolist(),[],geo[k+'_f'].tolist());mesh.update()
|
| 29 |
+
obj=bpy.data.objects.new('S1_'+spec['geom_name'],mesh);scene.collection.objects.link(obj);mesh.materials.append(mat)
|
| 30 |
+
normal=geo[k+'_n']
|
| 31 |
+
if len(normal):
|
| 32 |
+
for p in mesh.polygons:p.use_smooth=True
|
| 33 |
+
mesh.normals_split_custom_set(normal.reshape(-1,3).tolist())
|
| 34 |
+
return obj
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
class AssetScene:
|
| 38 |
+
def __init__(self,source,config,samples=64,device='OPTIX',width=224,height=126,reference=True):
|
| 39 |
+
self.source=Path(source);self.meta=json.loads((self.source/'source.json').read_text());self.cfg=json.loads(Path(config).read_text());self.reference=reference
|
| 40 |
+
for n,h in self.meta['artifacts'].items():assert sha(self.source/n)==h
|
| 41 |
+
self.pose=dict(np.load(self.source/'poses.npz',allow_pickle=False));self.geo=np.load(self.source/'geometry.npz',allow_pickle=False)
|
| 42 |
+
asset=Path(self.cfg['asset_blend']);assert sha(asset)==self.cfg['asset_sha256']
|
| 43 |
+
for relative,digest in self.cfg.get('asset_dependencies',{}).items():
|
| 44 |
+
assert not Path(relative).is_absolute() and '..' not in Path(relative).parts
|
| 45 |
+
assert sha(asset.parent/relative)==digest,'Environment texture dependency changed'
|
| 46 |
+
bpy.ops.wm.open_mainfile(filepath=str(asset),load_ui=False);self.scene=bpy.data.scenes[self.cfg.get('asset_scene','Scene')];bpy.context.window.scene=self.scene
|
| 47 |
+
for obj in self.scene.objects:obj.update_tag()
|
| 48 |
+
self.scene.frame_set(self.scene.frame_current);bpy.context.view_layer.update()
|
| 49 |
+
self.asset_view_settings=dict(view_transform=self.scene.view_settings.view_transform,look=self.scene.view_settings.look,
|
| 50 |
+
exposure_ev=self.scene.view_settings.exposure,gamma=self.scene.view_settings.gamma)
|
| 51 |
+
# Import only the measured tapered paper-cup assemblies. No old table,
|
| 52 |
+
# room, robot, light or camera is imported into the user desk environment.
|
| 53 |
+
cup_asset=Path(self.cfg['cup_asset_blend']);assert sha(cup_asset)==self.cfg['cup_asset_sha256']
|
| 54 |
+
names=['left_paper_cup','left_paper_cup_rolled_lip','right_paper_cup','right_paper_cup_rolled_lip']
|
| 55 |
+
with bpy.data.libraries.load(str(cup_asset),link=False) as (available,loaded):
|
| 56 |
+
assert all(name in available.objects for name in names);loaded.objects=names
|
| 57 |
+
for obj in loaded.objects:self.scene.collection.objects.link(obj)
|
| 58 |
+
old_cups=list(loaded.objects);self.cup_assemblies=[]
|
| 59 |
+
for name in ['left_paper_cup','right_paper_cup']:
|
| 60 |
+
assembly=[self.scene.objects[name],self.scene.objects[name+'_rolled_lip']]
|
| 61 |
+
points=np.array([tuple(o.matrix_basis@Vector(v)) for o in assembly for v in o.bound_box])
|
| 62 |
+
lower,upper=points.min(0),points.max(0)
|
| 63 |
+
assert np.allclose(upper-lower,[.08,.08,.09],atol=1e-6),'Use measured 8 cm tapered cup assemblies'
|
| 64 |
+
center=(upper+lower)/2;local=Matrix.Translation(Vector(-center))
|
| 65 |
+
self.cup_assemblies.append([(o,local@o.matrix_basis.copy()) for o in assembly])
|
| 66 |
+
self.demo_removed=[]
|
| 67 |
+
top=float(self.meta['table_center_m'][2]+self.meta['table_half_size_m'][2])
|
| 68 |
+
self.table_baseline=float(self.cfg['table_baseline_m']);height_delta=self.cfg.get('height_delta_m',[-.05,.05])
|
| 69 |
+
assert self.table_baseline+height_delta[0]-1e-6<=top<=self.table_baseline+height_delta[1]+1e-6,'Physical table outside configured baseline height augmentation range'
|
| 70 |
+
self.table_height_audit=set_table_height(self.scene,top);self.table_top=top
|
| 71 |
+
apply_overrides(self.scene,self.cfg.get('environment_overrides',{}))
|
| 72 |
+
self.style_audit=apply_style_fit(self.scene,self.cfg.get('style_fit',{}))
|
| 73 |
+
self.base_exposure_ev=float(self.scene.view_settings.exposure)
|
| 74 |
+
self.static_objects=[o for o in self.scene.objects if o.type!='CAMERA' and o not in old_cups]
|
| 75 |
+
self.material_pins=self.material_inventory()
|
| 76 |
+
# One rigid world registration, used identically for robot, cups and all
|
| 77 |
+
# sensor cameras. No per-object offsets or image-space object movement.
|
| 78 |
+
self.world=np.eye(4);self.world[:3,:3]=np.diag([-1.,-1.,1.])
|
| 79 |
+
self.world[:2,3]=np.array(self.meta['table_center_m'][:2])+np.array(self.cfg.get('registration_offset_xy_m',[0,0]))
|
| 80 |
+
if 'world_registration_matrix' in self.cfg:self.world=np.asarray(self.cfg['world_registration_matrix'],float)
|
| 81 |
+
assert self.world.shape==(4,4) and np.allclose(self.world[3],[0,0,0,1])
|
| 82 |
+
self.world_m=Matrix(self.world.tolist())
|
| 83 |
+
white=material('S1_native_white',[.70,.71,.72],.30);steel=material('S1_native_gripper_metal',[.42,.44,.46],.36,.78);black=material('S1_native_finger_pad',[.012,.014,.016],.72)
|
| 84 |
+
self.native_objects=[]
|
| 85 |
+
for i,spec in enumerate(self.meta['objects']):
|
| 86 |
+
if spec['geom_name'].startswith('worktable'):continue
|
| 87 |
+
body=spec['body_name'];mat=white if 'gripper' not in body else steel if 'base' in body else black
|
| 88 |
+
self.native_objects.append((i,spec,native_mesh(spec,self.geo,mat,self.scene)))
|
| 89 |
+
alignment=self.cfg.get('camera_alignment',{})
|
| 90 |
+
if isinstance(alignment,str):alignment=json.loads(Path(alignment).read_text())
|
| 91 |
+
self.camera_specs=alignment.get('cameras',{})
|
| 92 |
+
for name,native_fov in zip(self.meta['camera_names'],self.meta['camera_fovy_deg']):
|
| 93 |
+
spec=self.camera_specs.get(name,{})
|
| 94 |
+
if 'reference_fovy_deg' in spec:
|
| 95 |
+
assert abs(float(native_fov)-float(spec['reference_fovy_deg']))<1e-7,('Native camera FOV differs from frozen aligned mount',name,native_fov,spec['reference_fovy_deg'])
|
| 96 |
+
self.camera_deltas=[camera_adjustment(self.camera_specs.get(n,{})) for n in self.meta['camera_names']]
|
| 97 |
+
self.camera_fov=[fovy(self.camera_specs.get(n,{}),v,reference) for n,v in zip(self.meta['camera_names'],self.meta['camera_fovy_deg'])]
|
| 98 |
+
self.style_audit.update(apply_style_fit(self.scene,self.cfg.get('style_fit',{})))
|
| 99 |
+
self.cameras=[]
|
| 100 |
+
for name,vertical_fov in zip(self.meta['camera_names'],self.camera_fov):
|
| 101 |
+
c=bpy.data.cameras.new('S1_'+name);o=bpy.data.objects.new('S1_'+name,c);self.scene.collection.objects.link(o)
|
| 102 |
+
c.sensor_fit='VERTICAL';c.sensor_height=24;c.lens=12/math.tan(math.radians(vertical_fov)/2);c.clip_start=.005;c.clip_end=100;self.cameras.append(o)
|
| 103 |
+
self.scene.render.engine='CYCLES';self.scene.cycles.samples=samples;self.scene.cycles.use_denoising=True
|
| 104 |
+
self.scene.cycles.use_adaptive_sampling=True;self.scene.cycles.adaptive_threshold=.04
|
| 105 |
+
self.scene.render.use_persistent_data=True;self.scene.render.threads_mode='FIXED';self.scene.render.threads=int(os.environ.get('RSSR_RENDER_THREADS',self.cfg.get('cpu_threads',8)))
|
| 106 |
+
if device=='OPTIX':
|
| 107 |
+
p=bpy.context.preferences.addons['cycles'].preferences;p.compute_device_type='OPTIX';p.get_devices();selected=[]
|
| 108 |
+
for d in p.devices:
|
| 109 |
+
d.use=d.type=='OPTIX'
|
| 110 |
+
if d.use:selected.append(d.name)
|
| 111 |
+
assert len(selected)==1,'Expose exactly one idle GPU'
|
| 112 |
+
self.scene.cycles.device='GPU'
|
| 113 |
+
else:self.scene.cycles.device='CPU';self.scene.cycles.denoising_use_gpu=False
|
| 114 |
+
self.scene.render.resolution_x=width;self.scene.render.resolution_y=height;self.scene.render.resolution_percentage=100
|
| 115 |
+
self.scene.render.image_settings.file_format='PNG';self.scene.render.image_settings.color_mode='RGB';self.scene.render.film_transparent=False
|
| 116 |
+
static_transforms={o.name:np.array(o.matrix_world).copy() for o in self.static_objects if o.type!='LIGHT'}
|
| 117 |
+
self.apply_lighting(self.cfg.get('lighting_recipe'))
|
| 118 |
+
assert all(np.array_equal(np.array(self.scene.objects[n].matrix_world),m) for n,m in static_transforms.items()),'Lighting API moved static environment geometry'
|
| 119 |
+
self.set_frame(0)
|
| 120 |
+
|
| 121 |
+
def material_inventory(self):
|
| 122 |
+
result={}
|
| 123 |
+
for obj in self.static_objects:
|
| 124 |
+
if obj.type!='MESH':continue
|
| 125 |
+
for mat in obj.data.materials:
|
| 126 |
+
if mat is not None and mat.name not in result:
|
| 127 |
+
# Serialized shader graphs are retained within the immutable
|
| 128 |
+
# input blend; record material identity without rewriting it.
|
| 129 |
+
result[mat.name]=dict(nodes=len(mat.node_tree.nodes) if mat.use_nodes else 0,
|
| 130 |
+
diffuse_color=list(mat.diffuse_color),use_nodes=mat.use_nodes)
|
| 131 |
+
return result
|
| 132 |
+
|
| 133 |
+
def apply_lighting(self,recipe):
|
| 134 |
+
lights=[o for o in self.scene.objects if o.type=='LIGHT']
|
| 135 |
+
baseline_light_count=len(lights)
|
| 136 |
+
self.light_records=[]
|
| 137 |
+
if recipe:
|
| 138 |
+
if set(recipe)!={'lights','added_lights','seed'}:raise ValueError('Only lights may be augmented')
|
| 139 |
+
lookup={o.name:o for o in lights};assert set(lookup)=={v['name'] for v in recipe['lights']}
|
| 140 |
+
for v in recipe['lights']:
|
| 141 |
+
if set(v)!={'name','position_m','target_m','power_scale','color','size_scale'}:raise ValueError('Invalid lighting field')
|
| 142 |
+
o=lookup[v['name']];assert .6<=v['power_scale']<=1.8 and .7<=v['size_scale']<=1.4
|
| 143 |
+
pos=np.array(v['position_m'],float);target=np.array(v['target_m'],float)
|
| 144 |
+
assert pos.shape==target.shape==(3,) and np.isfinite(pos).all() and np.isfinite(target).all()
|
| 145 |
+
assert np.max(abs(pos-np.array(o.location)))<=.3+1e-8
|
| 146 |
+
assert np.linalg.norm(target-pos)>.01
|
| 147 |
+
assert np.allclose(v['color'],list(o.data.color),atol=1e-6),'Lighting augmentation changed a fitted baseline light color'
|
| 148 |
+
o.data=o.data.copy();o.location=pos;o.rotation_euler=(Vector(v['target_m'])-o.location).to_track_quat('-Z','Y').to_euler()
|
| 149 |
+
o.data.energy*=v['power_scale'];o.data.color=v['color'];o.data.size*=v['size_scale']
|
| 150 |
+
if o.data.shape=='RECTANGLE':o.data.size_y*=v['size_scale']
|
| 151 |
+
if recipe:
|
| 152 |
+
for v in recipe['added_lights']:
|
| 153 |
+
assert set(v)=={'name','position_m','target_m','power_w','color','size_m'}
|
| 154 |
+
assert v['name'].startswith('s1_heightfit_added_') and v['name'] not in lookup
|
| 155 |
+
assert 0<float(v['power_w'])<=100 and len(v['position_m'])==len(v['target_m'])==3
|
| 156 |
+
data=bpy.data.lights.new(v['name'],'AREA');data.shape='DISK';data.energy=float(v['power_w']);data.color=v['color'];data.size=float(v['size_m'])
|
| 157 |
+
o=bpy.data.objects.new(v['name'],data);self.scene.collection.objects.link(o);o.location=v['position_m']
|
| 158 |
+
o.rotation_euler=(Vector(v['target_m'])-o.location).to_track_quat('-Z','Y').to_euler();lights.append(o)
|
| 159 |
+
assert 1<=len(recipe['added_lights'])<=2
|
| 160 |
+
assert baseline_light_count>=3
|
| 161 |
+
assert len(lights)==baseline_light_count+(len(recipe['added_lights']) if recipe else 0)
|
| 162 |
+
for o in lights:
|
| 163 |
+
direction=o.rotation_euler.to_matrix()@Vector((0,0,-1))
|
| 164 |
+
self.light_records.append(dict(name=o.name,position_m=list(o.location),target_m=list(o.location+direction*2),
|
| 165 |
+
energy_w=o.data.energy,color=list(o.data.color),size_m=[o.data.size,o.data.size_y if o.data.shape=='RECTANGLE' else o.data.size]))
|
| 166 |
+
assert self.material_inventory()==self.material_pins,'Lighting API changed non-light materials'
|
| 167 |
+
|
| 168 |
+
def set_frame(self,index):
|
| 169 |
+
for gi,spec,o in self.native_objects:o.matrix_world=self.world_m@transform(self.pose['geom_position'][index,gi],self.pose['geom_rotation'][index,gi])
|
| 170 |
+
for i,assembly in enumerate(self.cup_assemblies):
|
| 171 |
+
pose=self.world_m@transform(self.pose['cup_position'][index,i],self.pose['cup_rotation'][index,i])
|
| 172 |
+
for o,local in assembly:o.matrix_world=pose@local
|
| 173 |
+
for i,o in enumerate(self.cameras):o.matrix_world=self.world_m@transform(self.pose['camera_position'][index,i],self.pose['camera_rotation'][index,i])@Matrix(self.camera_deltas[i].tolist())
|
| 174 |
+
bpy.context.view_layer.update()
|
| 175 |
+
|
| 176 |
+
def projection_error(self,index):
|
| 177 |
+
from bpy_extras.object_utils import world_to_camera_view
|
| 178 |
+
self.set_frame(index);w,h=self.scene.render.resolution_x,self.scene.render.resolution_y;worst=0.
|
| 179 |
+
checked=excluded=0;pose_error=0.
|
| 180 |
+
for ci,camera in enumerate(self.cameras):
|
| 181 |
+
native=np.array(transform(self.pose['camera_position'][index,ci],self.pose['camera_rotation'][index,ci]))
|
| 182 |
+
aligned=native@self.camera_deltas[ci];C=aligned[:3,3];R=aligned[:3,:3]
|
| 183 |
+
expected_matrix=self.world@aligned;actual_matrix=np.array(camera.matrix_world)
|
| 184 |
+
pose_error=max(pose_error,float(np.max(abs(expected_matrix-actual_matrix))))
|
| 185 |
+
assert pose_error<1e-6,'Aligned fixed mount no longer follows native camera kinematics'
|
| 186 |
+
measured_fovy=math.degrees(2*math.atan(camera.data.sensor_height/(2*camera.data.lens)))
|
| 187 |
+
assert abs(measured_fovy-self.camera_fov[ci])<1e-5,'Frozen aligned FOV changed'
|
| 188 |
+
f=h/(2*np.tan(np.deg2rad(self.camera_fov[ci])/2))
|
| 189 |
+
for pi,point in enumerate(self.pose['cup_position'][index]):
|
| 190 |
+
obj,local=self.cup_assemblies[pi][0]
|
| 191 |
+
actual_cup_pose=obj.matrix_world@local.inverted()
|
| 192 |
+
expected_cup_pose=self.world_m@transform(point,self.pose['cup_rotation'][index,pi])
|
| 193 |
+
assert np.max(abs(np.array(actual_cup_pose)-np.array(expected_cup_pose)))<1e-6,'Rendered cup rigid pose changed'
|
| 194 |
+
q=R.T@(point-C)
|
| 195 |
+
if -q[2]<=camera.data.clip_start:excluded+=1;continue
|
| 196 |
+
expected=np.array([w/2+f*q[0]/-q[2],h/2-f*q[1]/-q[2]])
|
| 197 |
+
if not (0<=expected[0]<w and 0<=expected[1]<h):excluded+=1;continue
|
| 198 |
+
world_point=self.world_m@Vector(point)
|
| 199 |
+
uv=world_to_camera_view(self.scene,camera,world_point);actual=np.array([uv.x*w,(1-uv.y)*h])
|
| 200 |
+
worst=max(worst,float(np.max(abs(actual-expected))));checked+=1
|
| 201 |
+
assert checked>0,'No in-frame cup center available for projection verification'
|
| 202 |
+
assert worst<.003,('Native in-frame camera projection changed',worst)
|
| 203 |
+
self.projection_scope=dict(in_frame_points_checked=checked,behind_or_offscreen_centers_excluded=excluded,
|
| 204 |
+
all_camera_and_cup_rigid_pose_matrices_checked=True,maximum_camera_matrix_error=pose_error,
|
| 205 |
+
fov_tolerance_degrees=1e-5,in_frame_pixel_tolerance=.003)
|
| 206 |
+
return worst
|
| 207 |
+
|
| 208 |
+
def render(self,index,camera,path):
|
| 209 |
+
self.set_frame(index)
|
| 210 |
+
for gi,spec,obj in self.native_objects:obj.visible_camera=not(camera==0 and spec['head_occluder'])
|
| 211 |
+
self.scene.camera=self.cameras[camera]
|
| 212 |
+
name=self.meta['camera_names'][camera];response=self.cfg.get('camera_response',{}).get(name,{})
|
| 213 |
+
offset=float(self.camera_specs.get(name,{}).get('exposure_offset_ev',response.get('exposure_offset_ev',0)))
|
| 214 |
+
assert -3<=offset<=3;self.scene.view_settings.exposure=self.base_exposure_ev+offset
|
| 215 |
+
self.scene.render.filepath=str(path);bpy.ops.render.render(write_still=True)
|
| 216 |
+
return Image.open(path).convert('RGB').copy()
|
| 217 |
+
|
| 218 |
+
|
| 219 |
+
def main():
|
| 220 |
+
p=argparse.ArgumentParser();p.add_argument('--source',type=Path,required=True);p.add_argument('--config',type=Path,required=True);p.add_argument('--output',type=Path,required=True)
|
| 221 |
+
p.add_argument('--width',type=int);p.add_argument('--height',type=int);p.add_argument('--reference-aspect',action='store_true',help='Diagnostic 640x360 native view');p.add_argument('--preview',action='store_true');p.add_argument('--diagnostic',action='store_true');p.add_argument('--samples',type=int,default=64);p.add_argument('--device',choices=['CPU','OPTIX'],default='OPTIX')
|
| 222 |
+
p.add_argument('--start',type=int,default=0);p.add_argument('--stop',type=int);a=p.parse_args()
|
| 223 |
+
meta=json.loads((a.source/'source.json').read_text())
|
| 224 |
+
if not meta.get('native_accepted'):assert a.preview or a.diagnostic,'Production requires native accepted task and exact replay'
|
| 225 |
+
a.output.mkdir(parents=True,exist_ok=True);assert not (a.output/'render_receipt.json').exists();started=time.monotonic()
|
| 226 |
+
inputs={str(a.source/'source.json'):sha(a.source/'source.json'),str(a.config):sha(a.config)}
|
| 227 |
+
width,height=(a.width or 640,a.height or 360) if a.reference_aspect else (a.width or 224,a.height or 126)
|
| 228 |
+
assert not a.reference_aspect or a.preview or a.diagnostic,'Reference aspect is diagnostic only'
|
| 229 |
+
assert a.preview or (width,height)==(224,126),'Video chunks must render native 16:9 at long edge 224'
|
| 230 |
+
scene=AssetScene(a.source,a.config,a.samples,a.device,width,height,True)
|
| 231 |
+
frames=[0] if a.preview else list(range(a.start,min(a.stop or meta['frames'],meta['frames'])));assert frames
|
| 232 |
+
pe=max(scene.projection_error(i) for i in sorted(set([frames[0],frames[-1]])))
|
| 233 |
+
encoders=[];ffmpeg=os.environ.get('RSSR_FFMPEG','/pfs/yichen/miniconda3/envs/agent_retarget/bin/ffmpeg')
|
| 234 |
+
if not a.preview:
|
| 235 |
+
for camera in meta['camera_names']:
|
| 236 |
+
encoders.append(subprocess.Popen([ffmpeg,'-v','error','-y','-f','rawvideo','-pixel_format','rgb24','-video_size','224x224','-framerate','30','-i','pipe:0','-an','-c:v','libx264','-preset','fast','-crf','18','-pix_fmt','yuv420p','-threads','1',str(a.output/(camera+'.mp4'))],stdin=subprocess.PIPE))
|
| 237 |
+
try:
|
| 238 |
+
for count,index in enumerate(frames):
|
| 239 |
+
for ci,name in enumerate(meta['camera_names']):
|
| 240 |
+
raw=scene.render(index,ci,a.output/'current.png')
|
| 241 |
+
assert raw.size==(224,126),'Preview and production require native 224x126 content'
|
| 242 |
+
# The retained 120x60 desk asset already produces the S1 upright
|
| 243 |
+
# camera orientation. Rotating this raw frame inverted the robot.
|
| 244 |
+
im=Image.new('RGB',(224,224),(0,0,0));im.paste(raw,(0,49))
|
| 245 |
+
if a.preview:
|
| 246 |
+
raw.save(a.output/(name+'_raw.png'))
|
| 247 |
+
im.save(a.output/(name+'.png'))
|
| 248 |
+
else:
|
| 249 |
+
assert im.size==(224,224);encoders[ci].stdin.write(np.asarray(im).tobytes())
|
| 250 |
+
if index in [frames[0],frames[-1]]:im.save(a.output/f'frame_{index:06d}_{name}.png')
|
| 251 |
+
(a.output/'progress.json').write_text(json.dumps(dict(frames_completed=count+1,frames_expected=len(frames),elapsed_s=time.monotonic()-started)))
|
| 252 |
+
for e in encoders:e.stdin.close();assert e.wait(timeout=60)==0
|
| 253 |
+
except BaseException:
|
| 254 |
+
for e in encoders:
|
| 255 |
+
if e.poll() is None:e.kill();e.wait()
|
| 256 |
+
raise
|
| 257 |
+
assert all(sha(p)==h for p,h in inputs.items())
|
| 258 |
+
assert sha(scene.cfg['asset_blend'])==scene.cfg['asset_sha256']
|
| 259 |
+
assert sha(scene.cfg['cup_asset_blend'])==scene.cfg['cup_asset_sha256']
|
| 260 |
+
receipt=dict(schema='rssr.s1_heightfit.render.v1',diagnostic_only=bool(a.diagnostic or a.preview),native_accepted=meta.get('native_accepted'),
|
| 261 |
+
frames=frames,fps=30,resolution=[224,224],raw_resolution=[width,height],source=str(a.source),asset_blend=scene.cfg['asset_blend'],asset_sha256=scene.cfg['asset_sha256'],asset_scene=scene.scene.name,
|
| 262 |
+
native_motion_preserved=True,fixed_aligned_mounts_follow_native_kinematics=True,aligned_camera_fovy_deg=scene.camera_fov,native_projection_error_px=pe,
|
| 263 |
+
camera_alignment=scene.cfg.get('camera_alignment',{}),style_fit=scene.cfg.get('style_fit',{}),style_audit=scene.style_audit,
|
| 264 |
+
camera_response_exposure_offsets_ev={n:float(scene.camera_specs.get(n,{}).get('exposure_offset_ev',scene.cfg.get('camera_response',{}).get(n,{}).get('exposure_offset_ev',0))) for n in scene.meta['camera_names']},raster_policy='raw 224x126 upright 16:9; black-pad 49px top/bottom to 224x224 RGB',
|
| 265 |
+
projection_validation_scope=scene.projection_scope,
|
| 266 |
+
world_registration_matrix=scene.world.tolist(),table_height_m=scene.table_top,table_height_audit=scene.table_height_audit,task_regions_hidden=True,
|
| 267 |
+
original_asset_materials_preserved=not bool(scene.cfg.get('environment_overrides',{}).get('materials')),baseline_environment_materials_preserved_after_fit=True,source_asset_view_settings=scene.asset_view_settings,lights=scene.light_records,
|
| 268 |
+
measured_cup_meshes_and_rolled_lips_preserved=True,cup_asset_blend=scene.cfg['cup_asset_blend'],cup_asset_sha256=scene.cfg['cup_asset_sha256'],cup_visual_outer_dimensions_m=[.08,.08,.09],lighting_recipe=scene.cfg.get('lighting_recipe'),
|
| 269 |
+
lighting_fixed_across_frames_and_cameras=True,baseline_tabletop_height_m=scene.table_baseline,
|
| 270 |
+
source_demo_robot_and_cups_removed=scene.demo_removed,cup_model=meta['cup_model'],elapsed_s=time.monotonic()-started,
|
| 271 |
+
input_pins=inputs,artifacts={p.name:sha(p) for p in a.output.iterdir() if p.suffix in ['.png','.mp4']})
|
| 272 |
+
(a.output/'render_receipt.json').write_text(json.dumps(receipt,indent=2)+'\n')
|
| 273 |
+
if a.preview:bpy.ops.wm.save_as_mainfile(filepath=str(a.output/'scene.blend'),compress=True)
|
| 274 |
+
print(json.dumps({'rendered':str(a.output),'frames':len(frames),'elapsed_s':time.monotonic()-started}))
|
| 275 |
+
|
| 276 |
+
|
| 277 |
+
if __name__=='__main__':main()
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/sample_episode_000000/actions_30fps.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a1a772314d3c830fc90a676fcbe8698eac15607ae0b74afd14bd8242c1ccb0a
|
| 3 |
+
size 829837
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/sample_episode_000000/geometry.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4aa6239ac2e74809829a224d344be1c4c28bd9daad779e8de70a95e2437b91ae
|
| 3 |
+
size 40262338
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/sample_episode_000000/poses.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48c0a492130c2c4551c6c3839413e3a2327f414ed7b4f8408652fbf3d3aaa0b0
|
| 3 |
+
size 1800174
|
150case_data_enhance_blender_v7_cup+block+draw/simulation_assets/blender/cup/sample_episode_000000/source.json
ADDED
|
@@ -0,0 +1,1042 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "rssr.s1_heightfit.render_source.v1",
|
| 3 |
+
"source": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-refine/stack_cups_random200_r15_20261021_attempt_01/production_01/cases/random300_r15_20001/native",
|
| 4 |
+
"source_pins": {
|
| 5 |
+
"/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-refine/stack_cups_random200_r15_20261021_attempt_01/production_01/cases/random300_r15_20001/native/execute/scene.xml": "b4d83485d4e40e232b0fc2232cb9a9e7d1379e0721c938c8723223d24e5514c7",
|
| 6 |
+
"/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-refine/stack_cups_random200_r15_20261021_attempt_01/production_01/cases/random300_r15_20001/native/receipt.json": "d1d899b28fbfaf0222d081d963994940a615736c0f2bf617fd34b6d1d58e89e5",
|
| 7 |
+
"/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-refine/stack_cups_random200_r15_20261021_attempt_01/production_01/cases/random300_r15_20001/native/execute/rollout.npz": "a9dba22a42e10568bca525d7f7b371fd8de65d715b2c8c3092839b852d4d5600",
|
| 8 |
+
"/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-refine/stack_cups_random200_r15_20261021_attempt_01/production_01/cases/random300_r15_20001/native/issued_robot_commands.npz": "5e6aef1e2f25febcbe71c7582d9ff1fb8ca8948617ecbf827f1436d621572520"
|
| 9 |
+
},
|
| 10 |
+
"baseline_diagnostic": false,
|
| 11 |
+
"postprocess_diagnostic": false,
|
| 12 |
+
"native_accepted": true,
|
| 13 |
+
"frames": 450,
|
| 14 |
+
"fps": 30,
|
| 15 |
+
"duration_s": 14.965000000006798,
|
| 16 |
+
"raster": [
|
| 17 |
+
224,
|
| 18 |
+
224
|
| 19 |
+
],
|
| 20 |
+
"content_raster": [
|
| 21 |
+
224,
|
| 22 |
+
126
|
| 23 |
+
],
|
| 24 |
+
"resize_policy": "native upright 16:9 render at 224x126; black-pad 49 pixels above and below to 224x224",
|
| 25 |
+
"native_scene": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-refine/stack_cups_random200_r15_20261021_attempt_01/production_01/cases/random300_r15_20001/native/execute/scene.xml",
|
| 26 |
+
"native_scene_sha256": "b4d83485d4e40e232b0fc2232cb9a9e7d1379e0721c938c8723223d24e5514c7",
|
| 27 |
+
"native_attempt": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-refine/stack_cups_random200_r15_20261021_attempt_01/production_01/cases/random300_r15_20001/native",
|
| 28 |
+
"native_receipt_sha256": "d1d899b28fbfaf0222d081d963994940a615736c0f2bf617fd34b6d1d58e89e5",
|
| 29 |
+
"scalar_joint_names": [
|
| 30 |
+
"astribot_torso_joint_1",
|
| 31 |
+
"astribot_torso_joint_2",
|
| 32 |
+
"astribot_torso_joint_3",
|
| 33 |
+
"astribot_torso_joint_4",
|
| 34 |
+
"astribot_head_joint_1",
|
| 35 |
+
"astribot_head_joint_2",
|
| 36 |
+
"astribot_arm_left_joint_1",
|
| 37 |
+
"astribot_arm_left_joint_2",
|
| 38 |
+
"astribot_arm_left_joint_3",
|
| 39 |
+
"astribot_arm_left_joint_4",
|
| 40 |
+
"astribot_arm_left_joint_5",
|
| 41 |
+
"astribot_arm_left_joint_6",
|
| 42 |
+
"astribot_arm_left_joint_7",
|
| 43 |
+
"astribot_gripper_left_joint_L1",
|
| 44 |
+
"astribot_gripper_left_joint_L11",
|
| 45 |
+
"astribot_gripper_left_joint_L2",
|
| 46 |
+
"astribot_gripper_left_joint_R1",
|
| 47 |
+
"astribot_gripper_left_joint_R11",
|
| 48 |
+
"astribot_gripper_left_joint_R2",
|
| 49 |
+
"astribot_arm_right_joint_1",
|
| 50 |
+
"astribot_arm_right_joint_2",
|
| 51 |
+
"astribot_arm_right_joint_3",
|
| 52 |
+
"astribot_arm_right_joint_4",
|
| 53 |
+
"astribot_arm_right_joint_5",
|
| 54 |
+
"astribot_arm_right_joint_6",
|
| 55 |
+
"astribot_arm_right_joint_7",
|
| 56 |
+
"astribot_gripper_right_joint_L1",
|
| 57 |
+
"astribot_gripper_right_joint_L11",
|
| 58 |
+
"astribot_gripper_right_joint_L2",
|
| 59 |
+
"astribot_gripper_right_joint_R1",
|
| 60 |
+
"astribot_gripper_right_joint_R11",
|
| 61 |
+
"astribot_gripper_right_joint_R2"
|
| 62 |
+
],
|
| 63 |
+
"controlled_joint_names": [
|
| 64 |
+
"astribot_torso_joint_1",
|
| 65 |
+
"astribot_torso_joint_2",
|
| 66 |
+
"astribot_head_joint_1",
|
| 67 |
+
"astribot_head_joint_2",
|
| 68 |
+
"astribot_torso_joint_3",
|
| 69 |
+
"astribot_torso_joint_4",
|
| 70 |
+
"astribot_arm_left_joint_1",
|
| 71 |
+
"astribot_arm_left_joint_2",
|
| 72 |
+
"astribot_arm_left_joint_3",
|
| 73 |
+
"astribot_arm_left_joint_4",
|
| 74 |
+
"astribot_arm_left_joint_5",
|
| 75 |
+
"astribot_arm_left_joint_6",
|
| 76 |
+
"astribot_arm_left_joint_7",
|
| 77 |
+
"astribot_gripper_left_joint_L1",
|
| 78 |
+
"astribot_arm_right_joint_1",
|
| 79 |
+
"astribot_arm_right_joint_2",
|
| 80 |
+
"astribot_arm_right_joint_3",
|
| 81 |
+
"astribot_arm_right_joint_4",
|
| 82 |
+
"astribot_arm_right_joint_5",
|
| 83 |
+
"astribot_arm_right_joint_6",
|
| 84 |
+
"astribot_arm_right_joint_7",
|
| 85 |
+
"astribot_gripper_right_joint_L1"
|
| 86 |
+
],
|
| 87 |
+
"action_columns": [
|
| 88 |
+
{
|
| 89 |
+
"index": 0,
|
| 90 |
+
"name": "astribot_torso_joint_1",
|
| 91 |
+
"unit": "rad",
|
| 92 |
+
"semantics": "desired_joint_position",
|
| 93 |
+
"target_joint_or_interface": "astribot_torso_joint_1",
|
| 94 |
+
"actuator_name": "astribot_torso_joint_1",
|
| 95 |
+
"actuator_transmission": "joint"
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"index": 1,
|
| 99 |
+
"name": "astribot_torso_joint_2",
|
| 100 |
+
"unit": "rad",
|
| 101 |
+
"semantics": "desired_joint_position",
|
| 102 |
+
"target_joint_or_interface": "astribot_torso_joint_2",
|
| 103 |
+
"actuator_name": "astribot_torso_joint_2",
|
| 104 |
+
"actuator_transmission": "joint"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"index": 2,
|
| 108 |
+
"name": "astribot_head_joint_1",
|
| 109 |
+
"unit": "rad",
|
| 110 |
+
"semantics": "desired_joint_position",
|
| 111 |
+
"target_joint_or_interface": "astribot_head_joint_1",
|
| 112 |
+
"actuator_name": "astribot_head_joint_1",
|
| 113 |
+
"actuator_transmission": "joint"
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"index": 3,
|
| 117 |
+
"name": "astribot_head_joint_2",
|
| 118 |
+
"unit": "rad",
|
| 119 |
+
"semantics": "desired_joint_position",
|
| 120 |
+
"target_joint_or_interface": "astribot_head_joint_2",
|
| 121 |
+
"actuator_name": "astribot_head_joint_2",
|
| 122 |
+
"actuator_transmission": "joint"
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"index": 4,
|
| 126 |
+
"name": "astribot_torso_joint_3",
|
| 127 |
+
"unit": "rad",
|
| 128 |
+
"semantics": "desired_joint_position",
|
| 129 |
+
"target_joint_or_interface": "astribot_torso_joint_3",
|
| 130 |
+
"actuator_name": "astribot_torso_joint_3",
|
| 131 |
+
"actuator_transmission": "joint"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"index": 5,
|
| 135 |
+
"name": "astribot_torso_joint_4",
|
| 136 |
+
"unit": "rad",
|
| 137 |
+
"semantics": "desired_joint_position",
|
| 138 |
+
"target_joint_or_interface": "astribot_torso_joint_4",
|
| 139 |
+
"actuator_name": "astribot_torso_joint_4",
|
| 140 |
+
"actuator_transmission": "joint"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"index": 6,
|
| 144 |
+
"name": "astribot_arm_left_joint_1",
|
| 145 |
+
"unit": "rad",
|
| 146 |
+
"semantics": "desired_joint_position",
|
| 147 |
+
"target_joint_or_interface": "astribot_arm_left_joint_1",
|
| 148 |
+
"actuator_name": "astribot_arm_left_joint_1",
|
| 149 |
+
"actuator_transmission": "joint"
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"index": 7,
|
| 153 |
+
"name": "astribot_arm_left_joint_2",
|
| 154 |
+
"unit": "rad",
|
| 155 |
+
"semantics": "desired_joint_position",
|
| 156 |
+
"target_joint_or_interface": "astribot_arm_left_joint_2",
|
| 157 |
+
"actuator_name": "astribot_arm_left_joint_2",
|
| 158 |
+
"actuator_transmission": "joint"
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"index": 8,
|
| 162 |
+
"name": "astribot_arm_left_joint_3",
|
| 163 |
+
"unit": "rad",
|
| 164 |
+
"semantics": "desired_joint_position",
|
| 165 |
+
"target_joint_or_interface": "astribot_arm_left_joint_3",
|
| 166 |
+
"actuator_name": "astribot_arm_left_joint_3",
|
| 167 |
+
"actuator_transmission": "joint"
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"index": 9,
|
| 171 |
+
"name": "astribot_arm_left_joint_4",
|
| 172 |
+
"unit": "rad",
|
| 173 |
+
"semantics": "desired_joint_position",
|
| 174 |
+
"target_joint_or_interface": "astribot_arm_left_joint_4",
|
| 175 |
+
"actuator_name": "astribot_arm_left_joint_4",
|
| 176 |
+
"actuator_transmission": "joint"
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"index": 10,
|
| 180 |
+
"name": "astribot_arm_left_joint_5",
|
| 181 |
+
"unit": "rad",
|
| 182 |
+
"semantics": "desired_joint_position",
|
| 183 |
+
"target_joint_or_interface": "astribot_arm_left_joint_5",
|
| 184 |
+
"actuator_name": "astribot_arm_left_joint_5",
|
| 185 |
+
"actuator_transmission": "joint"
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"index": 11,
|
| 189 |
+
"name": "astribot_arm_left_joint_6",
|
| 190 |
+
"unit": "rad",
|
| 191 |
+
"semantics": "desired_joint_position",
|
| 192 |
+
"target_joint_or_interface": "astribot_arm_left_joint_6",
|
| 193 |
+
"actuator_name": "astribot_arm_left_joint_6",
|
| 194 |
+
"actuator_transmission": "joint"
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"index": 12,
|
| 198 |
+
"name": "astribot_arm_left_joint_7",
|
| 199 |
+
"unit": "rad",
|
| 200 |
+
"semantics": "desired_joint_position",
|
| 201 |
+
"target_joint_or_interface": "astribot_arm_left_joint_7",
|
| 202 |
+
"actuator_name": "astribot_arm_left_joint_7",
|
| 203 |
+
"actuator_transmission": "joint"
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"index": 13,
|
| 207 |
+
"name": "astribot_gripper_left_joint_L1",
|
| 208 |
+
"unit": "rad",
|
| 209 |
+
"semantics": "desired_joint_position",
|
| 210 |
+
"target_joint_or_interface": "astribot_gripper_left_joint_L1",
|
| 211 |
+
"actuator_name": "astribot_gripper_left_joint_L1",
|
| 212 |
+
"actuator_transmission": "fixed_tendon",
|
| 213 |
+
"tendon_name": "gripper_left_split",
|
| 214 |
+
"coupled_target_joints": [
|
| 215 |
+
"astribot_gripper_left_joint_R1",
|
| 216 |
+
"astribot_gripper_left_joint_L1"
|
| 217 |
+
],
|
| 218 |
+
"fixed_tendon_coefficients": [
|
| 219 |
+
0.5,
|
| 220 |
+
0.5
|
| 221 |
+
],
|
| 222 |
+
"all_issued_finger_targets_equal": true
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"index": 14,
|
| 226 |
+
"name": "astribot_arm_right_joint_1",
|
| 227 |
+
"unit": "rad",
|
| 228 |
+
"semantics": "desired_joint_position",
|
| 229 |
+
"target_joint_or_interface": "astribot_arm_right_joint_1",
|
| 230 |
+
"actuator_name": "astribot_arm_right_joint_1",
|
| 231 |
+
"actuator_transmission": "joint"
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"index": 15,
|
| 235 |
+
"name": "astribot_arm_right_joint_2",
|
| 236 |
+
"unit": "rad",
|
| 237 |
+
"semantics": "desired_joint_position",
|
| 238 |
+
"target_joint_or_interface": "astribot_arm_right_joint_2",
|
| 239 |
+
"actuator_name": "astribot_arm_right_joint_2",
|
| 240 |
+
"actuator_transmission": "joint"
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"index": 16,
|
| 244 |
+
"name": "astribot_arm_right_joint_3",
|
| 245 |
+
"unit": "rad",
|
| 246 |
+
"semantics": "desired_joint_position",
|
| 247 |
+
"target_joint_or_interface": "astribot_arm_right_joint_3",
|
| 248 |
+
"actuator_name": "astribot_arm_right_joint_3",
|
| 249 |
+
"actuator_transmission": "joint"
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"index": 17,
|
| 253 |
+
"name": "astribot_arm_right_joint_4",
|
| 254 |
+
"unit": "rad",
|
| 255 |
+
"semantics": "desired_joint_position",
|
| 256 |
+
"target_joint_or_interface": "astribot_arm_right_joint_4",
|
| 257 |
+
"actuator_name": "astribot_arm_right_joint_4",
|
| 258 |
+
"actuator_transmission": "joint"
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"index": 18,
|
| 262 |
+
"name": "astribot_arm_right_joint_5",
|
| 263 |
+
"unit": "rad",
|
| 264 |
+
"semantics": "desired_joint_position",
|
| 265 |
+
"target_joint_or_interface": "astribot_arm_right_joint_5",
|
| 266 |
+
"actuator_name": "astribot_arm_right_joint_5",
|
| 267 |
+
"actuator_transmission": "joint"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"index": 19,
|
| 271 |
+
"name": "astribot_arm_right_joint_6",
|
| 272 |
+
"unit": "rad",
|
| 273 |
+
"semantics": "desired_joint_position",
|
| 274 |
+
"target_joint_or_interface": "astribot_arm_right_joint_6",
|
| 275 |
+
"actuator_name": "astribot_arm_right_joint_6",
|
| 276 |
+
"actuator_transmission": "joint"
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"index": 20,
|
| 280 |
+
"name": "astribot_arm_right_joint_7",
|
| 281 |
+
"unit": "rad",
|
| 282 |
+
"semantics": "desired_joint_position",
|
| 283 |
+
"target_joint_or_interface": "astribot_arm_right_joint_7",
|
| 284 |
+
"actuator_name": "astribot_arm_right_joint_7",
|
| 285 |
+
"actuator_transmission": "joint"
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"index": 21,
|
| 289 |
+
"name": "astribot_gripper_right_joint_L1",
|
| 290 |
+
"unit": "rad",
|
| 291 |
+
"semantics": "desired_joint_position",
|
| 292 |
+
"target_joint_or_interface": "astribot_gripper_right_joint_L1",
|
| 293 |
+
"actuator_name": "astribot_gripper_right_joint_L1",
|
| 294 |
+
"actuator_transmission": "fixed_tendon",
|
| 295 |
+
"tendon_name": "gripper_right_split",
|
| 296 |
+
"coupled_target_joints": [
|
| 297 |
+
"astribot_gripper_right_joint_R1",
|
| 298 |
+
"astribot_gripper_right_joint_L1"
|
| 299 |
+
],
|
| 300 |
+
"fixed_tendon_coefficients": [
|
| 301 |
+
0.5,
|
| 302 |
+
0.5
|
| 303 |
+
],
|
| 304 |
+
"all_issued_finger_targets_equal": true
|
| 305 |
+
}
|
| 306 |
+
],
|
| 307 |
+
"desired_velocity_layout": "qpos_coordinates",
|
| 308 |
+
"actual_velocity_layout": "mujoco_dof_coordinates",
|
| 309 |
+
"complete_terminal_state_included": true,
|
| 310 |
+
"causal_actions_bound_to_rendered_state": true,
|
| 311 |
+
"camera_names": [
|
| 312 |
+
"head_rgbd",
|
| 313 |
+
"left_wrist_rgbd",
|
| 314 |
+
"right_wrist_rgbd"
|
| 315 |
+
],
|
| 316 |
+
"camera_fovy_deg": [
|
| 317 |
+
46.68734463653697,
|
| 318 |
+
54.222198704777604,
|
| 319 |
+
48.45549063590859
|
| 320 |
+
],
|
| 321 |
+
"objects": [
|
| 322 |
+
{
|
| 323 |
+
"key": "g000",
|
| 324 |
+
"geom_id": 1,
|
| 325 |
+
"geom_name": "geom_1",
|
| 326 |
+
"body_name": "chassis_base",
|
| 327 |
+
"rgba": [
|
| 328 |
+
0.5,
|
| 329 |
+
0.5,
|
| 330 |
+
0.5,
|
| 331 |
+
1.0
|
| 332 |
+
],
|
| 333 |
+
"head_occluder": true
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"key": "g001",
|
| 337 |
+
"geom_id": 3,
|
| 338 |
+
"geom_name": "geom_3",
|
| 339 |
+
"body_name": "wheel_RF_Link",
|
| 340 |
+
"rgba": [
|
| 341 |
+
0.5,
|
| 342 |
+
0.5,
|
| 343 |
+
0.5,
|
| 344 |
+
1.0
|
| 345 |
+
],
|
| 346 |
+
"head_occluder": true
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"key": "g002",
|
| 350 |
+
"geom_id": 4,
|
| 351 |
+
"geom_name": "geom_4",
|
| 352 |
+
"body_name": "wheel_LF_Link",
|
| 353 |
+
"rgba": [
|
| 354 |
+
0.5,
|
| 355 |
+
0.5,
|
| 356 |
+
0.5,
|
| 357 |
+
1.0
|
| 358 |
+
],
|
| 359 |
+
"head_occluder": true
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"key": "g003",
|
| 363 |
+
"geom_id": 5,
|
| 364 |
+
"geom_name": "geom_5",
|
| 365 |
+
"body_name": "wheel_RR_Link",
|
| 366 |
+
"rgba": [
|
| 367 |
+
0.5,
|
| 368 |
+
0.5,
|
| 369 |
+
0.5,
|
| 370 |
+
1.0
|
| 371 |
+
],
|
| 372 |
+
"head_occluder": true
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"key": "g004",
|
| 376 |
+
"geom_id": 6,
|
| 377 |
+
"geom_name": "geom_6",
|
| 378 |
+
"body_name": "wheel_LR_Link",
|
| 379 |
+
"rgba": [
|
| 380 |
+
0.5,
|
| 381 |
+
0.5,
|
| 382 |
+
0.5,
|
| 383 |
+
1.0
|
| 384 |
+
],
|
| 385 |
+
"head_occluder": true
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"key": "g005",
|
| 389 |
+
"geom_id": 7,
|
| 390 |
+
"geom_name": "geom_7",
|
| 391 |
+
"body_name": "astribot_torso_link_1",
|
| 392 |
+
"rgba": [
|
| 393 |
+
0.5,
|
| 394 |
+
0.5,
|
| 395 |
+
0.5,
|
| 396 |
+
1.0
|
| 397 |
+
],
|
| 398 |
+
"head_occluder": true
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"key": "g006",
|
| 402 |
+
"geom_id": 9,
|
| 403 |
+
"geom_name": "geom_9",
|
| 404 |
+
"body_name": "astribot_torso_link_2",
|
| 405 |
+
"rgba": [
|
| 406 |
+
0.5,
|
| 407 |
+
0.5,
|
| 408 |
+
0.5,
|
| 409 |
+
1.0
|
| 410 |
+
],
|
| 411 |
+
"head_occluder": true
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"key": "g007",
|
| 415 |
+
"geom_id": 11,
|
| 416 |
+
"geom_name": "geom_11",
|
| 417 |
+
"body_name": "astribot_torso_link_3",
|
| 418 |
+
"rgba": [
|
| 419 |
+
0.5,
|
| 420 |
+
0.5,
|
| 421 |
+
0.5,
|
| 422 |
+
1.0
|
| 423 |
+
],
|
| 424 |
+
"head_occluder": true
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"key": "g008",
|
| 428 |
+
"geom_id": 13,
|
| 429 |
+
"geom_name": "geom_13",
|
| 430 |
+
"body_name": "astribot_torso_link_4",
|
| 431 |
+
"rgba": [
|
| 432 |
+
0.5,
|
| 433 |
+
0.5,
|
| 434 |
+
0.5,
|
| 435 |
+
1.0
|
| 436 |
+
],
|
| 437 |
+
"head_occluder": true
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"key": "g009",
|
| 441 |
+
"geom_id": 14,
|
| 442 |
+
"geom_name": "geom_14",
|
| 443 |
+
"body_name": "astribot_torso_link_4",
|
| 444 |
+
"rgba": [
|
| 445 |
+
0.5,
|
| 446 |
+
0.5,
|
| 447 |
+
0.5,
|
| 448 |
+
1.0
|
| 449 |
+
],
|
| 450 |
+
"head_occluder": true
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"key": "g010",
|
| 454 |
+
"geom_id": 15,
|
| 455 |
+
"geom_name": "geom_15",
|
| 456 |
+
"body_name": "astribot_torso_link_4",
|
| 457 |
+
"rgba": [
|
| 458 |
+
0.5,
|
| 459 |
+
0.5,
|
| 460 |
+
0.5,
|
| 461 |
+
1.0
|
| 462 |
+
],
|
| 463 |
+
"head_occluder": true
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"key": "g011",
|
| 467 |
+
"geom_id": 16,
|
| 468 |
+
"geom_name": "geom_16",
|
| 469 |
+
"body_name": "astribot_torso_link_4",
|
| 470 |
+
"rgba": [
|
| 471 |
+
0.5,
|
| 472 |
+
0.5,
|
| 473 |
+
0.5,
|
| 474 |
+
1.0
|
| 475 |
+
],
|
| 476 |
+
"head_occluder": true
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"key": "g012",
|
| 480 |
+
"geom_id": 21,
|
| 481 |
+
"geom_name": "geom_21",
|
| 482 |
+
"body_name": "astribot_head_link_1",
|
| 483 |
+
"rgba": [
|
| 484 |
+
0.5,
|
| 485 |
+
0.5,
|
| 486 |
+
0.5,
|
| 487 |
+
1.0
|
| 488 |
+
],
|
| 489 |
+
"head_occluder": true
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"key": "g013",
|
| 493 |
+
"geom_id": 22,
|
| 494 |
+
"geom_name": "geom_22",
|
| 495 |
+
"body_name": "astribot_head_link_2",
|
| 496 |
+
"rgba": [
|
| 497 |
+
0.5,
|
| 498 |
+
0.5,
|
| 499 |
+
0.5,
|
| 500 |
+
1.0
|
| 501 |
+
],
|
| 502 |
+
"head_occluder": true
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"key": "g014",
|
| 506 |
+
"geom_id": 23,
|
| 507 |
+
"geom_name": "geom_23",
|
| 508 |
+
"body_name": "astribot_arm_left_link_1",
|
| 509 |
+
"rgba": [
|
| 510 |
+
0.5,
|
| 511 |
+
0.5,
|
| 512 |
+
0.5,
|
| 513 |
+
1.0
|
| 514 |
+
],
|
| 515 |
+
"head_occluder": false
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"key": "g015",
|
| 519 |
+
"geom_id": 25,
|
| 520 |
+
"geom_name": "geom_25",
|
| 521 |
+
"body_name": "astribot_arm_left_link_2",
|
| 522 |
+
"rgba": [
|
| 523 |
+
0.5,
|
| 524 |
+
0.5,
|
| 525 |
+
0.5,
|
| 526 |
+
1.0
|
| 527 |
+
],
|
| 528 |
+
"head_occluder": false
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"key": "g016",
|
| 532 |
+
"geom_id": 27,
|
| 533 |
+
"geom_name": "geom_27",
|
| 534 |
+
"body_name": "astribot_arm_left_link_3",
|
| 535 |
+
"rgba": [
|
| 536 |
+
0.5,
|
| 537 |
+
0.5,
|
| 538 |
+
0.5,
|
| 539 |
+
1.0
|
| 540 |
+
],
|
| 541 |
+
"head_occluder": false
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"key": "g017",
|
| 545 |
+
"geom_id": 29,
|
| 546 |
+
"geom_name": "geom_29",
|
| 547 |
+
"body_name": "astribot_arm_left_link_4",
|
| 548 |
+
"rgba": [
|
| 549 |
+
0.5,
|
| 550 |
+
0.5,
|
| 551 |
+
0.5,
|
| 552 |
+
1.0
|
| 553 |
+
],
|
| 554 |
+
"head_occluder": false
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"key": "g018",
|
| 558 |
+
"geom_id": 31,
|
| 559 |
+
"geom_name": "geom_31",
|
| 560 |
+
"body_name": "astribot_arm_left_link_5",
|
| 561 |
+
"rgba": [
|
| 562 |
+
0.5,
|
| 563 |
+
0.5,
|
| 564 |
+
0.5,
|
| 565 |
+
1.0
|
| 566 |
+
],
|
| 567 |
+
"head_occluder": false
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"key": "g019",
|
| 571 |
+
"geom_id": 33,
|
| 572 |
+
"geom_name": "geom_33",
|
| 573 |
+
"body_name": "astribot_arm_left_link_6",
|
| 574 |
+
"rgba": [
|
| 575 |
+
0.5,
|
| 576 |
+
0.5,
|
| 577 |
+
0.5,
|
| 578 |
+
1.0
|
| 579 |
+
],
|
| 580 |
+
"head_occluder": false
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"key": "g020",
|
| 584 |
+
"geom_id": 35,
|
| 585 |
+
"geom_name": "geom_35",
|
| 586 |
+
"body_name": "astribot_arm_left_link_7",
|
| 587 |
+
"rgba": [
|
| 588 |
+
0.5,
|
| 589 |
+
0.5,
|
| 590 |
+
0.5,
|
| 591 |
+
1.0
|
| 592 |
+
],
|
| 593 |
+
"head_occluder": false
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"key": "g021",
|
| 597 |
+
"geom_id": 37,
|
| 598 |
+
"geom_name": "geom_37",
|
| 599 |
+
"body_name": "astribot_gripper_left_base",
|
| 600 |
+
"rgba": [
|
| 601 |
+
0.9729999899864197,
|
| 602 |
+
0.9760000109672546,
|
| 603 |
+
0.984000027179718,
|
| 604 |
+
1.0
|
| 605 |
+
],
|
| 606 |
+
"head_occluder": false
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"key": "g022",
|
| 610 |
+
"geom_id": 38,
|
| 611 |
+
"geom_name": "astribot_gripper_right_left_geom",
|
| 612 |
+
"body_name": "astribot_gripper_left_base",
|
| 613 |
+
"rgba": [
|
| 614 |
+
0.5,
|
| 615 |
+
0.20000000298023224,
|
| 616 |
+
0.20000000298023224,
|
| 617 |
+
1.0
|
| 618 |
+
],
|
| 619 |
+
"head_occluder": false
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"key": "g023",
|
| 623 |
+
"geom_id": 39,
|
| 624 |
+
"geom_name": "astribot_gripper_left_geom_L1",
|
| 625 |
+
"body_name": "astribot_gripper_left_Link_L1",
|
| 626 |
+
"rgba": [
|
| 627 |
+
0.07999999821186066,
|
| 628 |
+
0.07999999821186066,
|
| 629 |
+
0.09000000357627869,
|
| 630 |
+
1.0
|
| 631 |
+
],
|
| 632 |
+
"head_occluder": false
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"key": "g024",
|
| 636 |
+
"geom_id": 40,
|
| 637 |
+
"geom_name": "astribot_gripper_left_geom_L11",
|
| 638 |
+
"body_name": "astribot_gripper_left_Link_L11",
|
| 639 |
+
"rgba": [
|
| 640 |
+
0.07999999821186066,
|
| 641 |
+
0.07999999821186066,
|
| 642 |
+
0.09000000357627869,
|
| 643 |
+
1.0
|
| 644 |
+
],
|
| 645 |
+
"head_occluder": false
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"key": "g025",
|
| 649 |
+
"geom_id": 41,
|
| 650 |
+
"geom_name": "astribot_gripper_left_geom_L112",
|
| 651 |
+
"body_name": "astribot_gripper_left_Link_L11",
|
| 652 |
+
"rgba": [
|
| 653 |
+
0.5,
|
| 654 |
+
0.20000000298023224,
|
| 655 |
+
0.20000000298023224,
|
| 656 |
+
1.0
|
| 657 |
+
],
|
| 658 |
+
"head_occluder": false
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"key": "g026",
|
| 662 |
+
"geom_id": 42,
|
| 663 |
+
"geom_name": "astribot_gripper_left_geom_L2",
|
| 664 |
+
"body_name": "astribot_gripper_left_Link_L2",
|
| 665 |
+
"rgba": [
|
| 666 |
+
0.07999999821186066,
|
| 667 |
+
0.07999999821186066,
|
| 668 |
+
0.09000000357627869,
|
| 669 |
+
1.0
|
| 670 |
+
],
|
| 671 |
+
"head_occluder": false
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"key": "g027",
|
| 675 |
+
"geom_id": 43,
|
| 676 |
+
"geom_name": "astribot_gripper_left_geom_R1",
|
| 677 |
+
"body_name": "astribot_gripper_left_Link_R1",
|
| 678 |
+
"rgba": [
|
| 679 |
+
0.07999999821186066,
|
| 680 |
+
0.07999999821186066,
|
| 681 |
+
0.09000000357627869,
|
| 682 |
+
1.0
|
| 683 |
+
],
|
| 684 |
+
"head_occluder": false
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"key": "g028",
|
| 688 |
+
"geom_id": 44,
|
| 689 |
+
"geom_name": "astribot_gripper_left_geom_R11",
|
| 690 |
+
"body_name": "astribot_gripper_left_Link_R11",
|
| 691 |
+
"rgba": [
|
| 692 |
+
0.07999999821186066,
|
| 693 |
+
0.07999999821186066,
|
| 694 |
+
0.09000000357627869,
|
| 695 |
+
1.0
|
| 696 |
+
],
|
| 697 |
+
"head_occluder": false
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"key": "g029",
|
| 701 |
+
"geom_id": 45,
|
| 702 |
+
"geom_name": "astribot_gripper_left_geom_R112",
|
| 703 |
+
"body_name": "astribot_gripper_left_Link_R11",
|
| 704 |
+
"rgba": [
|
| 705 |
+
0.5,
|
| 706 |
+
0.20000000298023224,
|
| 707 |
+
0.20000000298023224,
|
| 708 |
+
1.0
|
| 709 |
+
],
|
| 710 |
+
"head_occluder": false
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"key": "g030",
|
| 714 |
+
"geom_id": 46,
|
| 715 |
+
"geom_name": "astribot_gripper_left_geom_R2",
|
| 716 |
+
"body_name": "astribot_gripper_left_Link_R2",
|
| 717 |
+
"rgba": [
|
| 718 |
+
0.07999999821186066,
|
| 719 |
+
0.07999999821186066,
|
| 720 |
+
0.09000000357627869,
|
| 721 |
+
1.0
|
| 722 |
+
],
|
| 723 |
+
"head_occluder": false
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"key": "g031",
|
| 727 |
+
"geom_id": 47,
|
| 728 |
+
"geom_name": "geom_47",
|
| 729 |
+
"body_name": "astribot_arm_right_link_1",
|
| 730 |
+
"rgba": [
|
| 731 |
+
0.5,
|
| 732 |
+
0.5,
|
| 733 |
+
0.5,
|
| 734 |
+
1.0
|
| 735 |
+
],
|
| 736 |
+
"head_occluder": false
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"key": "g032",
|
| 740 |
+
"geom_id": 49,
|
| 741 |
+
"geom_name": "geom_49",
|
| 742 |
+
"body_name": "astribot_arm_right_link_2",
|
| 743 |
+
"rgba": [
|
| 744 |
+
0.5,
|
| 745 |
+
0.5,
|
| 746 |
+
0.5,
|
| 747 |
+
1.0
|
| 748 |
+
],
|
| 749 |
+
"head_occluder": false
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"key": "g033",
|
| 753 |
+
"geom_id": 51,
|
| 754 |
+
"geom_name": "geom_51",
|
| 755 |
+
"body_name": "astribot_arm_right_link_3",
|
| 756 |
+
"rgba": [
|
| 757 |
+
0.5,
|
| 758 |
+
0.5,
|
| 759 |
+
0.5,
|
| 760 |
+
1.0
|
| 761 |
+
],
|
| 762 |
+
"head_occluder": false
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"key": "g034",
|
| 766 |
+
"geom_id": 53,
|
| 767 |
+
"geom_name": "geom_53",
|
| 768 |
+
"body_name": "astribot_arm_right_link_4",
|
| 769 |
+
"rgba": [
|
| 770 |
+
0.5,
|
| 771 |
+
0.5,
|
| 772 |
+
0.5,
|
| 773 |
+
1.0
|
| 774 |
+
],
|
| 775 |
+
"head_occluder": false
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"key": "g035",
|
| 779 |
+
"geom_id": 55,
|
| 780 |
+
"geom_name": "geom_55",
|
| 781 |
+
"body_name": "astribot_arm_right_link_5",
|
| 782 |
+
"rgba": [
|
| 783 |
+
0.5,
|
| 784 |
+
0.5,
|
| 785 |
+
0.5,
|
| 786 |
+
1.0
|
| 787 |
+
],
|
| 788 |
+
"head_occluder": false
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"key": "g036",
|
| 792 |
+
"geom_id": 57,
|
| 793 |
+
"geom_name": "geom_57",
|
| 794 |
+
"body_name": "astribot_arm_right_link_6",
|
| 795 |
+
"rgba": [
|
| 796 |
+
0.5,
|
| 797 |
+
0.5,
|
| 798 |
+
0.5,
|
| 799 |
+
1.0
|
| 800 |
+
],
|
| 801 |
+
"head_occluder": false
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"key": "g037",
|
| 805 |
+
"geom_id": 59,
|
| 806 |
+
"geom_name": "geom_59",
|
| 807 |
+
"body_name": "astribot_arm_right_link_7",
|
| 808 |
+
"rgba": [
|
| 809 |
+
0.5,
|
| 810 |
+
0.5,
|
| 811 |
+
0.5,
|
| 812 |
+
1.0
|
| 813 |
+
],
|
| 814 |
+
"head_occluder": false
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"key": "g038",
|
| 818 |
+
"geom_id": 61,
|
| 819 |
+
"geom_name": "geom_61",
|
| 820 |
+
"body_name": "astribot_gripper_right_base",
|
| 821 |
+
"rgba": [
|
| 822 |
+
0.9729999899864197,
|
| 823 |
+
0.9760000109672546,
|
| 824 |
+
0.984000027179718,
|
| 825 |
+
1.0
|
| 826 |
+
],
|
| 827 |
+
"head_occluder": false
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"key": "g039",
|
| 831 |
+
"geom_id": 62,
|
| 832 |
+
"geom_name": "astribot_gripper_right_right_geom",
|
| 833 |
+
"body_name": "astribot_gripper_right_base",
|
| 834 |
+
"rgba": [
|
| 835 |
+
0.5,
|
| 836 |
+
0.20000000298023224,
|
| 837 |
+
0.20000000298023224,
|
| 838 |
+
1.0
|
| 839 |
+
],
|
| 840 |
+
"head_occluder": false
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"key": "g040",
|
| 844 |
+
"geom_id": 63,
|
| 845 |
+
"geom_name": "astribot_gripper_right_geom_L1",
|
| 846 |
+
"body_name": "astribot_gripper_right_Link_L1",
|
| 847 |
+
"rgba": [
|
| 848 |
+
0.07999999821186066,
|
| 849 |
+
0.07999999821186066,
|
| 850 |
+
0.09000000357627869,
|
| 851 |
+
1.0
|
| 852 |
+
],
|
| 853 |
+
"head_occluder": false
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"key": "g041",
|
| 857 |
+
"geom_id": 64,
|
| 858 |
+
"geom_name": "astribot_gripper_right_geom_L11",
|
| 859 |
+
"body_name": "astribot_gripper_right_Link_L11",
|
| 860 |
+
"rgba": [
|
| 861 |
+
0.07999999821186066,
|
| 862 |
+
0.07999999821186066,
|
| 863 |
+
0.09000000357627869,
|
| 864 |
+
1.0
|
| 865 |
+
],
|
| 866 |
+
"head_occluder": false
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"key": "g042",
|
| 870 |
+
"geom_id": 65,
|
| 871 |
+
"geom_name": "astribot_gripper_right_geom_L112",
|
| 872 |
+
"body_name": "astribot_gripper_right_Link_L11",
|
| 873 |
+
"rgba": [
|
| 874 |
+
0.5,
|
| 875 |
+
0.20000000298023224,
|
| 876 |
+
0.20000000298023224,
|
| 877 |
+
1.0
|
| 878 |
+
],
|
| 879 |
+
"head_occluder": false
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"key": "g043",
|
| 883 |
+
"geom_id": 66,
|
| 884 |
+
"geom_name": "astribot_gripper_right_geom_L2",
|
| 885 |
+
"body_name": "astribot_gripper_right_Link_L2",
|
| 886 |
+
"rgba": [
|
| 887 |
+
0.07999999821186066,
|
| 888 |
+
0.07999999821186066,
|
| 889 |
+
0.09000000357627869,
|
| 890 |
+
1.0
|
| 891 |
+
],
|
| 892 |
+
"head_occluder": false
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"key": "g044",
|
| 896 |
+
"geom_id": 67,
|
| 897 |
+
"geom_name": "astribot_gripper_right_geom_R1",
|
| 898 |
+
"body_name": "astribot_gripper_right_Link_R1",
|
| 899 |
+
"rgba": [
|
| 900 |
+
0.07999999821186066,
|
| 901 |
+
0.07999999821186066,
|
| 902 |
+
0.09000000357627869,
|
| 903 |
+
1.0
|
| 904 |
+
],
|
| 905 |
+
"head_occluder": false
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"key": "g045",
|
| 909 |
+
"geom_id": 68,
|
| 910 |
+
"geom_name": "astribot_gripper_right_geom_R11",
|
| 911 |
+
"body_name": "astribot_gripper_right_Link_R11",
|
| 912 |
+
"rgba": [
|
| 913 |
+
0.07999999821186066,
|
| 914 |
+
0.07999999821186066,
|
| 915 |
+
0.09000000357627869,
|
| 916 |
+
1.0
|
| 917 |
+
],
|
| 918 |
+
"head_occluder": false
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"key": "g046",
|
| 922 |
+
"geom_id": 69,
|
| 923 |
+
"geom_name": "astribot_gripper_right_geom_R112",
|
| 924 |
+
"body_name": "astribot_gripper_right_Link_R11",
|
| 925 |
+
"rgba": [
|
| 926 |
+
0.5,
|
| 927 |
+
0.20000000298023224,
|
| 928 |
+
0.20000000298023224,
|
| 929 |
+
1.0
|
| 930 |
+
],
|
| 931 |
+
"head_occluder": false
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"key": "g047",
|
| 935 |
+
"geom_id": 70,
|
| 936 |
+
"geom_name": "astribot_gripper_right_geom_R2",
|
| 937 |
+
"body_name": "astribot_gripper_right_Link_R2",
|
| 938 |
+
"rgba": [
|
| 939 |
+
0.07999999821186066,
|
| 940 |
+
0.07999999821186066,
|
| 941 |
+
0.09000000357627869,
|
| 942 |
+
1.0
|
| 943 |
+
],
|
| 944 |
+
"head_occluder": false
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"key": "g048",
|
| 948 |
+
"geom_id": 71,
|
| 949 |
+
"geom_name": "worktable_top",
|
| 950 |
+
"body_name": "worktable",
|
| 951 |
+
"rgba": [
|
| 952 |
+
0.8799999952316284,
|
| 953 |
+
0.8799999952316284,
|
| 954 |
+
0.8600000143051147,
|
| 955 |
+
1.0
|
| 956 |
+
],
|
| 957 |
+
"head_occluder": false
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"key": "g049",
|
| 961 |
+
"geom_id": 72,
|
| 962 |
+
"geom_name": "worktable_leg_0",
|
| 963 |
+
"body_name": "worktable",
|
| 964 |
+
"rgba": [
|
| 965 |
+
0.25,
|
| 966 |
+
0.27000001072883606,
|
| 967 |
+
0.30000001192092896,
|
| 968 |
+
1.0
|
| 969 |
+
],
|
| 970 |
+
"head_occluder": false
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"key": "g050",
|
| 974 |
+
"geom_id": 73,
|
| 975 |
+
"geom_name": "worktable_leg_1",
|
| 976 |
+
"body_name": "worktable",
|
| 977 |
+
"rgba": [
|
| 978 |
+
0.25,
|
| 979 |
+
0.27000001072883606,
|
| 980 |
+
0.30000001192092896,
|
| 981 |
+
1.0
|
| 982 |
+
],
|
| 983 |
+
"head_occluder": false
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"key": "g051",
|
| 987 |
+
"geom_id": 74,
|
| 988 |
+
"geom_name": "worktable_leg_2",
|
| 989 |
+
"body_name": "worktable",
|
| 990 |
+
"rgba": [
|
| 991 |
+
0.25,
|
| 992 |
+
0.27000001072883606,
|
| 993 |
+
0.30000001192092896,
|
| 994 |
+
1.0
|
| 995 |
+
],
|
| 996 |
+
"head_occluder": false
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"key": "g052",
|
| 1000 |
+
"geom_id": 75,
|
| 1001 |
+
"geom_name": "worktable_leg_3",
|
| 1002 |
+
"body_name": "worktable",
|
| 1003 |
+
"rgba": [
|
| 1004 |
+
0.25,
|
| 1005 |
+
0.27000001072883606,
|
| 1006 |
+
0.30000001192092896,
|
| 1007 |
+
1.0
|
| 1008 |
+
],
|
| 1009 |
+
"head_occluder": false
|
| 1010 |
+
}
|
| 1011 |
+
],
|
| 1012 |
+
"cup_body_names": [
|
| 1013 |
+
"cup_left_base",
|
| 1014 |
+
"cup_right_upper"
|
| 1015 |
+
],
|
| 1016 |
+
"cup_model": {
|
| 1017 |
+
"top_diameter_m": 0.08,
|
| 1018 |
+
"bottom_diameter_m": 0.0585,
|
| 1019 |
+
"height_m": 0.09,
|
| 1020 |
+
"wall_m": 0.0015
|
| 1021 |
+
},
|
| 1022 |
+
"table_center_m": [
|
| 1023 |
+
-0.028675198314,
|
| 1024 |
+
-0.715267648602,
|
| 1025 |
+
0.7404869737111963
|
| 1026 |
+
],
|
| 1027 |
+
"table_half_size_m": [
|
| 1028 |
+
0.6,
|
| 1029 |
+
0.3,
|
| 1030 |
+
0.025
|
| 1031 |
+
],
|
| 1032 |
+
"axes_and_camera_mounts_copied_from_native": true,
|
| 1033 |
+
"object_and_camera_states_copied_from_native": true,
|
| 1034 |
+
"task_regions_not_rendered": true,
|
| 1035 |
+
"hardware_sdk_ready": false,
|
| 1036 |
+
"mujoco_version": "3.3.7",
|
| 1037 |
+
"artifacts": {
|
| 1038 |
+
"geometry.npz": "4aa6239ac2e74809829a224d344be1c4c28bd9daad779e8de70a95e2437b91ae",
|
| 1039 |
+
"poses.npz": "48c0a492130c2c4551c6c3839413e3a2327f414ed7b4f8408652fbf3d3aaa0b0",
|
| 1040 |
+
"actions_30fps.npz": "0a1a772314d3c830fc90a676fcbe8698eac15607ae0b74afd14bd8242c1ccb0a"
|
| 1041 |
+
}
|
| 1042 |
+
}
|