Comments (6)
What is your OS? What the version you use for panda-gym and pybullet?
from panda-gym.
Thanks for your quick response!
I am using Ubuntu, conda environment, python3.8. I guess the panda-gym version I am using is 3.0.7, and the pybullet version is 3.2.5.
(rl) yoyo@yoyo:~/Documents/intern/panda-gym/examples$ pip show panda-gym
Name: panda-gym
Version: 3.0.7
Summary: Set of robotic environments based on PyBullet physics engine and gymnasium.
Home-page: https://github.com/qgallouedec/panda-gym
Author: Quentin GALLOUÉDEC
Author-email: [email protected]
License:
Location: /home/yoyo/anaconda3/envs/internrl/lib/python3.8/site-packages
Requires: gymnasium, numpy, pybullet, scipy
Required-by:
(rl) yoyo@yoyo:~/Documents/intern/panda-gym/examples$ pip show pybullet
Name: pybullet
Version: 3.2.5
Summary: Official Python Interface for the Bullet Physics SDK specialized for Robotics Simulation and Reinforcement Learning
Home-page: https://github.com/bulletphysics/bullet3
Author: Erwin Coumans, Yunfei Bai, Jasmine Hsu
Author-email: [email protected]
License: zlib
Location: /home/yoyo/anaconda3/envs/internrl/lib/python3.8/site-packages
Requires:
Required-by: panda-gym
from panda-gym.
That's really strange. The CI passes with the exact same configuration: https://github.com/qgallouedec/panda-gym/actions/runs/5676508527/job/15383646275
Have you altered panda_gym/assets/colored_cubed.png
files by any chance?
Is the following code giving an error? If yes, please provide the full traceback.
import gymnasium as gym
import panda_gym
env = gym.make("PandaFlip-v3")
env.reset()
from panda-gym.
Hi, I don't think I changed any code or files. And it does return an error:
>>> env = gym.make("PandaFlip-v3")
pybullet build time: May 20 2022 19:44:17
argv[0]=--background_color_red=0.8745098114013672
argv[1]=--background_color_green=0.21176470816135406
argv[2]=--background_color_blue=0.1764705926179886
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/yoyo/anaconda3/envs/internrl/lib/python3.8/site-packages/gymnasium/envs/registration.py", line 801, in make
env = env_creator(**env_spec_kwargs)
File "/home/yoyo/anaconda3/envs/internrl/lib/python3.8/site-packages/panda_gym/envs/panda_tasks.py", line 53, in __init__
task = Flip(sim, reward_type=reward_type)
File "/home/yoyo/anaconda3/envs/internrl/lib/python3.8/site-packages/panda_gym/envs/tasks/flip.py", line 26, in __init__
self._create_scene()
File "/home/yoyo/anaconda3/envs/internrl/lib/python3.8/site-packages/panda_gym/envs/tasks/flip.py", line 32, in _create_scene
self.sim.create_box(
File "/home/yoyo/anaconda3/envs/internrl/lib/python3.8/site-packages/panda_gym/pybullet.py", line 451, in create_box
texture_uid = self.physics_client.loadTexture(texture_path)
pybullet.error: Error loading texture
Thank you
from panda-gym.
It seems like the texture for the coloured cube can't be loaded in your config. Can you download the texture:
https://github.com/qgallouedec/panda-gym/blob/master/panda_gym/assets/colored_cube.png
and then execute the following:
import pybullet_utils.bullet_client as bc
client = bc.BulletClient()
client.loadTexture("/path/to/colored_cube.png")
from panda-gym.
check the assets folder in your anaconda path (/anaconda3/envs/env_name/lib/python3.8/site-packages/panda_gym/assets), you might find that missing the "colored_cube.png" file, add it under the assets folder.
from panda-gym.
Related Issues (20)
- Cannot change the viewpoint for render. HOT 1
- Hyperparameters for PickAndPlace HOT 1
- PandaPickAndPlace-v3 Training and Hyperparameters HOT 11
- The issue about the orientation get from getLinkState(). HOT 2
- Can I render/reset an environment based on a specific observation? HOT 1
- When is it panda-gym going to be compatible with python 3.11? HOT 1
- how to realize the sb3 train demo code with panda-gym? HOT 2
- Typo in the `core.py` script HOT 1
- Render screen is out of sync HOT 6
- `NAN` in the training HOT 1
- How to get `predict` data from a saved model? HOT 2
- TypeError: catching classes that do not inherit from BaseException is not allowed HOT 6
- Shape of `achieved_goal` and `desired_goal` HOT 6
- Discussion about the future work HOT 9
- Decreasing Size of Action Space HOT 2
- Compatibility of gym-0.24 branch? HOT 2
- panda-gym v2 error; "TypeError: catching classes that do not inherit from BaseException is not allowed". HOT 2
- Clarification about 'observation', 'achieved_goal' and 'desired_goal' HOT 5
- Flip and Stack question HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panda-gym.