EdgeID Retrieval #101
Answered
by
kschrab
ShrenikaSrinivas
asked this question in
Q&A
EdgeID Retrieval
#101
-
Hello, I need to make use of Edge Id for the application, could you please tell me where I could find the API which returns me Edge ID from MOSAIC |
Beta Was this translation helpful? Give feedback.
Answered by
kschrab
May 10, 2021
Replies: 1 comment
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ShrenikaSrinivas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
getOs().getRoadPosition().getConnectionId();
for that. The term "Connection" in MOSAIC is equivalent to the term "Edge" in SUMO.