Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 19, 2024
1 parent 1c67bba commit 66cfff7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion omnigibson/controllers/osc_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,4 +652,6 @@ def _compute_osc_torques_numpy(


# Set these as part of the backend values
add_compute_function(name="compute_osc_torques", np_function=_compute_osc_torques_numpy, th_function=_compute_osc_torques_torch)
add_compute_function(
name="compute_osc_torques", np_function=_compute_osc_torques_numpy, th_function=_compute_osc_torques_torch
)
1 change: 0 additions & 1 deletion omnigibson/utils/transform_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ def random_quaternion(num_quaternions: int = 1) -> torch.Tensor:
return quaternions



@torch.compile
def random_axis_angle(angle_limit: float = 2.0 * math.pi):
"""
Expand Down
4 changes: 3 additions & 1 deletion omnigibson/utils/usd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1936,4 +1936,6 @@ def _compute_relative_poses_numpy(idx, n_links, all_tfs, base_pose):


# Set these as part of the backend values
add_compute_function(name="compute_relative_poses", np_function=_compute_relative_poses_numpy, th_function=_compute_relative_poses_torch)
add_compute_function(
name="compute_relative_poses", np_function=_compute_relative_poses_numpy, th_function=_compute_relative_poses_torch
)

0 comments on commit 66cfff7

Please sign in to comment.