Repository: bulletphysics/bullet3

Issue:
I got following error when I run python3 robotcontrol.py 
I got following error when I run python3 robotcontrol.py 

Traceback (most recent call last):
  File "robotcontrol.py", line 26, in <module>
    p.getContactPointData(husky)
AttributeError: module 'pybullet' has no attribute 'getContactPointData'



Discussion:
Do you have the newest version from the repository? Depending on your OS, you can use either the bat or sh script to properly compile pybullet. 
Yes, I am using Ubuntu 16.04. 
The API changed into getContactPoints, the scripts need update. See Bullet/docs/pybullet_quickstart_guide.pdf for details.

Patch:
diff --git a/examples/pybullet/robotcontrol.py b/examples/pybullet/robotcontrol.py
index e94d6d5bad..3541b9d9e0 100644
--- a/examples/pybullet/robotcontrol.py
+++ b/examples/pybullet/robotcontrol.py
@@ -23,7 +23,7 @@
 for step in range (400):
         p.stepSimulation()
 
-p.getContactPointData(husky)
+p.getContactPoints(husky)
 
 p.disconnect()