PyRep
PyRep copied to clipboard
terminate called after throwing an instance of 'std::length_error' what(): basic_string::_M_replace
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.