iGibson icon indicating copy to clipboard operation
iGibson copied to clipboard

Unify joint control / link state calls

Open ChengshuLi opened this issue 3 years ago • 1 comments

We are using

  • pybullet calls: e.g. p.resetJointState
  • igibson.external.pybullet_tools.utils calls: e.g. set_joint_positions
  • RobotJoint function calls in robot_base.py: e.g. reset_state

It might be better to unify all of these.

ChengshuLi avatar Dec 16 '21 19:12 ChengshuLi

There's usually no good reason to use the p. versions directly, too - with the pybullet_tools version you can see the arguments & it will put the results in easy-to-use namedtuples.

cgokmen avatar Dec 16 '21 21:12 cgokmen