Skip to content

Commit

Permalink
Switch to use SVL PyBullet release version (ARISE-Initiative#304)
Browse files Browse the repository at this point in the history
* switch to use SVL pybullet release version

* update installation instructions
  • Loading branch information
yukezhu committed Mar 21, 2022
1 parent 955f5e0 commit d653ed7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/demos.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The `demo_device_control.py` scripts shows how to teleoperate robot with [contro
Download and install the [driver](https://www.3dconnexion.com/service/drivers.html) before running the script.

Additionally, `--pos_sensitivity` and `--rot_sensitivity` provide relative gains for increasing / decreasing the user input
device sensitivity. The `--controller` argument determines the choice of using either inverse kinematics controller (`ik`) or operational space controller (`osc`). The main difference is that user inputs with `ik`'s rotations are always taken relative to eef coordinate frame, whereas user inputs with `osc`'s rotations are taken relative to global frame (i.e., static / camera frame of reference). `osc` also tends to be more computationally efficient since `ik` relies on the backend [pybullet](https://github.com/bulletphysics/bullet3) IK solver.
device sensitivity. The `--controller` argument determines the choice of using either inverse kinematics controller (`ik`) or operational space controller (`osc`). The main difference is that user inputs with `ik`'s rotations are always taken relative to eef coordinate frame, whereas user inputs with `osc`'s rotations are taken relative to global frame (i.e., static / camera frame of reference). `osc` also tends to be more computationally efficient since `ik` relies on the backend [pybullet](https://github.com/StanfordVL/bullet3) IK solver.


Furthermore, please choose environment specifics with the following arguments:
Expand Down
2 changes: 1 addition & 1 deletion requirements-extra.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# required for IK controllers
pybullet==2.6.9
pybullet-svl>=3.1.6.4

# required for GymWrapper
gym
Expand Down
4 changes: 2 additions & 2 deletions robosuite/controllers/ik.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
NOTE: requires pybullet module.
Run `pip install pybullet==2.6.9`.
Run `pip install "pybullet-svl>=3.1.6.4"`.
NOTE: IK is only supported for the following robots:
Expand All @@ -19,7 +19,7 @@
try:
import pybullet as p
except ImportError:
raise Exception("Please make sure pybullet is installed. Run `pip install pybullet==2.6.9`")
raise Exception("""Please make sure pybullet is installed. Run `pip install "pybullet-svl>=3.1.6.4"`""")
import os
from os.path import join as pjoin

Expand Down

0 comments on commit d653ed7

Please sign in to comment.