Search found 8 matches

by bluefish_
Thu May 12, 2022 1:04 am
Forum: PyBullet Support and Feedback
Topic: pybullet install under miniforge arm64 env is x86_64 instead of arm64
Replies: 1
Views: 139

Re: pybullet install under miniforge arm64 env is x86_64 instead of arm64

Sorry I posted too fast! Changing to python 3.8 resolved the problem and I just noticed that in the setup.py only 2.7 and 3.4-3.8 were mentioned versions.
by bluefish_
Thu May 12, 2022 12:42 am
Forum: PyBullet Support and Feedback
Topic: pybullet install under miniforge arm64 env is x86_64 instead of arm64
Replies: 1
Views: 139

pybullet install under miniforge arm64 env is x86_64 instead of arm64

Hello! I tried to install pybullet in a miniforge conda environment with the following commands: conda create --name clean python=3.9 conda activate clean python -m pip install --upgrade pip python -m pip install --upgrade pybullet Everything was installed fine but when I try to use pybullet I get t...
by bluefish_
Mon May 02, 2022 8:06 pm
Forum: PyBullet Support and Feedback
Topic: closed loop with obj files
Replies: 2
Views: 2569

Re: closed loop with obj files

This is very late, but I think changing the mass to be 0 of any link is equal to making it fixed? specifically for fixing a base or setting something as a base I think you need to make it the base link so that the urdf importer knows. Btw thank you! Your answer is very helpful to me! I'm also trying...
by bluefish_
Tue Mar 15, 2022 10:03 pm
Forum: PyBullet Support and Feedback
Topic: how does the pybullet client-server work?
Replies: 2
Views: 2300

Re: how does the pybullet client-server work?

If you import pybullet and connect using GUI or DIRECT, then the client and server are both in the current same process. You can start a physics server, using connect (pybullet.GUI_SERVER etc) see for example this runServer.py script. https://github.com/bulletphysics/bullet3/blob/master/examples/py...
by bluefish_
Sun Mar 06, 2022 4:23 am
Forum: PyBullet Support and Feedback
Topic: how does the pybullet client-server work?
Replies: 2
Views: 2300

how does the pybullet client-server work?

Hi! I'm trying to understand how the pybullet client works, especially where the physics server is for the client to send requests and get results of the simulation. I was looking at the pybullet package source files and couldn't really figure out where the physics lives (only a wrapper for pybullet...
by bluefish_
Wed Mar 02, 2022 9:50 pm
Forum: General Bullet Physics Support and Feedback
Topic: Compose two joint types?
Replies: 0
Views: 2679

Compose two joint types?

Hello! I want to simulate a hook and a rod such that it's as if there are two joint relationships, one revolute and one prismatic (two degrees of freedom in the system) like follows: Screen Shot 2022-03-02 at 1.45.30 PM.png Screen Shot 2022-03-02 at 1.45.40 PM.png Screen Shot 2022-03-02 at 1.45.51 P...
by bluefish_
Wed Mar 02, 2022 9:26 pm
Forum: PyBullet Support and Feedback
Topic: How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet
Replies: 2
Views: 3316

Re: How to read the spatial coordinates and attitude of a URDF object in real time in Pybullet

I think getBasePositionAndOrientation() would get you the coordinates; the argument would be the id you the urdf you loaded. (the quickstart does include this i think, search for Hello PyBullet World) Did you already try this and it didn't work?
by bluefish_
Sun Jan 23, 2022 11:39 am
Forum: General Bullet Physics Support and Feedback
Topic: How to manually create convex collision mesh for concave meshes instead of vhacd?
Replies: 0
Views: 4192

How to manually create convex collision mesh for concave meshes instead of vhacd?

Hello! I'm using pybullet to simulate a scene with a few objects chaining together under gravity and the hook object is passing through the box opening: Screen Shot 2022-01-23 at 3.30.27 AM.png Screen Shot 2022-01-23 at 3.29.22 AM.png Screen Shot 2022-01-23 at 3.29.25 AM.png I'm using vhacd to gener...