Robot description not loaded - TCP server client connection

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
missxa
Posts: 1
Joined: Fri Apr 10, 2020 7:15 pm

Robot description not loaded - TCP server client connection

Post by missxa »

When connecting pybullet to a TCP server or trying to syncBodyInfo I get:
b3Warning[examples/SharedMemory/PhysicsDirect.cpp,736]: Robot description not received. I cannot access robot's joints. What could be the issue?

Same platform, compiled with double precision, there're bodies loaded that have joints (as I confirmed using shared memory connection)


I'm running App_PhysicsServer_SharedMemory_GUI_vs2010_x64_release and App_PhysicsServerSharedMemoryBridgeTCP_vs2010_x64_release executables. With the following python client:

Code: Select all

>>> import pybullet as p
pybullet build time: Apr  7 2020 00:39:02
>>> p.connect(p.TCP)
b3ConnectPhysicsTCP connected successfully.
b3Warning[examples/SharedMemory/PhysicsDirect.cpp,736]:
Robot description not receivedb3Warning[examples/SharedMemory/PhysicsDirect.cpp,736]:
Robot description not receivedb30
>>> p.getNumBodies()
2
>>> for b in range(2): p.getNumJoints(b)
...
0
0
>>> p.disconnect()
>>> p.connect(p.SHARED_MEMORY, p.SHARED_MEMORY_KEY)
0
>>> p.getNumBodies()
2
>>> for b in range(2): p.getNumJoints(b)
...
4
79
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: Robot description not loaded - TCP server client connection

Post by Erwin Coumans »

There could be some issues in the implementation, as discussed here:
https://github.com/bulletphysics/bullet ... -617133707

Please check it out again soon.
Post Reply