apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Is it possible to drive to destination with initial velocity v>0?

Open dohyunjk opened this issue 2 years ago • 2 comments

When I run Baidu Apollo with LGSVL simulator, the Dreamview only setup the 1) list of module to use, and the 2) coordinate of the destination (https://github.com/lgsvl/PythonAPI/blob/master/lgsvl/dreamview/dreamview.py#L305-L352). So, the trip to the destination always start from the stopped state, which is initial velocity v=0. Can I change the initial state of ego vehicle and start with initial velocity v>0?

dohyunjk avatar Nov 24 '23 02:11 dohyunjk

I also wanted to see if I could start a scenario with an initial velocity greater than 0, I haven't found a solution yet.

However, starting a scenario with ego's velocity greater than 0 might cause other issues. I suspect the planning module will probably not work well if it is initialized during motion. Do you have any opinion on why it would be okay to initialize the ADS during motion?

YuqiHuai avatar Nov 27 '23 20:11 YuqiHuai

Perhaps I want to test the interaction between the ego vehicle and other vehicles in a specific road situation. If I cannot give initial velocity, the ego vehicle has to start far behind somewhere, and it seems like a time-consuming task. Also, if I want to test a specific velocity, it is hard to reproduce such a situation.

dohyunjk avatar Nov 30 '23 08:11 dohyunjk