diff --git a/Articulated_objects/README.md b/Articulated_objects/README.md new file mode 100644 index 0000000000000000000000000000000000000000..65acafe2dd3f5f5e1c0cb48e73742209dff1b43d --- /dev/null +++ b/Articulated_objects/README.md @@ -0,0 +1,103 @@ +# Articulated Objects + +📁 `ArtVIP/Articulated_objects` contains **206** articulated objects. + +## All object categories + +The articulated objects are organized into the following categories: + +| Category | Items | +|----------|-------| +| Household Items | basket, cardboard_box, mop, pump_bottle, stationery, tongs, toolbox, trash_can | +| Large Furniture | cupboard, wardrobe | +| Major Appliances | built-in_oven, dishwasher, refrigerator, standing_fan, toilet, washing_machine, water_dispenser | +| Small Appliances | coffee_machine, laptop, microwave, oven, rice_cooker, table_fan, water_dispenser | +| Small Furniture | cabinet, chair, faucet, filing_cabinet, shoe_cabinet, table | + +## Modular Interactive Objects +From all of the above objects, we selected a portion (**48**) and set up modular interactive functions, mainly providing three types of modular interactions that simulate physical behavior in the real world: + +### 1. Magnetic Door Effect + +Items like refrigerators with door closers or cabinets with magnetic strips exhibit different physical behavior near the closing point—such as increased pulling force and locking effect. Simulating this requires configuring joint control models to reflect the force change before and after the magnetic engagement threshold. + +**Objects with Magnetic Door Effect (14 total):** +- `large_furniture/cupboard/` (2 items) +- `major_appliances/dishwasher/` (4 items) +- `major_appliances/refrigerator/fridge/` (4 items) +- `major_appliances/refrigerator/refrigerator/` (4 items) + +
+ +
+ Magnetic Effect Dishwasher +

+ Magnetic Effect Dishwasher +

+
+ + +
+ Magnetic Effect Refrigerator +

+ Magnetic Effect Refrigerator +

+
+
+ +### 2. Damping Effect + +For objects like drawers or hinged cabinet doors, varying resistance is felt at different opening angles. To replicate this in simulation, we adjust joint stiffness and damping parameters to reflect variable force responses—mimicking the real-world feel of changing resistance. + +**Objects with Damping Effect (24 total):** +- `small_furniture/cabinet/` (9 items) +- `small_furniture/filing_cabinet/double_door/` (2 items) +- `small_furniture/filing_cabinet/drawers/` (5 items) +- `small_furniture/table/` (5 items) +- `major_appliances/dishwasher/` (3 items) + +
+ +
+ Damping Effect Cabinet +

+ Damping Effect Cabinet +

+
+ + +
+ Damping Effect Cabinet 2 +

+ Damping Effect Cabinet 2 +

+
+
+ +### 3. Trigger Interactions + +Scenes often include cross-object and inter-object interactions, such as buttons controlling lights or doors, fridge doors activating interior lights, or foot pedals opening trash bins. These behaviors require building control logic to link components, often in combination with the physical effects described above. + +**Objects with Trigger Interactions (10 total):** +- `household_items/trash_can/` (5 items) +- `small_appliances/microwave/` (3 items) +- `small_appliances/oven/` (1 item) +- `small_furniture/table/` (1 item) + +
+ +
+ Trigger Interactions Table +

+ Trigger Interactions Table +

+
+ + +
+ Trigger Interactions Trash Can +

+ Trigger Interactions Trash Can +

+
+
\ No newline at end of file diff --git a/Interactive_scene/README.md b/Interactive_scene/README.md new file mode 100644 index 0000000000000000000000000000000000000000..08a7382578ea23cdc383ca69b4e6e8fd001ab3cb --- /dev/null +++ b/Interactive_scene/README.md @@ -0,0 +1,99 @@ + + + +## Introduction to Interactive Scenes + +📁 `ArtVIP/Interactive_scene` contains **6** pre-configured digital-twin scenes. + +### Scene Features + +Each scene's USD includes joint drivers with preset stiffness and damping values, and the target position of the drivers is set to 0. + +**Interaction modes:** +- Clicking "Play" will not trigger any actions +- Dragging the joint position will move the object, and it will stop at different positions depending on the magnitude of the drag force + +### Customization Options + +All joint driver parameters can be adjusted as needed, and you can also control the target position via scripting to achieve specific requirements. + +For example, to make a joint open automatically, you need to set the joint stiffness value and target position. +Joint driver visualization: +
+ Joint Drive Visualization +
+ + +--- + +### Pre-configured Joint States + +The following demonstration sets all joint target positions to the enabled state: + + +
+ + +
+ Kitchen Scene +

+ 🔪 Kitchen Scene Interaction +

+
+ +
+ Small Living Room Scene +

+ 📺 Small Living Room Interaction +

+
+ + +
+ Parlor Scene +

+ 🛋️ Parlor Scene Interaction +

+
+ +
+ Bedroom Scene +

+ 🛏️ Bedroom Scene Interaction +

+
+ +
+ +--- + +### Interactive Demonstrations + +The following is a demonstration of interacting with the environment using drag and drop: + +
+
+ Kitchen Scene Example +

+ 🍳 Kitchen Interaction Showcase +

+
+
+ Living Room Scene Example +

+ 🛋️ Living Room Interaction Showcase +

+
+
+ Children Room Scene Example +

+ 🧸 Children Room Interaction Showcase +

+
+
+ Kitchen with Parlor Scene Example +

+ 🍽️ Kitchen with Parlor Interaction Showcase +

+
+
\ No newline at end of file diff --git a/Interactive_scene/childrenroom/.thumbs/256x256/Interactive_childrenroom.usd.png b/Interactive_scene/childrenroom/.thumbs/256x256/Interactive_childrenroom.usd.png new file mode 100644 index 0000000000000000000000000000000000000000..2a37faba2e8fdc4e16a394cca0e8448ceeeab008 --- /dev/null +++ b/Interactive_scene/childrenroom/.thumbs/256x256/Interactive_childrenroom.usd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0137e931888d37d3d14907a4154effb2b7ae0789e4b23ee2e06fe57b21c4672 +size 106814 diff --git a/Interactive_scene/childrenroom/.thumbs/256x256/childrenroom.usd.png b/Interactive_scene/childrenroom/.thumbs/256x256/childrenroom.usd.png index 22d6cfa4602f904635926c4b636be5ba97d86586..541780c536f63523ca732123c5a1f653bbdfd876 100644 --- a/Interactive_scene/childrenroom/.thumbs/256x256/childrenroom.usd.png +++ b/Interactive_scene/childrenroom/.thumbs/256x256/childrenroom.usd.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:752cdc17215d67d7f2266e3d01639cfa937a73912308891757af0797d2450a1c -size 106456 +oid sha256:21c752869d4e322e09eea42dfe33b84db6016431d215b86fe2697ba92ab30d64 +size 108355 diff --git a/Interactive_scene/childrenroom/.thumbs/256x256/childrenroom_target_position0.usd.png b/Interactive_scene/childrenroom/.thumbs/256x256/childrenroom_target_position0.usd.png index 31d66427e312d8b088769c1edb6969871a53d6fc..ada9968a4434914ecac83f37d17e70b941ccd2b5 100644 --- a/Interactive_scene/childrenroom/.thumbs/256x256/childrenroom_target_position0.usd.png +++ b/Interactive_scene/childrenroom/.thumbs/256x256/childrenroom_target_position0.usd.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:663be89ecd2e3db1c91a7b6c2bb7d177729a1aef506a6f8c3003c6f9f79c1966 -size 78577 +oid sha256:8e547b8004dadd4f88c83ab818de90012c459d77fc6020e604a1b8bf90fd6769 +size 61373 diff --git a/Interactive_scene/childrenroom/Interactive_childrenroom.usd b/Interactive_scene/childrenroom/Interactive_childrenroom.usd new file mode 100644 index 0000000000000000000000000000000000000000..4c4a4f121cd2d1a8bd6e818a56a202b277bd116c --- /dev/null +++ b/Interactive_scene/childrenroom/Interactive_childrenroom.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe0b7957a43512efec95f70c73190134a2db5cb52ef0676b56bb7fe346ac48ce +size 100362 diff --git a/Interactive_scene/childrenroom/childrenroom.usd b/Interactive_scene/childrenroom/childrenroom.usd deleted file mode 100644 index e7e9117b981f5e03d697c9f4d2f6b84aa47d9cd5..0000000000000000000000000000000000000000 --- a/Interactive_scene/childrenroom/childrenroom.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c70977530f13713204d647bad569f2081bc8eecef68cebbf68e4f327b857a9e8 -size 77707 diff --git a/Interactive_scene/childrenroom/childrenroom_target_position0.usd b/Interactive_scene/childrenroom/childrenroom_target_position0.usd deleted file mode 100644 index e25463582b42c89594af90fd562087a0caf64bcc..0000000000000000000000000000000000000000 --- a/Interactive_scene/childrenroom/childrenroom_target_position0.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:78c158b6e66dff4be9be1614ca5c72a1284db4d6cafa47ca2694c4ab770990de -size 45267 diff --git a/Interactive_scene/diningroom/.thumbs/256x256/Interactive_diningroom.usd.png b/Interactive_scene/diningroom/.thumbs/256x256/Interactive_diningroom.usd.png new file mode 100644 index 0000000000000000000000000000000000000000..6e13da598e11723efba6b37b49da4f918ea8804d --- /dev/null +++ b/Interactive_scene/diningroom/.thumbs/256x256/Interactive_diningroom.usd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e69b3adbbee2671480e7e2e279c676d348b704ea25ca711ad64168e909c79b3 +size 99194 diff --git a/Interactive_scene/diningroom/.thumbs/256x256/diningroom_target_position0.usd.png b/Interactive_scene/diningroom/.thumbs/256x256/diningroom_target_position0.usd.png index 78bea70eecb0701af48cca11cf4680d808ce56a1..3075163a3b1d3960029a407bdf9e5c650a447feb 100644 --- a/Interactive_scene/diningroom/.thumbs/256x256/diningroom_target_position0.usd.png +++ b/Interactive_scene/diningroom/.thumbs/256x256/diningroom_target_position0.usd.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bc11ae14dfde7fb35f752a8d51304cef382fd2b48ed424c8a22abfea72c34383 -size 89764 +oid sha256:7883057f6e2d7d53688cc177861cd8e547bb3fbcad9b2ec1d03b7ff9e90f9c9a +size 107376 diff --git a/Interactive_scene/diningroom/Interactive_diningroom.usd b/Interactive_scene/diningroom/Interactive_diningroom.usd new file mode 100644 index 0000000000000000000000000000000000000000..81ddd5e4059b32d99c086bba40af992923609282 --- /dev/null +++ b/Interactive_scene/diningroom/Interactive_diningroom.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:027639d902fc39b8621687695906ed028961e5cc2bf3a702bc6cb541a4c67632 +size 23210133 diff --git a/Interactive_scene/diningroom/diningroom.usd b/Interactive_scene/diningroom/diningroom.usd deleted file mode 100644 index dd0e9562c9dae523294a3e8409ec664a85c6139d..0000000000000000000000000000000000000000 --- a/Interactive_scene/diningroom/diningroom.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3debb1d4ba1a3568a1e9c3580b3e5ec860933e5ddbd1cb3e4e0f413e21bb4913 -size 23165797 diff --git a/Interactive_scene/diningroom/diningroom_target_position0.usd b/Interactive_scene/diningroom/diningroom_target_position0.usd deleted file mode 100644 index 33ef5c61c8a46d91c8fcb9988fb2f6946c1674dc..0000000000000000000000000000000000000000 --- a/Interactive_scene/diningroom/diningroom_target_position0.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8fa98daf3dd1cfc62b5cc8a98ac85fe2dc3b348e2b0f44f31361a95fdeedb6b0 -size 23193096 diff --git a/Interactive_scene/kitchen/.thumbs/256x256/Interactive_kitchen.usd.png b/Interactive_scene/kitchen/.thumbs/256x256/Interactive_kitchen.usd.png new file mode 100644 index 0000000000000000000000000000000000000000..930a3e0483ec5f491d95f58f0f2d41b36d7391dd --- /dev/null +++ b/Interactive_scene/kitchen/.thumbs/256x256/Interactive_kitchen.usd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dc6a065c673bf04e83d4991a631a4c46b9f3b6f9156e470044f3575676d5f4a +size 66939 diff --git a/Interactive_scene/kitchen/.thumbs/256x256/kitchen.usd.png b/Interactive_scene/kitchen/.thumbs/256x256/kitchen.usd.png index fea14a5d4e07261dffe9ac029a9fce70409856dd..901d1ecdfe2f3511884b36f27a4eec6dcad5088a 100644 --- a/Interactive_scene/kitchen/.thumbs/256x256/kitchen.usd.png +++ b/Interactive_scene/kitchen/.thumbs/256x256/kitchen.usd.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:74874f0654eefdf12371097afb853b9a630aebbecf5733ac3601459af24c1eec -size 90339 +oid sha256:7e51d15b63fb78391eca8da2beaf40f01e6322f5a279711f5ae13ef064faf9dc +size 102313 diff --git a/Interactive_scene/kitchen/.thumbs/256x256/kitchen_target_position0.usd.png b/Interactive_scene/kitchen/.thumbs/256x256/kitchen_target_position0.usd.png index 6c5488243e59f5db3224d6325b1d31901bf98377..7117eb4b546246b8fa81054ab31344eb5a43f141 100644 --- a/Interactive_scene/kitchen/.thumbs/256x256/kitchen_target_position0.usd.png +++ b/Interactive_scene/kitchen/.thumbs/256x256/kitchen_target_position0.usd.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:22fc88045e9dc78dbe4437308e99fb31a4f08a44568f26d5c3f317ea0f37c689 -size 37409 +oid sha256:6b4f4e99571c48f37862865116050b247f6bfdf9530974fa7743fcea970d2c4a +size 61760 diff --git a/Interactive_scene/kitchen/Interactive_kitchen.usd b/Interactive_scene/kitchen/Interactive_kitchen.usd new file mode 100644 index 0000000000000000000000000000000000000000..8194bb720c1b3c8d73d57afdab083ccd113e655a --- /dev/null +++ b/Interactive_scene/kitchen/Interactive_kitchen.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c0767f2efb2b8b7aea29f628030be91a808e739643287024058152920ba4f99 +size 20973332 diff --git a/Interactive_scene/kitchen/interactive_objects/script/fridge_control.py b/Interactive_scene/kitchen/interactive_objects/script/fridge_control.py new file mode 100644 index 0000000000000000000000000000000000000000..ad9484e6aa1914ed4d51c4ab5c912ceaad54c9eb --- /dev/null +++ b/Interactive_scene/kitchen/interactive_objects/script/fridge_control.py @@ -0,0 +1,241 @@ +import carb +from omni.kit.scripting import BehaviorScript +from omni.isaac.dynamic_control import _dynamic_control +from enum import Enum +from pxr import Gf +from threading import Thread +import marshal,json +import omni.kit.commands +from omni.isaac.core.prims import XFormPrim +import numpy as np +from pxr import Gf, Sdf, Usd, UsdGeom +from omni.isaac.core import SimulationContext, World +import math +from omni.replicator.core import utils +from pxr import PhysxSchema, UsdGeom, UsdPhysics +import math + + +def find_prim_path_by_name(prim_name: str, root_path: str = "/") -> str: + """Recursively find the full path by Prim name""" + stage = omni.usd.get_context().get_stage() + prim = stage.GetPrimAtPath(root_path) + + def _find_prim(prim): + if prim.GetName() == prim_name: + return prim.GetPath().pathString + for child in prim.GetChildren(): + result = _find_prim(child) + if result: + return result + return None + + found_path = _find_prim(prim) + if not found_path: + raise RuntimeError(f"Prim '{prim_name}' not found under {root_path}") + return found_path + + + +# 1. prim init +# joint_prim = XFormPrim(find_prim_path_by_name("fridge_E_body_61")) +# right_revolutejoint_path = find_prim_path_by_name("RevoluteJoint_fridge_right") +# left_revolutejoint_path = find_prim_path_by_name("RevoluteJoint_fridge_left") + +# 2. articulation Root prim +root_articulation_prim = find_prim_path_by_name("fridge_E_body_61") +stage = omni.usd.get_context().get_stage() +# 3. joint name +joint_names = ["RevoluteJoint_fridge_left","RevoluteJoint_fridge_right"] +joint_threshold = 0.4 +# 4. Joint information +joints_info = {} +for joint_name in joint_names: + joint_prim_path = find_prim_path_by_name(joint_name) + joint_prim_obj = stage.GetPrimAtPath(joint_prim_path) + joint = UsdPhysics.RevoluteJoint(joint_prim_obj) + + joints_info[joint_name] = { + 'prim': joint, + 'lower_limit': joint.GetLowerLimitAttr().Get(), + 'upper_limit': joint.GetUpperLimitAttr().Get() + } + +# 5. Joint limits and limit differences +joint_limits = {} +joint_limit_diffs = {} + +for i, joint_name in enumerate(joint_names): + joint_limits[joint_name] = { + 'lower': joints_info[joint_name]['lower_limit'], + 'upper': joints_info[joint_name]['upper_limit'] + } + joint_limit_diffs[joint_name] = ( + joints_info[joint_name]['upper_limit'] - joints_info[joint_name]['lower_limit'] + ) +# joint_limit_diff1 = joint_limit_diffs[joint_names[0]] +# joint_limit_diff2 = joint_limit_diffs[joint_names[1]] +# 5. light prim +light_scopes=[ + XFormPrim(find_prim_path_by_name("fridge_light")) +] + +class CupboardControl(BehaviorScript): + def on_init(self): + self.phsx_freq = 120 + self.joint_handles = [] + self.dc = _dynamic_control.acquire_dynamic_control_interface() + light_scopes[0].set_visibility(False) + # light_scopes[1].set_visibility(False) + # init_pose + # self.local_pose_button, self.local_ort_button_down = joint_prim.get_local_pose() + # self.local_pose_door, self.local_ort_drawer_up = door_prim.get_local_pose() + + # Find Root + self.art = self.dc.get_articulation(root_articulation_prim) + if self.art == _dynamic_control.INVALID_HANDLE: + print('the prim is not an articulation') + + + def on_destroy(self): + pass + + def on_play(self): + # + self.simulation_context = SimulationContext( + stage_units_in_meters=1.0, + physics_dt=1.0/120, + rendering_dt=1.0/120 + ) + + def on_pause(self): + pass + + def on_stop(self): + self.init_start=True + # for light in light_scopes: + # light.set_visibility(False) + light_scopes[0].set_visibility(False) + # light_scopes[1].set_visibility(False) + # back to initial pose + # joint_prim.set_local_pose(translation=self.local_pose_button) + pass + + def on_update(self, current_time: float, delta_time: float): + if delta_time <= 0: + return + self.active_art() + self.apply_behavior() + + def active_art(self): + # Find Root + self.art = self.dc.get_articulation(root_articulation_prim) + if self.art == _dynamic_control.INVALID_HANDLE: + print('the prim is not an articulation') + self.dc.wake_up_articulation(self.art) + + # Find joint + self.joint_handles = [] + for joint_name in joint_names: + self.joint_handles.append( self.dc.find_articulation_dof(self.art, joint_name)) + + def apply_behavior(self): + self.light_control() + self.damping_stiffness_change() + self.target_pose_control() + + + def light_control(self): + self.left_joint_state = self.dc.get_dof_state(self.joint_handles[0], _dynamic_control.STATE_ALL).pos + self.right_joint_state = self.dc.get_dof_state(self.joint_handles[1], _dynamic_control.STATE_ALL).pos + # print("self.Joint1_state",self.Joint1_state) + # 联合判断双门状态 + doors_open = [ + self.left_joint_state > math.radians(30), + self.right_joint_state > math.radians(30) + ] + + # 灯光控制逻辑 + current_visibility = light_scopes[0].get_visibility() + if any(doors_open): + if not current_visibility: + for light in light_scopes: + light.set_visibility(True) + else: + if current_visibility: + for light in light_scopes: + light.set_visibility(False) + + # if self.right_joint_state > math.radians(30) : + # if light_scopes[0].get_visibility() == False: + # for light in light_scopes: + # light.set_visibility(True) + # # self.dc.set_dof_position_target(self.joint_handles[1], 140) + + # elif self.right_joint_state < math.radians(30): + # if light_scopes[0].get_visibility() == True: + # for light in light_scopes: + # light.set_visibility(False) + # self.dc.set_dof_position_target(self.joint_handles[1], 0) + + + def damping_stiffness_change(self): + + for i, joint_name in enumerate(joint_names): + # Get joint state + joint_state = self.dc.get_dof_state(self.joint_handles[i], _dynamic_control.STATE_ALL).pos + # Get joint drive API + joint_drive_path = stage.GetPrimAtPath(find_prim_path_by_name(joint_name)) + joint_drive = UsdPhysics.DriveAPI.Get(joint_drive_path, "angular") + # Get joint limit difference and set stiffness + + joint_limit_diff = joint_limit_diffs[joint_names[i]] + joint_drive.GetStiffnessAttr().Set(self.calculate_stiffness(joint_state)) + # stiffness = joint_drive.GetStiffnessAttr().Get() + # damping = joint_drive.GetDampingAttr().Get() + # print(f"{joint_name} - Stiffness: {stiffness}, Damping: {damping}") + def calculate_stiffness(self,joint_state): + """Calculate stiffness value based on joint angle + + Args: + joint_state (float): Joint angle (radians) + joint_limit (float): Joint limit value + + Returns: + float: Stiffness value + """ + max_stiffness = 20 # 最大刚度 + # max_stiffness = 50 # 最大刚度 + min_stiffness = 2 # 最小刚度 + decay_rate = 3 # 衰减率 + # 使用指数衰减函数计算刚度 + if abs(joint_state) >= abs(math.radians(joint_threshold * (joints_info[joint_names[i]]['upper_limit']+joints_info[joint_names[i]]['lower_limit']))): + return min_stiffness + + # 计算刚度值:stiffness = max_stiffness * e^(-decay_rate * angle) + stiffness = max_stiffness * math.exp(-decay_rate * abs(joint_state)) + + # 确保刚度值在最小值和最大值之间 + return max(min_stiffness, min(stiffness, max_stiffness)) + + def target_pose_control(self): + for i, joint_handle in enumerate(self.joint_handles): + # Get joint state + joint_state = self.dc.get_dof_state(joint_handle, _dynamic_control.STATE_ALL).pos + + # print("joint_state", joint_state) + # print("joints_info[joint_names[i]]['upper_limit']", joints_info[joint_names[i]]['upper_limit']) + # Get joint limit difference + # Set target position based on joint state + if abs(joints_info[joint_names[i]]['lower_limit']) <= math.radians(abs(joints_info[joint_names[i]]['upper_limit'])): + if joint_state > math.radians(joint_threshold * (joints_info[joint_names[i]]['upper_limit']+joints_info[joint_names[i]]['lower_limit'])): + + self.dc.set_dof_position_target(joint_handle, math.radians(joints_info[joint_names[i]]['upper_limit'])) + else: + self.dc.set_dof_position_target(joint_handle, math.radians(joints_info[joint_names[i]]['lower_limit'])) + else: + if joint_state < math.radians(joint_threshold * (joints_info[joint_names[i]]['upper_limit']+joints_info[joint_names[i]]['lower_limit'])): + self.dc.set_dof_position_target(joint_handle, math.radians(joints_info[joint_names[i]]['lower_limit'])) + else: + self.dc.set_dof_position_target(joint_handle, math.radians(joints_info[joint_names[i]]['upper_limit'])) + # print("self.dc.get_dof_position_target=",self.dc.get_dof_position_target(joint_handle)) diff --git a/Interactive_scene/kitchen/interactive_objects/script/light_control.py b/Interactive_scene/kitchen/interactive_objects/script/light_control.py index f9d288be728894e032b9dd27cb018b616ef42a6d..66057fd940e52b859da71f515409bad10f8f1a77 100755 --- a/Interactive_scene/kitchen/interactive_objects/script/light_control.py +++ b/Interactive_scene/kitchen/interactive_objects/script/light_control.py @@ -123,19 +123,19 @@ class RoomLightControl(BehaviorScript): current_visibility = light_scopes[0].get_visibility() # 定义开关阈值和状态 - SWITCH_ON_THRESHOLD = math.radians(1) + SWITCH_ON_THRESHOLD = math.radians(11) SWITCH_ON_POSITION = math.radians(13) SWITCH_OFF_POSITION = math.radians(0) # 判断开关状态并控制灯光 - if self.Joint1_state > SWITCH_ON_THRESHOLD: + if self.Joint1_state < SWITCH_ON_THRESHOLD: # 开关打开状态 if not current_visibility: # 如果灯是关闭的,则打开所有灯 for light in light_scopes: light.set_visibility(True) # 设置开关到打开位置 - self.dc.set_dof_position_target(self.joint_handles[0], SWITCH_ON_POSITION) + self.dc.set_dof_position_target(self.joint_handles[0], SWITCH_OFF_POSITION) else: # 开关关闭状态 if current_visibility: @@ -143,7 +143,7 @@ class RoomLightControl(BehaviorScript): for light in light_scopes: light.set_visibility(False) # 设置开关到关闭位置 - self.dc.set_dof_position_target(self.joint_handles[0], SWITCH_OFF_POSITION) + self.dc.set_dof_position_target(self.joint_handles[0], SWITCH_ON_POSITION) except Exception as e: carb.log_error(f"Error in light control: {str(e)}") diff --git a/Interactive_scene/kitchen/kitchen.usd b/Interactive_scene/kitchen/kitchen.usd deleted file mode 100644 index 39741434d2acdff31688246ad006d2cb863a3bd5..0000000000000000000000000000000000000000 --- a/Interactive_scene/kitchen/kitchen.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e35c82d1608743dfd10d311752f709f856b3f8ac7d4e95a15cc2a25ff48187b -size 20768908 diff --git a/Interactive_scene/kitchen/kitchen_target_position0.usd b/Interactive_scene/kitchen/kitchen_target_position0.usd deleted file mode 100644 index 30431539f9512ef4755ab4af398c70c14c49c9d7..0000000000000000000000000000000000000000 --- a/Interactive_scene/kitchen/kitchen_target_position0.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:68dd2324c3997d564db72de4b910af44172d42fb510fd97fe17b72e6fd5cb804 -size 20739250 diff --git a/Interactive_scene/kitchen_with_parlor/.thumbs/256x256/Interactive_kitchen.usd.png b/Interactive_scene/kitchen_with_parlor/.thumbs/256x256/Interactive_kitchen.usd.png new file mode 100644 index 0000000000000000000000000000000000000000..bc13d3b790d95353b04e1ff9d8d5926a0dce3022 --- /dev/null +++ b/Interactive_scene/kitchen_with_parlor/.thumbs/256x256/Interactive_kitchen.usd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a47e997f212c2b12f6e2fa629515813409f160eb2eb70e6997df4817b1ad518 +size 74370 diff --git a/Interactive_scene/kitchen_with_parlor/.thumbs/256x256/kitchen_with_parlor_1.usd.png b/Interactive_scene/kitchen_with_parlor/.thumbs/256x256/kitchen_with_parlor_1.usd.png new file mode 100644 index 0000000000000000000000000000000000000000..733eeaaad610d194f28b7503fcbe954bd293577e --- /dev/null +++ b/Interactive_scene/kitchen_with_parlor/.thumbs/256x256/kitchen_with_parlor_1.usd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ae7e8faaa25535af1cfb3caa610d77b8191c48eacdd9d67682bbb0916477fb2 +size 66887 diff --git a/Interactive_scene/kitchen_with_parlor/Interactive_kitchen_with_parlor.usd b/Interactive_scene/kitchen_with_parlor/Interactive_kitchen_with_parlor.usd new file mode 100644 index 0000000000000000000000000000000000000000..9e7150b3ba2621a3c7a79fb91141e5f5ff3abff1 --- /dev/null +++ b/Interactive_scene/kitchen_with_parlor/Interactive_kitchen_with_parlor.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c48ff13bc03db8d38900d14ab4bb45ff7bd9ac52935c45df3dbac291222d75f +size 88799 diff --git a/Interactive_scene/kitchen_with_parlor/kitchen_with_parlor.usd b/Interactive_scene/kitchen_with_parlor/kitchen_with_parlor.usd deleted file mode 100644 index 66ee4a8990afb0c87fe686f770dd48eacde81d50..0000000000000000000000000000000000000000 --- a/Interactive_scene/kitchen_with_parlor/kitchen_with_parlor.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a80e8f2f16bae2aee7d1f81c548a9f55d51e66517483f054b54bb7b8fc8cfbc -size 30819 diff --git a/Interactive_scene/kitchen_with_parlor/kitchen_with_parlor_target_position0.usd b/Interactive_scene/kitchen_with_parlor/kitchen_with_parlor_target_position0.usd deleted file mode 100644 index 90c212732e97a95029fcf4aca7c30e315f687589..0000000000000000000000000000000000000000 --- a/Interactive_scene/kitchen_with_parlor/kitchen_with_parlor_target_position0.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7a38d37d3de6487794bbb242d34dbe41a9e7a260035fccb112490e82b81f721 -size 27086 diff --git a/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/extensions.json b/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/extensions.json new file mode 100755 index 0000000000000000000000000000000000000000..ea614ed629affdd0d97abcc881b511d3de69a25c --- /dev/null +++ b/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "ms-python.python", + "ms-python.vscode-pylance" + ], +} \ No newline at end of file diff --git a/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/launch.json b/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/launch.json new file mode 100755 index 0000000000000000000000000000000000000000..8a22f73af48687152cef11e4098995885fcaff48 --- /dev/null +++ b/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Python: Attach (windows-x86_64/linux-x86_64)", + "type": "python", + "request": "attach", + "pathMappings": [ + { + "localRoot": "${workspaceFolder}", + "remoteRoot": "${workspaceFolder}" + }], + "port": 3000, + "host": "127.0.0.1", + "subProcess": true, + "runtimeArgs": [ + "--preserve-symlinks", + "--preserve-symlinks-main" + ] + } + ] +} diff --git a/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/settings.json b/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/settings.json new file mode 100755 index 0000000000000000000000000000000000000000..63a0b3e70ae6047c1977e3c9e8e368ed5c157fbc --- /dev/null +++ b/Interactive_scene/kitchen_with_parlor/oven/resource/script/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "editor.rulers": [120], + "python.languageServer": "Pylance", + "python.formatting.provider": "black", + "python.formatting.blackArgs": ["--line-length", "120"], + "python.linting.enabled": true, + "python.linting.pylintEnabled": false, + "python.linting.flake8Enabled": true, + "python.linting.flake8Args": ["--max-line-length=120"] +} diff --git a/Interactive_scene/kitchen_with_parlor/oven/resource/script/fridge_control.py b/Interactive_scene/kitchen_with_parlor/oven/resource/script/fridge_control.py new file mode 100644 index 0000000000000000000000000000000000000000..94f8cf32d593f88408268623c757756a7e4a5014 --- /dev/null +++ b/Interactive_scene/kitchen_with_parlor/oven/resource/script/fridge_control.py @@ -0,0 +1,241 @@ +import carb +from omni.kit.scripting import BehaviorScript +from omni.isaac.dynamic_control import _dynamic_control +from enum import Enum +from pxr import Gf +from threading import Thread +import marshal,json +import omni.kit.commands +from omni.isaac.core.prims import XFormPrim +import numpy as np +from pxr import Gf, Sdf, Usd, UsdGeom +from omni.isaac.core import SimulationContext, World +import math +from omni.replicator.core import utils +from pxr import PhysxSchema, UsdGeom, UsdPhysics +import math + + +def find_prim_path_by_name(prim_name: str, root_path: str = "/") -> str: + """Recursively find the full path by Prim name""" + stage = omni.usd.get_context().get_stage() + prim = stage.GetPrimAtPath(root_path) + + def _find_prim(prim): + if prim.GetName() == prim_name: + return prim.GetPath().pathString + for child in prim.GetChildren(): + result = _find_prim(child) + if result: + return result + return None + + found_path = _find_prim(prim) + if not found_path: + raise RuntimeError(f"Prim '{prim_name}' not found under {root_path}") + return found_path + + + +# 1. prim init +# joint_prim = XFormPrim(find_prim_path_by_name("fridge_E_body_61")) +# right_revolutejoint_path = find_prim_path_by_name("RevoluteJoint_fridge_right") +# left_revolutejoint_path = find_prim_path_by_name("RevoluteJoint_fridge_left") + +# 2. articulation Root prim +root_articulation_prim = find_prim_path_by_name("E_body_9") +stage = omni.usd.get_context().get_stage() +# 3. joint name +joint_names = ["RevoluteJoint_skbx_25_right1","RevoluteJoint_skbx_25_right"] +joint_threshold = 0.4 +# 4. Joint information +joints_info = {} +for joint_name in joint_names: + joint_prim_path = find_prim_path_by_name(joint_name) + joint_prim_obj = stage.GetPrimAtPath(joint_prim_path) + joint = UsdPhysics.RevoluteJoint(joint_prim_obj) + + joints_info[joint_name] = { + 'prim': joint, + 'lower_limit': joint.GetLowerLimitAttr().Get(), + 'upper_limit': joint.GetUpperLimitAttr().Get() + } + +# 5. Joint limits and limit differences +joint_limits = {} +joint_limit_diffs = {} + +for i, joint_name in enumerate(joint_names): + joint_limits[joint_name] = { + 'lower': joints_info[joint_name]['lower_limit'], + 'upper': joints_info[joint_name]['upper_limit'] + } + joint_limit_diffs[joint_name] = ( + joints_info[joint_name]['upper_limit'] - joints_info[joint_name]['lower_limit'] + ) +# joint_limit_diff1 = joint_limit_diffs[joint_names[0]] +# joint_limit_diff2 = joint_limit_diffs[joint_names[1]] +# 5. light prim +light_scopes=[ + XFormPrim(find_prim_path_by_name("fridge_4_light")) +] + +class CupboardControl(BehaviorScript): + def on_init(self): + self.phsx_freq = 120 + self.joint_handles = [] + self.dc = _dynamic_control.acquire_dynamic_control_interface() + light_scopes[0].set_visibility(False) + # light_scopes[1].set_visibility(False) + # init_pose + # self.local_pose_button, self.local_ort_button_down = joint_prim.get_local_pose() + # self.local_pose_door, self.local_ort_drawer_up = door_prim.get_local_pose() + + # Find Root + self.art = self.dc.get_articulation(root_articulation_prim) + if self.art == _dynamic_control.INVALID_HANDLE: + print('the prim is not an articulation') + + + def on_destroy(self): + pass + + def on_play(self): + # + self.simulation_context = SimulationContext( + stage_units_in_meters=1.0, + physics_dt=1.0/120, + rendering_dt=1.0/120 + ) + + def on_pause(self): + pass + + def on_stop(self): + self.init_start=True + # for light in light_scopes: + # light.set_visibility(False) + light_scopes[0].set_visibility(False) + # light_scopes[1].set_visibility(False) + # back to initial pose + # joint_prim.set_local_pose(translation=self.local_pose_button) + pass + + def on_update(self, current_time: float, delta_time: float): + if delta_time <= 0: + return + self.active_art() + self.apply_behavior() + + def active_art(self): + # Find Root + self.art = self.dc.get_articulation(root_articulation_prim) + if self.art == _dynamic_control.INVALID_HANDLE: + print('the prim is not an articulation') + self.dc.wake_up_articulation(self.art) + + # Find joint + self.joint_handles = [] + for joint_name in joint_names: + self.joint_handles.append( self.dc.find_articulation_dof(self.art, joint_name)) + + def apply_behavior(self): + self.light_control() + self.damping_stiffness_change() + self.target_pose_control() + + + def light_control(self): + self.left_joint_state = self.dc.get_dof_state(self.joint_handles[0], _dynamic_control.STATE_ALL).pos + self.right_joint_state = self.dc.get_dof_state(self.joint_handles[1], _dynamic_control.STATE_ALL).pos + # print("self.Joint1_state",self.Joint1_state) + # 联合判断双门状态 + doors_open = [ + self.left_joint_state > math.radians(30), + self.right_joint_state > math.radians(30) + ] + + # 灯光控制逻辑 + current_visibility = light_scopes[0].get_visibility() + if any(doors_open): + if not current_visibility: + for light in light_scopes: + light.set_visibility(True) + else: + if current_visibility: + for light in light_scopes: + light.set_visibility(False) + + # if self.right_joint_state > math.radians(30) : + # if light_scopes[0].get_visibility() == False: + # for light in light_scopes: + # light.set_visibility(True) + # # self.dc.set_dof_position_target(self.joint_handles[1], 140) + + # elif self.right_joint_state < math.radians(30): + # if light_scopes[0].get_visibility() == True: + # for light in light_scopes: + # light.set_visibility(False) + # self.dc.set_dof_position_target(self.joint_handles[1], 0) + + + def damping_stiffness_change(self): + + for i, joint_name in enumerate(joint_names): + # Get joint state + joint_state = self.dc.get_dof_state(self.joint_handles[i], _dynamic_control.STATE_ALL).pos + # Get joint drive API + joint_drive_path = stage.GetPrimAtPath(find_prim_path_by_name(joint_name)) + joint_drive = UsdPhysics.DriveAPI.Get(joint_drive_path, "angular") + # Get joint limit difference and set stiffness + + joint_limit_diff = joint_limit_diffs[joint_names[i]] + joint_drive.GetStiffnessAttr().Set(self.calculate_stiffness(joint_state)) + # stiffness = joint_drive.GetStiffnessAttr().Get() + # damping = joint_drive.GetDampingAttr().Get() + # print(f"{joint_name} - Stiffness: {stiffness}, Damping: {damping}") + def calculate_stiffness(self,joint_state): + """Calculate stiffness value based on joint angle + + Args: + joint_state (float): Joint angle (radians) + joint_limit (float): Joint limit value + + Returns: + float: Stiffness value + """ + max_stiffness = 20 # 最大刚度 + # max_stiffness = 50 # 最大刚度 + min_stiffness = 2 # 最小刚度 + decay_rate = 3 # 衰减率 + # 使用指数衰减函数计算刚度 + if abs(joint_state) >= abs(math.radians(joint_threshold * (joints_info[joint_names[i]]['upper_limit']+joints_info[joint_names[i]]['lower_limit']))): + return min_stiffness + + # 计算刚度值:stiffness = max_stiffness * e^(-decay_rate * angle) + stiffness = max_stiffness * math.exp(-decay_rate * abs(joint_state)) + + # 确保刚度值在最小值和最大值之间 + return max(min_stiffness, min(stiffness, max_stiffness)) + + def target_pose_control(self): + for i, joint_handle in enumerate(self.joint_handles): + # Get joint state + joint_state = self.dc.get_dof_state(joint_handle, _dynamic_control.STATE_ALL).pos + + # print("joint_state", joint_state) + # print("joints_info[joint_names[i]]['upper_limit']", joints_info[joint_names[i]]['upper_limit']) + # Get joint limit difference + # Set target position based on joint state + if abs(joints_info[joint_names[i]]['lower_limit']) <= math.radians(abs(joints_info[joint_names[i]]['upper_limit'])): + if joint_state > math.radians(joint_threshold * (joints_info[joint_names[i]]['upper_limit']+joints_info[joint_names[i]]['lower_limit'])): + + self.dc.set_dof_position_target(joint_handle, math.radians(joints_info[joint_names[i]]['upper_limit'])) + else: + self.dc.set_dof_position_target(joint_handle, math.radians(joints_info[joint_names[i]]['lower_limit'])) + else: + if joint_state < math.radians(joint_threshold * (joints_info[joint_names[i]]['upper_limit']+joints_info[joint_names[i]]['lower_limit'])): + self.dc.set_dof_position_target(joint_handle, math.radians(joints_info[joint_names[i]]['lower_limit'])) + else: + self.dc.set_dof_position_target(joint_handle, math.radians(joints_info[joint_names[i]]['upper_limit'])) + # print("self.dc.get_dof_position_target=",self.dc.get_dof_position_target(joint_handle)) diff --git a/Interactive_scene/kitchen_with_parlor/oven/resource/script/oven_control.py b/Interactive_scene/kitchen_with_parlor/oven/resource/script/oven_control.py new file mode 100755 index 0000000000000000000000000000000000000000..141beb141924ac1297a2d36588aa16730aab391b --- /dev/null +++ b/Interactive_scene/kitchen_with_parlor/oven/resource/script/oven_control.py @@ -0,0 +1,195 @@ +import carb +from omni.kit.scripting import BehaviorScript +from omni.isaac.dynamic_control import _dynamic_control +from enum import Enum +from pxr import Gf +from threading import Thread +import marshal,json +import omni.kit.commands +from omni.isaac.core.prims import XFormPrim +import numpy as np +from pxr import PhysxSchema, UsdGeom, UsdPhysics +import math +from omni.isaac.core import SimulationContext, World +# from isaacsim.core.prims import XFormPrim +# stiffness :0.8 Damping: 0.05 + + +def find_prim_path_by_name(prim_name: str, root_path: str = "/") -> str: + """Recursively find the full path by Prim name""" + stage = omni.usd.get_context().get_stage() + prim = stage.GetPrimAtPath(root_path) + + def _find_prim(prim): + if prim.GetName() == prim_name: + return prim.GetPath().pathString + for child in prim.GetChildren(): + result = _find_prim(child) + if result: + return result + return None + + found_path = _find_prim(prim) + if not found_path: + raise RuntimeError(f"Prim '{prim_name}' not found under {root_path}") + return found_path + +# # 1. prim init +# button_prim = XFormPrim("/sm_warehouse_a01_h10m_cornerout_01/micro_wave_oven_2/Xform") +# door_prim = XFormPrim("/sm_warehouse_a01_h10m_cornerout_01/micro_wave_oven_2/oven/oven_door") +# # 2. articulation Root prim +# root_articulation_prim = "/sm_warehouse_a01_h10m_cornerout_01/micro_wave_oven_2/oven/oven_base" +# # 3. joint name +# joint_names = ["PrismaticJoint", "RevoluteJoint"] +# # 4. joint num +# num_arm_dof = 2 + +# light_scopes=[XFormPrim("/sm_warehouse_a01_h10m_cornerout_01/micro_wave_oven_2/Lights_on"), +# XFormPrim("/sm_warehouse_a01_h10m_cornerout_01/micro_wave_oven_2/Lights_on_1"), +# ] +# for i in range(0, light_scopes.__len__()): +# light_scopes[i].set_visibility(False) +# index = random.randint(0, len(light_scopes)-1) +# light_scopes[index].set_visibility(True) +button_prim = XFormPrim(find_prim_path_by_name("oven_E_button_5")) +print("button_prim", button_prim.prim_path) +# door_prim = XFormPrim(find_prim_path_by_name("oven_E_door_4")) +# print("door_prim", door_prim.prim_path) +root_articulation_prim = find_prim_path_by_name("oven_E_body_7") +print("root_articulation_prim", root_articulation_prim) +joint_names = ["PrismaticJoint_oven_down", "RevoluteJoint_oven_up"] +light_scopes=[XFormPrim(find_prim_path_by_name("oven_light")) + ] +revolutejoint_path = find_prim_path_by_name("RevoluteJoint_oven_up") + + +class MicrowaveOverControl(BehaviorScript): + def on_init(self): + self.phsx_freq = 120 + self.joint_handles = [] + self.dc = _dynamic_control.acquire_dynamic_control_interface() + light_scopes[0].set_visibility(False) + self.Stiffness_max = 0.8 + self.Stiffness_min = 0.08 + + # 初始化门的锁定状态 + self.door_locked = True + + # init_pose + self.local_pose_button, self.local_ort_drawer_down = button_prim.get_local_pose() + # self.local_pose_door, self.local_ort_drawer_up = door_prim.get_local_pose() + + # Find Root + self.art = self.dc.get_articulation(root_articulation_prim) + if self.art == _dynamic_control.INVALID_HANDLE: + print('the prim is not an articulation') + stage = omni.usd.get_context().get_stage() + self.revoluteJoint_drive_path = stage.GetPrimAtPath(revolutejoint_path) + self.revoluteJoint_drive = UsdPhysics.DriveAPI.Get(self.revoluteJoint_drive_path, "angular") + + + def on_destroy(self): + pass + + def on_play(self): + self.simulation_context = SimulationContext( + stage_units_in_meters=1.0, + physics_dt=1.0/120, + rendering_dt=1.0/120 + ) + + + def on_pause(self): + pass + + def on_stop(self): + self.init_start=True + light_scopes[0].set_visibility(False) + # back to initial pose + # button_prim.set_local_pose(translation=self.local_pose_button) + # door_prim.set_local_pose(translation=self.local_pose_door) + self.door_locked = True + carb.log_info(f"{type(self).__name__}.on_stop()->{self.prim_path}") + pass + + def on_update(self, current_time: float, delta_time: float): + if delta_time <= 0: + return + self.dc = _dynamic_control.acquire_dynamic_control_interface() + self.active_art() + self.apply_behavior() + + def active_art(self): + # Find Root + self.art = self.dc.get_articulation(root_articulation_prim) + if self.art == _dynamic_control.INVALID_HANDLE: + print('the prim is not an articulation') + self.dc.wake_up_articulation(self.art) + + # Find joint + self.joint_handles = [] + for joint_name in joint_names: + self.joint_handles.append( self.dc.find_articulation_dof(self.art, joint_name)) + # print("self.joint_handles",self.joint_handles) + def apply_behavior(self): + self.oven_control() + + # def oven_control(self): + # self.Joint0_state = self.dc.get_dof_state(self.joint_handles[0], _dynamic_control.STATE_ALL).pos + # self.Joint1_state = self.dc.get_dof_state(self.joint_handles[1], _dynamic_control.STATE_ALL).pos + # # print("self.Joint0_state", self.Joint0_state) + # # print("self.Joint1_state", self.Joint1_state) + # # 按钮被按下且门处于锁定状态 + # if self.Joint0_state < -0.001 and self.door_locked: + # self.dc.set_dof_position_target(self.joint_handles[1], math.radians(-90)) + # # if self.Joint1_state > math.radians(100): + # # self.door_locked = False # 解除锁定 + + # # 门开到30度后开灯,按钮归位s + # if self.Joint1_state < math.radians(-30) : + # self.door_locked = False # 解除锁定 + # light_scopes[0].set_visibility(True) + # self.dc.set_dof_position_target(self.joint_handles[0], 0) + + # # 检测手动关门 + # if self.Joint1_state > math.radians(-20) and not self.door_locked: # 当门接近关闭位置时 + + # self.dc.set_dof_position_target(self.joint_handles[1], 0) # 设置目标位置为0 + # self.door_locked = True + # if self.Joint1_state < math.radians(5): # 当门完全关闭时 + # # 锁定门 + # self.door_locked = True + # light_scopes[0].set_visibility(False) # 关闭灯 + def oven_control(self): + + self.Joint0_state = self.dc.get_dof_state(self.joint_handles[0], _dynamic_control.STATE_ALL).pos + self.Joint1_state = self.dc.get_dof_state(self.joint_handles[1], _dynamic_control.STATE_ALL).pos + # print("self.Joint0_state", self.Joint0_state) + # print("self.Joint1_state", self.Joint1_state) + # 按钮被按下且门处于锁定状态 + if self.Joint0_state < -0.001 and self.door_locked: + self.dc.set_dof_position_target(self.joint_handles[1], math.radians(-50)) + # if self.Joint1_state > math.radians(100): + # self.door_locked = False # 解除锁定 + + # 门开到30度后开灯,按钮归位s + if self.Joint1_state < math.radians(-30) : + self.door_locked = False # 解除锁定 + light_scopes[0].set_visibility(True) + self.dc.set_dof_position_target(self.joint_handles[0], 0) + + if abs(self.Joint1_state - math.radians(-50)) < math.radians(0.5) : + self.dc.set_dof_position_target(self.joint_handles[1], math.radians(-78)) + self.revoluteJoint_drive.GetStiffnessAttr().Set(self.Stiffness_min) + + + # 检测手动关门 + if self.Joint1_state > math.radians(-20) and not self.door_locked: # 当门接近关闭位置时 + + self.dc.set_dof_position_target(self.joint_handles[1], 0) # 设置目标位置为0 + self.door_locked = True + if self.Joint1_state < math.radians(5): # 当门完全关闭时 + # 锁定门 + self.door_locked = True + light_scopes[0].set_visibility(False) # 关闭灯 + self.revoluteJoint_drive.GetStiffnessAttr().Set(self.Stiffness_max) diff --git a/Interactive_scene/largelivingroom/.thumbs/256x256/Interactive_largelivingroom.usd.png b/Interactive_scene/largelivingroom/.thumbs/256x256/Interactive_largelivingroom.usd.png new file mode 100644 index 0000000000000000000000000000000000000000..1f66761663393d508abb0975db0282311cdbfc5f --- /dev/null +++ b/Interactive_scene/largelivingroom/.thumbs/256x256/Interactive_largelivingroom.usd.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f773ead923e43d16efea8cd48cd035d7c8352d7d2603b1d3b73a6eba7256e5a3 +size 89347 diff --git a/Interactive_scene/largelivingroom/.thumbs/256x256/largelivingroom_target_position0.usd.png b/Interactive_scene/largelivingroom/.thumbs/256x256/largelivingroom_target_position0.usd.png index 965707687830f42733537165d1f5a07be2583d4a..219e00b59abcf9dec7d01ad40ef604f768ddf8b4 100644 --- a/Interactive_scene/largelivingroom/.thumbs/256x256/largelivingroom_target_position0.usd.png +++ b/Interactive_scene/largelivingroom/.thumbs/256x256/largelivingroom_target_position0.usd.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f1ffd18c664c85c03d6f7fc93cb4c83314b0c91e981789cc2316786271f91ad2 -size 134926 +oid sha256:80c29d22e61f88ef757870275e3cf27999a7c634d4dea6d35414a0ddc80c7a30 +size 74424 diff --git a/Interactive_scene/largelivingroom/Interactive_largelivingroom.usd b/Interactive_scene/largelivingroom/Interactive_largelivingroom.usd new file mode 100644 index 0000000000000000000000000000000000000000..e2b5b572b0c7ae468e39b917a0d2a2c832621e8e --- /dev/null +++ b/Interactive_scene/largelivingroom/Interactive_largelivingroom.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78a5aebfc264a4680a11f916b604f51a229302fe7b6def61cec6246a3d404875 +size 27047257 diff --git a/Interactive_scene/largelivingroom/largelivingroom.usd b/Interactive_scene/largelivingroom/largelivingroom.usd deleted file mode 100644 index d0053a978deba496b10771dcbde8354f94d13eca..0000000000000000000000000000000000000000 --- a/Interactive_scene/largelivingroom/largelivingroom.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5132d3a0f331dc13e31fcc1a4bac1e24c1cc98dce52de55fd6806773853d8822 -size 16227514 diff --git a/Interactive_scene/largelivingroom/largelivingroom_target_position0.usd b/Interactive_scene/largelivingroom/largelivingroom_target_position0.usd deleted file mode 100644 index 291ef7bab08b9e656a0e11a6540cb192ca3c296b..0000000000000000000000000000000000000000 --- a/Interactive_scene/largelivingroom/largelivingroom_target_position0.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e559dc1f179351f888daaf8729a5f3fab47765945e9e561f2fe0ea64f09926b5 -size 27021067 diff --git a/Interactive_scene/smalllivingroom/.thumbs/256x256/smalllivingroom.usd.png b/Interactive_scene/smalllivingroom/.thumbs/256x256/smalllivingroom.usd.png index 2ef07a4e9493e37dc56599b94232b847745f75ed..f1a1f2c19caeabfd675cd539398810342bc917c9 100644 --- a/Interactive_scene/smalllivingroom/.thumbs/256x256/smalllivingroom.usd.png +++ b/Interactive_scene/smalllivingroom/.thumbs/256x256/smalllivingroom.usd.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:43b0fe86ec38d0927a322d48816c73d611e9b0c68369201d5fae1d1e2b341eb0 -size 99551 +oid sha256:6c0b594129156310cfecc6d9a29f94646efa81e574fd5096abef113a74f89123 +size 74738 diff --git a/Interactive_scene/smalllivingroom/.thumbs/256x256/smalllivingroom_target_position0.usd.png b/Interactive_scene/smalllivingroom/.thumbs/256x256/smalllivingroom_target_position0.usd.png index 598ef0e7f026756729e798a416fee14aff517a02..c0e076e04ef344ef34a511fa96eb6ee1c43a5d43 100644 --- a/Interactive_scene/smalllivingroom/.thumbs/256x256/smalllivingroom_target_position0.usd.png +++ b/Interactive_scene/smalllivingroom/.thumbs/256x256/smalllivingroom_target_position0.usd.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:633dc7838fd0b13970f0d3b615ab591d0d58951bc17888e964e44e4498e4db0b -size 121283 +oid sha256:abec2c3bbfccef9eb399d8b31ae3b934e59e01be4bbe2f4f0c39c05bc647a4f1 +size 84441 diff --git a/Interactive_scene/smalllivingroom/Interactive_smalllivingroom.usd b/Interactive_scene/smalllivingroom/Interactive_smalllivingroom.usd new file mode 100644 index 0000000000000000000000000000000000000000..dd8adefe90255e3f58e8a82e55bf801be1dceb0f --- /dev/null +++ b/Interactive_scene/smalllivingroom/Interactive_smalllivingroom.usd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a19034179b8223bc111794e7bd98a1026a6c82579a2928eba078436fbb04fbd +size 10500459 diff --git a/Interactive_scene/smalllivingroom/smalllivingroom.usd b/Interactive_scene/smalllivingroom/smalllivingroom.usd deleted file mode 100644 index 3e7e06ccafc021d12f2df5edea9fe2fd5fd146d7..0000000000000000000000000000000000000000 --- a/Interactive_scene/smalllivingroom/smalllivingroom.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aebc0b0e54f1175c63ca222eb9140492b27fd02c5c62867792257a5e20ed5910 -size 29658774 diff --git a/Interactive_scene/smalllivingroom/smalllivingroom_target_position0.usd b/Interactive_scene/smalllivingroom/smalllivingroom_target_position0.usd deleted file mode 100644 index edc0745f4e714e054e3a401c3fefdde1756774d3..0000000000000000000000000000000000000000 --- a/Interactive_scene/smalllivingroom/smalllivingroom_target_position0.usd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4380d46f1c90b2dc6b7d81fdfd4507bbfd428669f7de76e6367182d1adedb1d5 -size 10458860 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 61e134e211512f8f5b3b23a5e7ce8f51ce4d4257..a578b06e9b4099e0239edd93a66aa97e1517ee38 --- a/README.md +++ b/README.md @@ -24,82 +24,166 @@ Formats: [![arXiv](https://img.shields.io/badge/arXiv-ArtVIP-red.svg)](https://arxiv.org/abs/2506.04941) [![Paper](https://img.shields.io/badge/Hugging_Face-Paper-yellow.svg)](https://huggingface.co/papers/2506.04941) -## Version History -| Version | Release Date | Description | Highlights | -|---------|--------------|-----------------------------------------------------------------------------|------------| -| v1.0 | 2024-06 | Initial release of ArtVIP dataset | ✅ 206 articulated objects
✅ 6 interactive scenes
✅ 6 digital twin scenes
| - -### Current Version Details (v1.0) -- **Dataset Size**: 206 articulated objects across 26 categories -- **Scene Coverage**: 6 digital twin environments, 6 fully interactive environments -- **Key Innovations**: - - Pixel-level affordance annotations - - Embedded modular interaction behaviors - - Physically accurate dynamic parameters - - High-resolution textures (4K PBR materials) -- **Supported Platforms**: Isaac Sim 4.5 ## Key Features -✅ We release a collection of 26 categories, **206 high-quality digital-twin articulated objects**. +✅ 206 high-quality digital-twin articulated objects. + ![articulated objects](./assets/206_articulated_objects.gif) + +
+ + +
+ Digital Twin Scenes +

+ ✅ 6 pre-configured digital-twin scenes, 6 user-defined scenes +

+
-✅ We provide digital-twin scene assets and configured scenarios integrating articulated objects within scene for immediate use. + +
+ Modular Interaction +

+ ✅ Reusable Modular interaction +

+
-✅ All assets are provided in **USD format** and are **open-source**. + +
+ Physics Fidelity +

+ ✅ Physics fidelity +

+
-✅ The detailed production process and standard offer comprehensive guidance to facilitate community adoption and replication. + +
+ Affordance Annotations +

+ ✅ Pixel-level affordance annotations +

+
+
--- +## [Version History](./assets/Release_history.md) + +| Version | Release Date | Description | Highlights | +|---------|--------------|-----------------------------------------------------------------------------|------------| +| v1.1 | 2024-08 | Optimized the details of interactive scenes. | ✅ Modify interactive scene joint drive configuration
✅Optimize collision volume decomposition within interactive scenes
✅Including 48 modular interactive objects | +| v1.0 | 2024-06 | Initial release of ArtVIP dataset | ✅ 206 articulated objects
✅ 6 interactive scenes
✅ 6 digital twin scenes
| + +### Dataset Information +### Description +[Click here](https://x-humanoid-artvip.github.io/) for a detailed dataset description and full video introduction. ### Dataset Structure 1. **Articulated objects** + [Click here](./Articulated_objects/README.md) for the introduction to Articulated objects. + The specific modular-interaction types: -| Articulated objects | Items | -|-----------------------|-----------------------------------------------------------------------| -| Household Items | basket, cardboard_box, mop, pump_bottle, stationery, tongs, toolbox, trash_can | -| Large Furniture | cupboard, wardrobe | -| Major Appliances | built-in_oven, dishwasher, refrigerator, standing_fan, toilet, washing_machine, water_dispenser | -| Small Appliances | coffee_machine, laptop, microwave, oven, rice_cooker, table_fan, water_dispenser | -| Small Furniture | cabinet, chair, faucet, filing_cabinet, shoe_cabinet, table | - +
+ +
+ Modular Interaction 1 +

+ Damping_Effect_cabinet +

+
+ + +
+ Modular Interaction 2 +

+ Magnetic_Effect_dishwasher +

+
+ + +
+ Modular Interaction 3 +

+ Trigger_Interactions_table +

+
+ + +
+ Modular Interaction 4 +

+ Damping_Effect_cabint +

+
+ + +
+ Modular Interaction 5 +

+ Magnetic_Effect_refrigerator +

+
+ + +
+ Modular Interaction 6 +

+ Trigger_Interactions_trash_can +

+
+
-2. **Scenes** +1. **Scenes** + 1.1 Digital Twin Scenes + 📁 ``ArtVIP/Secenes`` contains **6** user-defined digital-twin scenes. + - [📘 Introduction to Digital-Twin Scenes](./Scenes/README.md) + + + 1.2 Interactive_scene + 📁 ``ArtVIP/Interactive_scene`` contains **6** pre-configured Interactive scenes. + - [📘 Introduction to Interactive scenes](./Interactive_scene/README.md) -| Scene Type | Included Scenes | -|---------------------|---------------------------------------------------------------------------------| -| Children's Room | 🏠 `children_room` | -| Dining Room | 🍽️ `dining_room` | -| Kitchen | 🔪 `kitchen` | -| Kitchen with Parlor | 🛋️ `kitchen_with_parlor` | -| Large Living Room | 🖼️ `large_living_room` | -| Small Living Room | 📺 `small_living_room` | -3. **Interactive Scenes** -Based on the **Scenes** files mentioned above, we have added articulated objects with interactive capabilities to the scenes and configured two types of USD files: one type has all joints opened by default when clicking PLAY, and the other type has all joints closed by default. Both types are interactive. +
-
-
- All joints opened by default -

All joints opened by default

+ +
+ Kitchen Scene +

+ 🔪 Kitchen Scene Interaction +

-
- All joints closed by default -

All joints closed by default

+ +
+ Small Living Room Scene +

+ 📺 Small Living Room Interaction +

-
---- + +
+ Parlor Scene +

+ 🛋️ Parlor Scene Interaction +

+
+ +
+ Bedroom Scene +

+ 🛏️ Bedroom Scene Interaction +

+
+
-## Dataset information -### Description +--- -ArtVIP, a com-prehensive open-source dataset comprising high-quality digital-twin articulated objects, accompanied by indoor-scene assets. Crafted by professional 3D modelers adhering to unified standards, ArtVIP ensures visual realism through precise ge-ometric meshes and high-resolution textures, while physical fidelity is achieved via fine-tuned dynamic parameters. Meanwhile, the dataset pioneers embedded modular interaction behaviors within assets and pixel-level affordance annotations. Feature-map visualization and optical motion capture are employed to quantitatively demonstrate ArtVIP’s visual and physical fidelity, with its applicability validated across imitation learning and reinforcement learning experiments. Provided in USD format with detailed production guidelines, ArtVIP is fully open-source, benefiting the research community and advancing robot learning research. ### How to use 1. **Install Isaac Sim 4.5** @@ -124,20 +208,12 @@ ArtVIP, a com-prehensive open-source dataset comprising high-quality digital-twi ./isaac-sim.sh ### Examples -**Kitchen Scene Interaction Demo**: +**Interaction Demo**: 1. Locate the scene file: `/Interactive_scene/kitchen/kitchen_target_position0.usd` 2. Open in Isaac Sim and click ▶️ PLAY 3. **Force Application**: - Hold `SHIFT + Left Click` and drag to apply external forces (highlighted in green in the demonstration image) - - ![Oven Articulation](./assets/open_oven.png) - -1. **Available Interactions**: - - Press switches to open doors - - Toggle light switches - - Operate microwave buttons - - Open refrigerator doors - +
@@ -147,7 +223,7 @@ ArtVIP, a com-prehensive open-source dataset comprising high-quality digital-twi

- 🚪 Door Operation Demo + 🚪 Door Operation

@@ -167,7 +243,7 @@ ArtVIP, a com-prehensive open-source dataset comprising high-quality digital-twi

- 🔥 Oven Door Articulation + 🔥 Microwave Interaction

@@ -180,5 +256,32 @@ ArtVIP, a com-prehensive open-source dataset comprising high-quality digital-twi ❄️ Refrigerator Interaction

+ + **Full Object Interactivity**: +
+
+ Kitchen Scene Example +

+ 🍳 Kitchen Interaction Showcase +

+
+
+ Bedroom Scene Example +

+ 🛋️ livingroom Interaction Showcase +

+
+
+ childrenroom Scene Example +

+ 🧸 childrenroom Interaction Showcase +

+
+
+ Bedroom Scene Example +

+ 🍽️ kitchen_with_parlor Interaction Showcase +

+
\ No newline at end of file diff --git a/Scenes/README.md b/Scenes/README.md new file mode 100644 index 0000000000000000000000000000000000000000..365a8e09e37ef89ca85d9da5a14bd9e079111a0e --- /dev/null +++ b/Scenes/README.md @@ -0,0 +1,22 @@ +## Introduction to digital twin Scenes +📁 ``ArtVIP/Secenes`` contains **6** user-defined digital-twin scenes. + +- 🏠 **Children's Room** +- 🍽️ **Dining Room** +- 🔪 **Kitchen** +- 🛋️ **Kitchen with Parlor** +- 🖼️ **Large Living Room** +- 📺 **Small Living Room** + +### Scene Features +The scenes in this directory are digital twin scenes modeled 1:1 based on real data collected from the factory site. +- These scenes have basic collision volume decomposition but do not have scene interaction capabilities. +- If you want to build your own simulation scenes based on these scenes, you can add 📁 ``ArtVIP/Articulated_objectses`` items to the scenes. + +The following is a comparison of the digital twin scene and the real scene: +
+ Digital Twin Scenes +

+ ✅ 6 pre-configured digital-twin scenes, 6 user-defined scenes +

+
\ No newline at end of file diff --git a/assets/206_articulated_objects.gif b/assets/206_articulated_objects.gif new file mode 100644 index 0000000000000000000000000000000000000000..5eb70f24d1c8466c16f16ea8f88ef334d1b17748 --- /dev/null +++ b/assets/206_articulated_objects.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97535ce8050f2ab0c5e972a166fcd7275a762afd15b3d55e8a93739188b1f7f4 +size 21054130 diff --git a/assets/Interactive_kitchen_with_parlor.gif b/assets/Interactive_kitchen_with_parlor.gif new file mode 100644 index 0000000000000000000000000000000000000000..dfada2f9490135462de6a393c0102897b0c0bb88 --- /dev/null +++ b/assets/Interactive_kitchen_with_parlor.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1373c2c73c0d17129916baec50a5f51e348613f8cfc67c873d496c4f04d17387 +size 106038604 diff --git a/assets/Joint_drive.png b/assets/Joint_drive.png new file mode 100644 index 0000000000000000000000000000000000000000..12a603ba21c7be70717cc537b0c2e70a0c1ae556 --- /dev/null +++ b/assets/Joint_drive.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8070ff58d7b54156513cb04be9834c7397bc673f1709618385abed2608efda42 +size 1311570 diff --git a/assets/Kitchen_interactive.gif b/assets/Kitchen_interactive.gif new file mode 100644 index 0000000000000000000000000000000000000000..96d309f5c8be55ddd3a3f57670c933876dccde3e --- /dev/null +++ b/assets/Kitchen_interactive.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ed599c59cd0eae2ca6b72e6ff0d03dbf7ff4525979879253c5d62864fe8c585 +size 141036733 diff --git a/assets/Magnetic_Effect_cupboard.gif b/assets/Magnetic_Effect_cupboard.gif new file mode 100644 index 0000000000000000000000000000000000000000..e2f63c70e233d0f6081b6d3b0fc4c53e21086dcc --- /dev/null +++ b/assets/Magnetic_Effect_cupboard.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d477b2f8eaeebba07ec3fd76d01784f9e6442765b5fb5c787c0bc1573d019c31 +size 76512516 diff --git a/assets/Magnetic_attraction.gif b/assets/Magnetic_attraction.gif new file mode 100644 index 0000000000000000000000000000000000000000..014e887ef7b4af56342a12bbe111cccafddb7340 --- /dev/null +++ b/assets/Magnetic_attraction.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9db15588fbd7b8b53c9e0196936d58971cf3b507923cef570338603065f8ea4 +size 16399268 diff --git a/assets/Release_history.md b/assets/Release_history.md new file mode 100644 index 0000000000000000000000000000000000000000..e85af614163d410a87d2299b3d9f5edfcf6ff5ef --- /dev/null +++ b/assets/Release_history.md @@ -0,0 +1,31 @@ +# Release History + +--- +### Current Version Details (v1.1) + The specific modular-interaction types: +- **Dataset Size**: + - 206 classified objects covering 26 categories + - Including 48 modular interactive objects +- **Scene Coverage**: + - 6 optimized fully interactive scenes + - 6 digital twin scenes +- **Key Innovations**: + - Pixel-level affordance annotations + - Embedded modular interaction behaviors + - Physically accurate dynamic parameters + - High-resolution textures (4K PBR materials) +- **Supported Platforms**: Isaac Sim 4.5 + +--- +### Version Details (v1.0) +-**Release Date**: 2025-06 +- **Dataset Size**: 206 articulated objects across 26 categories +- **Scene Coverage**: 6 digital twin scenes, 6 fully interactive scenes +- **Key Innovations**: + - Pixel-level affordance annotations + - Embedded modular interaction behaviors + - Physically accurate dynamic parameters + - High-resolution textures (4K PBR materials) +- **Supported Platforms**: Isaac Sim 4.5 + +--- \ No newline at end of file diff --git a/assets/Seg_chair.gif b/assets/Seg_chair.gif new file mode 100644 index 0000000000000000000000000000000000000000..ec2fdeffc96c7d71d0d371ee7339d87a11b1b1ab --- /dev/null +++ b/assets/Seg_chair.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1896c933be4ef0f773a878d9f91be9b51cd3fd4326997c917b3f310d89cbab3 +size 8089223 diff --git a/assets/bedroom_open.gif b/assets/bedroom_open.gif new file mode 100644 index 0000000000000000000000000000000000000000..add1999017a782e2eb84ac705d650cd9fe95b0a8 --- /dev/null +++ b/assets/bedroom_open.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe7ace74d278d94b0b350159aaf9800c9c6e17fbca04ad9ee484cb8c13b65bf4 +size 10277024 diff --git a/assets/chair.gif b/assets/chair.gif new file mode 100644 index 0000000000000000000000000000000000000000..21e1916851bcae81c5ce494c468661b46d791693 --- /dev/null +++ b/assets/chair.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:faab0ba02bc1a0ed1d071aa73260893a8e0fad8ed573fd58774adabf650279de +size 61373889 diff --git a/assets/digital_twin_scences.gif b/assets/digital_twin_scences.gif new file mode 100644 index 0000000000000000000000000000000000000000..03f2d06bc05383af641fd8d26ec0f105fae8c8da --- /dev/null +++ b/assets/digital_twin_scences.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2eaca785050f0411439da351ecc4f309236c0ea6988c737ef74668d9501eeab1 +size 56693744 diff --git a/assets/interactive_childrenroom.gif b/assets/interactive_childrenroom.gif new file mode 100644 index 0000000000000000000000000000000000000000..69326901613fe44dc3663856fe6eb6a94ad6cc13 --- /dev/null +++ b/assets/interactive_childrenroom.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82c72eda6f657d52a6ec66e39e22ea5ddb463df822da1179d9c90e6e7ac6740f +size 110625226 diff --git a/assets/interactive_largelivingroom.gif b/assets/interactive_largelivingroom.gif new file mode 100644 index 0000000000000000000000000000000000000000..74dde5541edf6b183413934b3b26ba7639996774 --- /dev/null +++ b/assets/interactive_largelivingroom.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0c5e13b7e65e2d7271017cf1f5ee3e70e7d7065b5e2230ff2a6c137ec283784 +size 115667991 diff --git a/assets/kitchen-open.gif b/assets/kitchen-open.gif new file mode 100644 index 0000000000000000000000000000000000000000..ab8d1167b0d3b03a95cd0c1c04ea7b4922978cf9 --- /dev/null +++ b/assets/kitchen-open.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75e49c32550c16d7ce1fa864501dfeb25cb467e52cce19a3852ceb6424b6490a +size 7438173 diff --git a/assets/livingroom_open.gif b/assets/livingroom_open.gif new file mode 100644 index 0000000000000000000000000000000000000000..6c9b6a5ab2f096f24333c534f4876332ba58112d --- /dev/null +++ b/assets/livingroom_open.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8d4dd3d282283873316a57dff24a0e0789298fb91297939a75a0c5140e4a98f +size 11315444 diff --git a/assets/modular-interaction/Damping_Effect_cabinet.gif b/assets/modular-interaction/Damping_Effect_cabinet.gif new file mode 100644 index 0000000000000000000000000000000000000000..ed2a9c35e0464271620ee34cd895f68a85ee4899 --- /dev/null +++ b/assets/modular-interaction/Damping_Effect_cabinet.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bf1e89c1f126073a2f3d8ce05939b1f8b409bba3c564e4e869a93c61bd1ba6b +size 41492544 diff --git a/assets/modular-interaction/Damping_Effect_cabint_2.gif b/assets/modular-interaction/Damping_Effect_cabint_2.gif new file mode 100644 index 0000000000000000000000000000000000000000..ff63bcc6d353bf287880fec5b9bbc75869687d86 --- /dev/null +++ b/assets/modular-interaction/Damping_Effect_cabint_2.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be49fbdd0754bcba590954f8fdf026d57c9d6f77e1e55efae3607dbb9a8e8fcb +size 39904621 diff --git a/assets/modular-interaction/Magnetic_Effect_dishwasher.gif b/assets/modular-interaction/Magnetic_Effect_dishwasher.gif new file mode 100644 index 0000000000000000000000000000000000000000..0bd93a75b2fb8695eadc2b81ff064d6c569cf26e --- /dev/null +++ b/assets/modular-interaction/Magnetic_Effect_dishwasher.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1115f7457d5a61b15969ed3cc670813812e6076a0658d63407d6e744a665d9a3 +size 41467570 diff --git a/assets/modular-interaction/Magnetic_Effect_refrigerator.gif b/assets/modular-interaction/Magnetic_Effect_refrigerator.gif new file mode 100644 index 0000000000000000000000000000000000000000..47be2f57f7b2fe8db20d09c616ab6ba5b3d92847 --- /dev/null +++ b/assets/modular-interaction/Magnetic_Effect_refrigerator.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc88557cd90a9b91d33c32ce2493ec9771d1b04050726c155f8de5ea6455e54e +size 27396374 diff --git a/assets/modular-interaction/Trigger_Interactions_table_2.gif b/assets/modular-interaction/Trigger_Interactions_table_2.gif new file mode 100644 index 0000000000000000000000000000000000000000..b7b5bce9de553f2e28f395199ca10a4aab09a60c --- /dev/null +++ b/assets/modular-interaction/Trigger_Interactions_table_2.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b37643bb6e01b070f4a5d4dab322c2ce54088233927e553f5ccc3b3c8dd3f028 +size 40871182 diff --git a/assets/modular-interaction/Trigger_Interactions_trash_can.gif b/assets/modular-interaction/Trigger_Interactions_trash_can.gif new file mode 100644 index 0000000000000000000000000000000000000000..5c0549a6b4a4c6eb3009e8be15dcff62c26b9769 --- /dev/null +++ b/assets/modular-interaction/Trigger_Interactions_trash_can.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:738016ec982012f060209aa06332a7eba67cd1130874563cdd5fd8f4f01932fd +size 6898343 diff --git a/assets/parlor_open.gif b/assets/parlor_open.gif new file mode 100644 index 0000000000000000000000000000000000000000..1c8c000b57e8a913652f282ec9c58a46395b9998 --- /dev/null +++ b/assets/parlor_open.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af055a8a339c0ffd06cd2bf92507b0d801521bb9e2aef9b21e659b7d914ce887 +size 7069166 diff --git a/assets/smalllivingroom_open.gif b/assets/smalllivingroom_open.gif new file mode 100644 index 0000000000000000000000000000000000000000..160f3d27e02798e9b8e761a5305f835775871950 --- /dev/null +++ b/assets/smalllivingroom_open.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df835359efbd3189c8699549841a9d73a3ae9743ebe96afd63ad654662750d60 +size 7613244