Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo scripts bugs #534

Closed
youliangtan opened this issue Oct 30, 2024 · 2 comments
Closed

Demo scripts bugs #534

youliangtan opened this issue Oct 30, 2024 · 2 comments

Comments

@youliangtan
Copy link
Member

System Info

v1.5

Information

Bug tracker for demo scripts

Reproduction

  1. python robosuite/demos/demo_control.py
Choose a controller for the robot (enter a number from 0 to 4): 3
Traceback (most recent call last):
  File "/home/youliang/robosuite-dev/robosuite/demos/demo_control.py", line 95, in <module>
    options["controller_configs"] = suite.load_part_controller_config(default_controller=controller_name)
  File "/home/youliang/robosuite-dev/robosuite/controllers/parts/controller_factory.py", line 48, in load_part_controller_config
    default_controller in ALL_PART_CONTROLLERS
AssertionError: Error: Unknown default controller specified. Requested WHOLE_BODY_IK, available controllers: ['JOINT_VELOCITY', 'JOINT_TORQUE', 'JOINT_POSITION', 'OSC_POSITION', 'OSC_POSE', 'IK_POSE']
(robosuite-dev) youliang@youliang-Precision-5690:~/robosuite-dev$ 

also reported here #532

  1. python robosuite/demos/demo_domain_randomization.py
  File "/home/youliang/robosuite-dev/robosuite/utils/mjmod.py", line 866, in <listcomp>
    self.textures = [Texture(self.model, i) for i in range(self.model.ntex)]
  File "/home/youliang/robosuite-dev/robosuite/utils/mjmod.py", line 1390, in __init__
    self.tex_rgb = model.tex_rgb
AttributeError: 'MjModel' object has no attribute 'tex_rgb'. Did you mean: 'flex_rgba'?
  1. python robosuite/scripts/tune_joints.py
  File "/home/youliang/robosuite_models/../robosuite-dev/robosuite/scripts/tune_joints.py", line 285, in <module>
    controller_config = robosuite.load_controller_config(default_controller="JOINT_POSITION")
AttributeError: module 'robosuite' has no attribute 'load_controller_config'. Did you mean: 'load_part_controller_config'?

Expected behavior

NA

@handsomelada
Copy link

i have met the same issue

@kevin-thankyou-lin
Copy link
Contributor

Fixed by #546 and #548
@handsomelada feel free to raise another issue if you come across more issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants