Skip to content

Is there any existing method to spawn a vehicle giving a global longitudinal position? #729

Answered by QuanyiLi
lev-smolentsev-K1 asked this question in Q&A
Discussion options

You must be logged in to vote

I think it is allowed to generate vehicles by filling in the global position and heading as the argument:

The reason we calculate the lane length for lanes in each block and place vehicles is that we want to scatter vehicles on the map evenly or randomly and avoid overlapping.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lev-smolentsev-K1
Comment options

Answer selected by lev-smolentsev-K1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants