Skip to content

Commit

Permalink
Merge branch 'feature/cam-init-intrinsic-matrix' of github.com:isaac-…
Browse files Browse the repository at this point in the history
…sim/IsaacLab into feature/cam-init-intrinsic-matrix
  • Loading branch information
pascal-roth committed Aug 29, 2024
2 parents 16a30ce + e212ca6 commit 0e960e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,9 +648,11 @@ def test_output_equal_to_usdcamera_prim_offset(self):
atol=1e-4,
)

def test_output_equal_to_usdcamera_intrinsics(self):
"""Test that the output of the ray caster camera is equal to the output of the usd camera when both are
initialized with the same intrinsic matrix."""
def test_output_equal_to_usd_camera_intrinsics(self):
"""
Test that the output of the ray caster camera and usd camera are the same when both are
initialized with the same intrinsic matrix.
"""

# create cameras
offset_rot = [-0.1251, 0.3617, 0.8731, -0.3020]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,11 @@ def test_throughput(self):
self.assertGreater(im_data.mean().item(), 0.0)
del camera

def test_output_equal_to_usdcamera_intrinsics(self):
"""Test that the output of the ray caster camera is equal to the output of the usd camera when both are
initialized with the same intrinsic matrix."""
def test_output_equal_to_usd_camera_intrinsics(self):
"""
Test that the output of the ray caster camera and the usd camera are the same when both are
initialized with the same intrinsic matrix.
"""

# create cameras
offset_rot = (-0.1251, 0.3617, 0.8731, -0.3020)
Expand Down

0 comments on commit 0e960e3

Please sign in to comment.