bullet3/examples/pybullet/unittests
Tigran Gasparian 9c7aa3a863 Changes UserData to use global identifiers and makes linkIndex optional.
This removes the need to specify the body id/link index when retrieving a user data entry.
Additionally, user data can now optionally be set to visual shapes as well.

The following public pybullet APIs have changed (backwards incompatible)
addUserData and getUserDataId
  Makes linkIndex parameter optional (default value is -1)
  Adds optional visualShapeIndex parameter (default value is -1)

getUserData and removeUserData
  Removes required parameters bodyUniqueId and linkIndex

getNumUserData
  Removes required bodyUniqueId parameter

getUserDataInfo
  Removes required linkIndex parameter
  Changes returned tuple from (userDataId, key) to (userDataId, key, bodyUniqueId, linkIndex, visualShapeIndex)
2018-07-03 17:45:19 +02:00
..
saveRestoreStateTest.py enable more unit tests in PyBullet. 2018-06-09 12:19:29 -07:00
unittests.py Remove numpy dependency 2018-04-11 16:58:58 +09:00
userDataTest.py Changes UserData to use global identifiers and makes linkIndex optional. 2018-07-03 17:45:19 +02:00
utils.py Remove numpy dependency 2018-04-11 16:58:58 +09:00