Skip to content

Commit

Permalink
Hotfix: missing AttachmentType in the carla mock module for unittest (#…
Browse files Browse the repository at this point in the history
…1077)

* blueprint-based spawn_actor function for CDP

* Auto-Option to decide tracking

* Updated changelog

* spawned actors are tracked if they are Vehicle | Walker

* Updated spawn_actor description

* Added missing AttachmentType for carla mock

---------

Co-authored-by: glopezdiest <[email protected]>
  • Loading branch information
Daraan and glopezdiest committed May 3, 2024
1 parent a6a9a31 commit b1ce704
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions srunner/tests/carla_mocks/carla.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,8 @@ def __init__(self, id):
reponse_list.append(Response(new_actor.id))

return reponse_list

class AttachmentType:
Rigid = 0
SpringArm = 1
SpringArmGhost = 2

0 comments on commit b1ce704

Please sign in to comment.