apollo
apollo copied to clipboard
sim_control cannot reset localization if restart
I fixed the bug for sim_control. sim_control won't reset localization if it was restarted.
@qwetqwe @changsh726 @daohu527 Hey guys, pls review my recent PR
https://github.com/ApolloAuto/apollo/pull/14563 https://github.com/ApolloAuto/apollo/pull/14562 https://github.com/ApolloAuto/apollo/pull/14509 https://github.com/ApolloAuto/apollo/pull/14503 https://github.com/ApolloAuto/apollo/pull/14499
Thank you so much
Hi, hope you are doing well!
I use SimControl and I am curious about why you want to reset localization when restarting SimControl.
Currently, if you pause SimControl and restart it, it will just continue from where it left off.
Are you proposing, in the same use case described above, it should reset the vehicle to the initial dummy position map_service_->GetStartPoint(&start_point)?
Hi, hope you are doing well!
I use SimControl and I am curious about why you want to reset localization when restarting SimControl.
Currently, if you pause SimControl and restart it, it will just continue from where it left off. Are you proposing, in the same use case described above, it should reset the vehicle to the initial dummy position
map_service_->GetStartPoint(&start_point)?
By default, you are able to jump to any starting point for different scenarios. Anyone may shuttle down SimControl by mistake, and this functionality not works any more even restart the SimControl