Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terminate called after throwing an instance of 'std::length_error' what(): basic_string::_M_replace #381

Open
mtejada30 opened this issue Jul 2, 2024 · 0 comments

Comments

@mtejada30
Copy link

I am performing a genetic algorithm to learn the PID controller variables for a line follower. Well, this problem appears every time I reset the scene. I was observing that the following error appears when executing pr.start():

terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_replace
Aborted (core dumped)

This error does not always appear, I have already executed it visually and headless mode. For the visual way it always appears, and in the other way it has a probability of appearing and in others it allows the entire genetic algorithm to be completed.

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

No branches or pull requests

1 participant