maliput / delphyne

Scenario and search based Ego/Ado Car traffic simulations
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Unique id for visuals to fix rendering of model 0 #757

Closed scpeters closed 3 years ago

scpeters commented 3 years ago

In delphyne demos with multiple agents, the model with index 0 is displayed in the wrong location. This is caused by visuals with no specified id being treated as having an id of 0. Giving a unique id to each visual fixes the location of the rendered model.

This also renames generate_link_id.h to generate_unique_id.h and adds a GenerateVisualId helper function.