Closed spk921 closed 7 years ago
Do you have the newest version from the repository? Depending on your OS, you can use either the bat or sh script to properly compile pybullet.
Yes, I am using Ubuntu 16.04.
The API changed into getContactPoints, the scripts need update. See Bullet/docs/pybullet_quickstart_guide.pdf for details.
Thank you for your comments. However, I encounter another error after pull and recompiled. Is this for my case only?
b3Printf: rear_bumper_link (0, b'chassis_joint', 4, -1, -1, 0, 0.0, 0.0) (1, b'imu_joint', 4, -1, -1, 0, 0.0, 0.0) (2, b'front_left_wheel', 0, 7, 6, 1, 0.0, 0.0) (3, b'front_right_wheel', 0, 8, 7, 1, 0.0, 0.0) (4, b'rear_left_wheel', 0, 9, 8, 1, 0.0, 0.0) (5, b'rear_right_wheel', 0, 10, 9, 1, 0.0, 0.0) (6, b'top_plate', 4, -1, -1, 0, 0.0, 0.0) (7, b'user_rail', 4, -1, -1, 0, 0.0, 0.0) (8, b'front_bumper', 4, -1, -1, 0, 0.0, 0.0) (9, b'rear_bumper', 4, -1, -1, 0, 0.0, 0.0) finished, #skip = 2823, skip1 = 0 numActiveThreads = 0 stopping threads stopThreads: Thread 0 used: 1 Thread with taskId 0 exiting Thread TERMINATED destroy semaphore semaphore destroyed destroy main semaphore main semaphore destroyed finished numActiveThreads = 0 btShutDownExampleBrowser stopping threads stopThreads: Thread 0 used: 1 Thread with taskId 0 exiting Thread TERMINATED destroy semaphore semaphore destroyed destroy main semaphore main semaphore destroyed
What is the error, it seems to have finished just fine?
Sorry my bad. It terminates when the task is done. Thank you for your comments.
Thanks for your feedback, the scripts are very simple/basic, just to test new pybullet features. The quadruped.py script has a simple quadruped hopping, please try it. We'll create some nicer scripts for the reinforcement learning with OpenAI Gym and perhaps DeepMind Lab.
That is really awesome. I am using MuJoCo with OpenAI gym. I was looking around physic engine that can use with binding to OpenAI gym. I found gazebo and ROS with OpenAI gym. However, in MuJoCo website bench mark http://www.mujoco.org/benchmark.html claims their platform outperform. I assumed that they used older version. When do you think it will be done? Is there are beta version to try yet?
I am using MuJoCo with OpenAI gym.
What robot(s) are you simulating? Do you have some example scripts how you use OpenAI gym? How did you create your MuJoCo XML file? Do you have URDF files of your robots?
For the binding I used :https://github.com/openai/mujoco-py And combined existing xml file on MuJoCo Forum: http://www.mujoco.org/forum/index.php?resources/ I never tried on real robot. Just using simulation for now. It is beginning stage of my experiments. I can send you sample results and xml file if you send me e-mail address. I am not familiar with URDF files.
I got following error when I run python3 robotcontrol.py
Traceback (most recent call last): File "robotcontrol.py", line 26, in
p.getContactPointData(husky)
AttributeError: module 'pybullet' has no attribute 'getContactPointData'