Skip to content

Commit 7e42ca5

Browse files
committed
workflow updates, formatting
1 parent dc9fe2d commit 7e42ca5

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/run_tests.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,28 @@ on:
55
branches: ['main', 'develop']
66

77
jobs:
8-
# lint:
9-
# runs-on: ubuntu-latest
10-
# steps:
11-
# - uses: actions/checkout@v4
12-
# - uses: psf/black@stable
13-
# with:
14-
# options: "--check --verbose --diff --line-length=120 ./"
158
build:
169
strategy:
1710
fail-fast: true
1811
matrix:
1912
os: [ubuntu-latest, macos-latest, windows-latest]
20-
python-version: [3.8, 3.9, 3.10]
13+
python-version: ['3.8', '3.9', '3.10', '3.11']
2114

2215
runs-on: ${{ matrix.os }}
2316
steps:
2417
- uses: actions/checkout@v4
18+
2519
- name: Set up Python ${{ matrix.python-version }}
2620
uses: actions/setup-python@v2
2721
with:
2822
python-version: ${{ matrix.python-version }}
23+
2924
- name: Install dependencies
3025
run: |
3126
python -m pip install --upgrade pip
3227
pip install .
3328
pip install flake8 black pytest
29+
3430
- name: Format with black
3531
uses: psf/black@stable
3632
with:

pybullet_tree_sim/robot.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _generate_robot_urdf(self) -> None:
112112
self.robot_conf.update(part_conf)
113113
else:
114114
raise ValueError(f"Robot part {robot_part} not found in {self._robot_configs_path}")
115-
115+
116116
log.warn(self.robot_conf)
117117
# Generate URDF from mappings
118118
robot_urdf = xutils.load_urdf_from_xacro(
@@ -833,7 +833,11 @@ def get_key_sensor_action(self, keys_pressed: list) -> dict | None:
833833
depth = depth.reshape((sensor.depth_width * sensor.depth_height, 1), order="F")
834834

835835
camera_points = self.deproject_pixels_to_points(
836-
sensor=sensor, data=depth, view_matrix=view_matrix, return_frame="world", debug=False,
836+
sensor=sensor,
837+
data=depth,
838+
view_matrix=view_matrix,
839+
return_frame="world",
840+
debug=False,
837841
)
838842

839843
sensor_data.update(

0 commit comments

Comments
 (0)