Search found 83 matches

by steven
Tue May 14, 2019 1:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: Unexplained behaviour with rigidbody applyImpulse
Replies: 15
Views: 14028

Re: Unexplained behaviour with rigidbody applyImpulse

Could you provide some simple example? thanks.
by steven
Mon May 13, 2019 8:15 am
Forum: General Bullet Physics Support and Feedback
Topic: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)
Replies: 11
Views: 8913

Re: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)

after changing to tag 2.82(git checkout 2.82), i find the GimpactTestDemo. i don't know why it is deleted in the later version. hope it is useful for future user.
by steven
Sun May 12, 2019 9:33 am
Forum: General Bullet Physics Support and Feedback
Topic: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)
Replies: 11
Views: 8913

Re: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)

add a picture to clarify this case. any ideas about the gimpact mesh is helpful, thanks in advance.
collisionConaves.png
collisionConaves.png (29.69 KiB) Viewed 8774 times
by steven
Sun May 12, 2019 5:23 am
Forum: General Bullet Physics Support and Feedback
Topic: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)
Replies: 11
Views: 8913

Re: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)

I have also tried using btGImpactMeshShape, with no change in results. Could you post some code of how did you use the btGImpactMeshShape? i will try it later. i find the algorithm for the gimpact need to be regiestered externally like below. btCollisionDispatcher * dispatcher = static_cast<btColli...
by steven
Sun May 12, 2019 4:17 am
Forum: General Bullet Physics Support and Feedback
Topic: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)
Replies: 11
Views: 8913

Re: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)

your two collison objects all are the concave but now the engine doesn't support the concave vs. convave collision in the narrowphase. you can refer to this function btDefaultCollisionConfiguration::getCollisionAlgorithmCreateFunc() in file btdefaultcollisionconfiguration.cpp for details. i think yo...
by steven
Sat May 11, 2019 9:08 am
Forum: General Bullet Physics Support and Feedback
Topic: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)
Replies: 11
Views: 8913

Re: Incorrect collision results with concave shapes (contact manifolds, but 0 contact points)

i just write a similar test but use two boxes instead of the concave and don't find the issue you said. so next i need the data to create the concave shape. thanks. I know from other posts on this forum that a contact manifold is created in the broadphase based on AABB intersection and may reasonabl...
by steven
Wed May 08, 2019 1:37 pm
Forum: PyBullet Support and Feedback
Topic: how to get the weights_dense1_w?
Replies: 1
Views: 3120

Re: how to get the weights_dense1_w?

Just for your reference.
1. site-packages/pybullet_envs$ python3.5 -m agents.train_ppo --logdir=./ --config=pybullet_humanoid
2. use the tf.train.NewCheckpointReader(checkpoint_path) to get the parameters that you need.
by steven
Wed May 08, 2019 1:33 pm
Forum: PyBullet Support and Feedback
Topic: Position control for robot base?
Replies: 13
Views: 34756

Re: Position control for robot base?

Moreover, the fact that resetBaseVelocity overrides was confirmed by erwin coumans here: https://github.com/bulletphysics/bullet3/issues/1845#issuecomment-463617025 my understanding is that we shouldn't use the resetBaseVelocity () during a running simulation, but can be used freely before stepsimu...
by steven
Wed May 08, 2019 7:56 am
Forum: PyBullet Support and Feedback
Topic: Position control for robot base?
Replies: 13
Views: 34756

Re: Position control for robot base?

The way I've temporarily got around this issue is by calling resetBaseVelocity() , although I'm aware that as Erwin stated, these reset commands will override the effects of the physics simulation. hi arpastrana, i understand calling the resetBasePositionAndOrientation() will ignore the dynamic of ...
by steven
Wed Apr 24, 2019 6:19 am
Forum: General Bullet Physics Support and Feedback
Topic: btVector, rigibody and Nan
Replies: 1
Views: 2525

Re: btVector, rigibody and Nan

it is indeed strange, i think your case needs to debug step by step. i would like to debug with you if you can provide a simple test.
by steven
Mon Apr 22, 2019 8:40 am
Forum: PyBullet Support and Feedback
Topic: how to get the weights_dense1_w?
Replies: 1
Views: 3120

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: 2
Views: 2835

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: 3782

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: 19429

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