Skip to content

Conversation

SzymonParapura
Copy link

Description

Abstract

This PR contains unit tests for:

  1. LidarSensor and LidarSensorBase
  2. Primitive
  3. DetectionSensorBase

Details

  1. update_noEgo
  2. update_correct
  3. update_goBackInTime
  4. getDetectedObjects
  5. addToScene_sample
  6. addToScene_zeros
  7. getTriangles
  8. getVertex
  9. get2DConvexHull_normal
  10. get2DConvexHull_withTransform
  11. getMin
  12. getMin_withTransform
  13. getMin_empty
  14. getMax
  15. getMax_withTransform
  16. getMax_empty

Below tests are expected to fail because DetectionSensorBase do not implement the getDetectedObjects and getSensorPose function.
17. getSensorPose_noEgo
18. getSensorPose_correct
19. getDetectedObjects

References

Jira ticket: link

Destructive Changes

There are no destructive changes

 - Added unit tests to DetectionSensorBase
 - Added unit tests to LidarSensor and LidarSensorBase
 - Added unit tests to Primitive
@SzymonParapura SzymonParapura self-assigned this Jun 20, 2024
@SzymonParapura SzymonParapura requested a review from robomic June 20, 2024 09:16
@SzymonParapura SzymonParapura marked this pull request as draft June 20, 2024 09:45
@SzymonParapura SzymonParapura removed the request for review from robomic June 20, 2024 09:45
 - Used non trivial sensor pose in PrimitiveTest
@SzymonParapura SzymonParapura requested a review from robomic June 20, 2024 10:19
@SzymonParapura SzymonParapura marked this pull request as ready for review June 20, 2024 10:19
 - Removed DetectionSensorBase unit tests
 - Refactored LidarSensorTest and RaycastTest
 - Refactored PrimitvieTest
 - Added new header file with helper functions
Copy link

@robomic robomic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants