-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
createVisualShapeArray and clone_body (focus on collision-only now)
- clear INFO_FROM_DATA when disconnect or reset_simulation - test fixture separated
- Loading branch information
Showing
10 changed files
with
395 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
import pytest | ||
from fixtures import * | ||
|
||
def pytest_addoption(parser): | ||
parser.addoption('--viewer', action='store_true', help='Enables the pybullet viewer') | ||
parser.addoption('--print_debug', action='store_true', help='print out info') | ||
|
||
@pytest.fixture | ||
def viewer(request): | ||
return request.config.getoption("--viewer") | ||
|
||
@pytest.fixture | ||
def print_debug(request): | ||
return request.config.getoption("--print_debug") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import os, pytest | ||
|
||
@pytest.fixture | ||
def robot_path(): | ||
here = os.path.dirname(__file__) | ||
return os.path.join(here, 'test_data', 'universal_robot', 'ur_description', 'urdf', 'ur5.urdf') | ||
|
||
@pytest.fixture | ||
def workspace_path(): | ||
here = os.path.dirname(__file__) | ||
return os.path.join(here, 'test_data', 'mit_3-412_workspace', 'urdf', 'mit_3-412_workspace.urdf') | ||
|
||
@pytest.fixture | ||
def clamp_urdf_path(): | ||
here = os.path.dirname(__file__) | ||
return os.path.join(here, 'test_data', 'c1', 'urdf', 'c1.urdf') | ||
|
||
@pytest.fixture | ||
def ee_path(): | ||
here = os.path.dirname(__file__) | ||
return os.path.join(here, 'test_data', 'dms_bar_gripper.obj') | ||
|
||
|
Oops, something went wrong.