Search found 27 matches

by steven
Mon Apr 22, 2019 8:40 am
Forum: PyBullet Support and Feedback
Topic: how to get the weights_dense1_w?
Replies: 0
Views: 18

how to get the weights_dense1_w?

i find many parameters like weights_dense1_w in the example, these parameters should be the result trained by other modules. i want to know where can i find these modules? Any other related document is also helpful. thanks.
by steven
Sat Apr 20, 2019 9:10 am
Forum: General Bullet Physics Support and Feedback
Topic: High resolution cloth?
Replies: 1
Views: 88

Re: High resolution cloth?

did you try the Cluster? maybe it can help to make your test work well.
by steven
Sat Apr 20, 2019 9:05 am
Forum: General Bullet Physics Support and Feedback
Topic: Cloth self-collision
Replies: 3
Views: 142

Re: Cloth self-collision

//only self-collision for Cluster, not Vertex-Face yet from the comment, it seems that it only support self-collision for Cluster. Could you try these interfaces to enable the cluster? pSoftBody->m_cfg.collisions = btSoftBody::fCollision::CL_SS | btSoftBody::fCollision::CL_RS | btSoftBody::fCollisi...
by steven
Fri Apr 19, 2019 8:37 am
Forum: General Bullet Physics Support and Feedback
Topic: Model Scaling
Replies: 11
Views: 438

Re: Model Scaling

hi PcChip,

please add this interface below which should can fix your issue.

Code: Select all

m_dynamicsWorld->getDispatchInfo().m_allowedCcdPenetration = boundingRadius
by steven
Thu Apr 18, 2019 6:49 am
Forum: General Bullet Physics Support and Feedback
Topic: Model Scaling
Replies: 11
Views: 438

Re: Model Scaling

hi PcChip,
PcChip wrote:
Fri Apr 12, 2019 8:57 pm

So I tried scaling the entire world up by 10x, however still half the boxes fall through :(
this is strange, could you share with me your scene or some code of how do you create your world? thanks.
i want to figure out what happened.

thanks.
by steven
Wed Apr 17, 2019 1:40 pm
Forum: PyBullet Support and Feedback
Topic: urdf reviewer on windows?
Replies: 0
Views: 110

urdf reviewer on windows?

hi, is there any good tool to review/edit the urdf on windows? thanks.
by steven
Sat Apr 13, 2019 8:56 am
Forum: General Bullet Physics Support and Feedback
Topic: Petal simulation
Replies: 5
Views: 167

Re: Petal simulation

hi, can you try this interface btSoftBody::generateClusters(int k,int maxiterations) and ajust the parameter k to see if can get the expected result.
by steven
Fri Apr 12, 2019 2:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: Petal simulation
Replies: 5
Views: 167

Re: Petal simulation

maybe the psb->setWindVelocity() can be used to overcome the gravity.
by steven
Fri Apr 12, 2019 1:56 pm
Forum: General Bullet Physics Support and Feedback
Topic: Petal simulation
Replies: 5
Views: 167

Re: Petal simulation

Could you try these two interfaces? i still think it is hard to implement your feature. the point is what will be used to overcome the gravity.
psb->setPose(false, true)
psb->generateClusters(8)
by steven
Fri Apr 12, 2019 9:09 am
Forum: PyBullet Support and Feedback
Topic: how to build pybullet for debugging?
Replies: 2
Views: 109

Re: how to build pybullet for debugging?

is there any method that i only install the pybullet_d.so.2.88 by pip and build other .so myself? thanks.
by steven
Fri Apr 12, 2019 9:00 am
Forum: PyBullet Support and Feedback
Topic: how to build pybullet for debugging?
Replies: 2
Views: 109

Re: how to build pybullet for debugging?

it can work if i replace the pybullet.cpython-35m-x86_64-linux-gnu.so with the pybullet_d.so.2.88.
by steven
Fri Apr 12, 2019 7:07 am
Forum: PyBullet Support and Feedback
Topic: how to build pybullet for debugging?
Replies: 2
Views: 109

how to build pybullet for debugging?

now i have two methods to build the pybullet. 1> run the build_cmake_pybullet_double.sh and then i can get the pybullet_d.so.2.88 and other engine related .so, but i don't know how to use it. 2> run python3.5 setup.py --build and i can get the pybullet.cpython-35m-x86_64-linux-gnu.so which contains ...
by steven
Fri Apr 12, 2019 3:56 am
Forum: General Bullet Physics Support and Feedback
Topic: Retrieve the specific btCollisionShape (in a btCompoundShape hierarchy) during a contact
Replies: 5
Views: 210

Re: Retrieve the specific btCollisionShape (in a btCompoundShape hierarchy) during a contact

maybe these variables have different meaning for different collisionShap. for btCompoundShape the index should indicate the child shape index in the compoundShape from the code below. and it doesn't use the partd0/1 at all which value always is -1. const btCollisionShape* childShape = compoundShape-...
by steven
Thu Apr 11, 2019 7:44 am
Forum: General Bullet Physics Support and Feedback
Topic: Cloth self-collision
Replies: 3
Views: 142

Re: Cloth self-collision

i find this code below in the function btSoftRigidDynamicsWorld::internalSingleStepSimulation(btScalar timeStep) which seems to process self-collision. //self collisions for (int i = 0; i < m_softBodies.size(); i++) { btSoftBody* psb = (btSoftBody*)m_softBodies[i]; psb->defaultCollisionHandler(psb);...
by steven
Thu Apr 11, 2019 7:37 am
Forum: General Bullet Physics Support and Feedback
Topic: Retrieve the specific btCollisionShape (in a btCompoundShape hierarchy) during a contact
Replies: 5
Views: 210

Re: Retrieve the specific btCollisionShape (in a btCompoundShape hierarchy) during a contact

hi, i just review the engine code especially the file btCompoundCollisionAlgorithm.cpp and also did some test, i think the engine can't support your special case currently. from the code below it only can record the shape index at some compound shape but don't konw which compound shape it belongs to...