Skip to content

Commit

Permalink
Set egoVehicle value according to actual value of given Actor (fixes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
tillschallau committed Nov 9, 2023
1 parent 80ca64b commit be2da02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ fun convertJsonVehicleToVehicle(
typeId = actor.typeId,
acceleration = actor.acceleration.toVector3D(),
angularVelocity = actor.angularVelocity.toVector3D(),
egoVehicle = false,
egoVehicle = actor.egoVehicle,
forwardVector = actor.forwardVector.toVector3D(),
id = actor.id,
lane = lane,
Expand Down

0 comments on commit be2da02

Please sign in to comment.