PyRep icon indicating copy to clipboard operation
PyRep copied to clipboard

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

Open mtejada30 opened this issue 1 year ago • 0 comments

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.

mtejada30 avatar Jul 02 '24 15:07 mtejada30