Search found 4 matches

by jwhitman
Thu Oct 15, 2020 2:00 pm
Forum: PyBullet Support and Feedback
Topic: Retrieve Heightfield from p.GEOM_HEIGHTFIELD
Replies: 2
Views: 4376

Re: Retrieve Heightfield from p.GEOM_HEIGHTFIELD

I've been using rayTestBatch to get that sort of data. If you find another way, I am also interested in it.
by jwhitman
Tue Oct 13, 2020 10:54 pm
Forum: PyBullet Support and Feedback
Topic: Showing contact forces visually
Replies: 1
Views: 3820

Re: Showing contact forces visually

I've never seen an example of that idea in particular, but, it should be possible with the functions getContactPoints and addUserDebugLine. One can get the contact force and normal with getContactPoints, then for each contact use addUserDebugLine to create a line in the direction of the contact forc...
by jwhitman
Tue Oct 13, 2020 9:15 pm
Forum: PyBullet Support and Feedback
Topic: Simple 2-body URDF fails to load in pyBullet
Replies: 1
Views: 4817

Re: Simple 2-body URDF fails to load in pyBullet

I am able to load the urdf, but since there are no visual elements to the links, nothing appears in the gui.
Your script works for me but since there is no main loop, it initializes the gui, loads the robot, then exits. When I add a while loop, it leaves the GUI open, and looks ok
by jwhitman
Fri Sep 25, 2020 2:08 pm
Forum: PyBullet Support and Feedback
Topic: Some joint torques from getJointState(s) always zeros in pybullet
Replies: 1
Views: 6803

Some joint torques from getJointState(s) always zeros in pybullet

Hello, I am using Pybullet for robotics research but I am having some issues with the joint state torque feedback. When I use a hexapod model (we use this model in other simulators without issue) I consistently get a block of 0.0 as torque feedback from getJointState(s). In this case it is joints 9-...