Skip to content

sim_control cannot reset localization if restart#14563

Open
col-in-coding wants to merge 1 commit intoApolloAuto:masterfrom
col-in-coding:dev/sim_control
Open

sim_control cannot reset localization if restart#14563
col-in-coding wants to merge 1 commit intoApolloAuto:masterfrom
col-in-coding:dev/sim_control

Conversation

@col-in-coding
Copy link
Copy Markdown
Contributor

I fixed the bug for sim_control. sim_control won't reset localization if it was restarted.

@col-in-coding
Copy link
Copy Markdown
Contributor Author

@qwetqwe @changsh726 @daohu527
Hey guys, pls review my recent PR

#14563
#14562
#14509
#14503
#14499

Thank you so much

@YuqiHuai
Copy link
Copy Markdown
Contributor

YuqiHuai commented Dec 8, 2022

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)?

@col-in-coding
Copy link
Copy Markdown
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants