Skip to content

[WIP] External asset import script #2899

[WIP] External asset import script

[WIP] External asset import script #2899

GitHub Actions / Test Results succeeded Oct 11, 2024 in 0s

33 passed, 1 failed and 1 skipped

Tests failed

Report Passed Failed Skipped Time
11284145901-tests-test_robot_teleoperation/test_robot_teleoperation.xml 1⚪ 26ms
11284145901-tests-test_transform_utils/test_transform_utils.xml 33✅ 1❌ 560ms

✅ 11284145901-tests-test_robot_teleoperation/test_robot_teleoperation.xml

1 tests were completed in 26ms with 0 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
pytest 1⚪ 26ms

✅ pytest

tests.test_robot_teleoperation
  ⚪ test_teleop

❌ 11284145901-tests-test_transform_utils/test_transform_utils.xml

34 tests were completed in 560ms with 33 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 33✅ 1❌ 560ms

❌ pytest

tests.test_transform_utils.TestQuaternionOperations
  ✅ test_quat2mat_special_cases
  ✅ test_quat_multiply
  ✅ test_quat_conjugate
  ✅ test_quat_inverse
  ✅ test_quat_distance
tests.test_transform_utils.TestVectorOperations
  ✅ test_normalize
  ✅ test_dot_product
  ✅ test_l2_distance
tests.test_transform_utils.TestMatrixOperations
  ✅ test_rotation_matrix_properties
  ✅ test_rotation_matrix
  ✅ test_transformation_matrix
  ✅ test_transformation_matrix_no_point
  ✅ test_matrix_inverse
tests.test_transform_utils.TestCoordinateTransformations
  ✅ test_cartesian_to_polar
tests.test_transform_utils.TestPoseTransformations
  ✅ test_pose2mat_and_mat2pose
  ✅ test_pose_inv
tests.test_transform_utils.TestAxisAngleConversions
  ✅ test_axisangle2quat_and_quat2axisangle
  ✅ test_vecs2axisangle
  ✅ test_vecs2quat
tests.test_transform_utils.TestEulerAngleConversions
  ✅ test_euler2quat_and_quat2euler
  ✅ test_euler2mat_and_mat2euler
tests.test_transform_utils.TestQuaternionApplications
  ✅ test_quat_apply
  ❌ test_quat_slerp
	self = <test_transform_utils.TestQuaternionApplications object at 0x7fbd62d2d2d0>
tests.test_transform_utils.TestTransformPoints
  ✅ test_transform_points_2d
  ✅ test_transform_points_3d
tests.test_transform_utils.TestMiscellaneousFunctions
  ✅ test_convert_quat
  ✅ test_random_quaternion
  ✅ test_random_axis_angle
  ✅ test_align_vector_sets
  ✅ test_copysign
  ✅ test_anorm
  ✅ test_check_quat_right_angle
  ✅ test_z_angle_from_quat
  ✅ test_integer_spiral_coordinates

Annotations

Check failure on line 0 in 11284145901-tests-test_transform_utils/test_transform_utils.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results

pytest ► tests.test_transform_utils.TestQuaternionApplications ► test_quat_slerp

Failed test found in:
  11284145901-tests-test_transform_utils/test_transform_utils.xml
Error:
  self = <test_transform_utils.TestQuaternionApplications object at 0x7fbd62d2d2d0>
Raw output
self = <test_transform_utils.TestQuaternionApplications object at 0x7fbd62d2d2d0>

    def test_quat_slerp(self):
        for i in range(0, len(RANDOM_QUATERNIONS), 2):
            q1, q2 = RANDOM_QUATERNIONS[i], RANDOM_QUATERNIONS[i + 1]
            t = th.rand(1)
            q_slerp = quat_slerp(q1, q2, t)
    
            key_rots = R.from_quat(np.stack([q1.cpu().numpy(), q2.cpu().numpy()]))
            key_times = [0, 1]
            slerp = Slerp(key_times, key_rots)
>           scipy_q_slerp = slerp([t]).as_quat()[0].astype(NumpyTypes.FLOAT32)

tests/test_transform_utils.py:361: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   ValueError: `times` must be at most 1-dimensional.

_rotation.pyx:2569: ValueError