Skip to content

Commit 72408d7

Browse files
committed
[update] update default sapien example task
1 parent 2378e0c commit 72408d7

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

example/sapien/run_sapien_viz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def wrapped_setup_viewer(self):
6464
control_mode = ["base_pd_joint_vel_arm_pd_joint_vel"] * 3 + ["pd_joint_delta_pos"] * 8
6565

6666
# You can try different task_num to visualize different tasks
67-
task_num = 1
67+
task_num = 7
6868

6969
env = gym.make(task_names[task_num], obs_mode="rgbd", control_mode=control_mode[task_num])
7070
# print("Observation space", env.observation_space)

setup.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
"""Setup script """
66

7-
import os
87
import re
98
from pathlib import Path
109

@@ -21,15 +20,6 @@
2120
else:
2221
raise RuntimeError("Unable to find __version__ string.")
2322

24-
25-
def collect_files(target_dir):
26-
file_list = []
27-
for (root, dirs, files) in os.walk(target_dir, followlinks=True):
28-
for filename in files:
29-
file_list.append(os.path.join('..', root, filename))
30-
return file_list
31-
32-
3323
core_requirements = [
3424
"numpy<=1.23.0",
3525
"numpy-quaternion",
@@ -100,7 +90,7 @@ def setup_package():
10090
license_files=("LICENSE",),
10191
packages=packages,
10292
package_data={
103-
"sim_web_visualizer": package_files
93+
name: package_files
10494
},
10595
python_requires='>=3.6,<3.11',
10696
zip_safe=True,

0 commit comments

Comments
 (0)