Yeah lets create a class in Scoot.py have an instance in scoot that looks at the logs being written on the /rosout topic
So it would store some value that would indicate the error state it last saw (recently), easy with a call back.
Like knowing the float from "System processing previous call, there are still 27.797383 seconds left" could save significant time as we can sleep for that exact amount and if we miss the message(somehow) we can wait the maximum time which is what we are already doing.
Also if our coordinates are wrong we can move abit or something.
And if neither work we know we might actually have a real exception
Yeah lets create a class in Scoot.py have an instance in scoot that looks at the logs being written on the
/rosout
topicSo it would store some value that would indicate the error state it last saw (recently), easy with a call back.
Like knowing the float from "System processing previous call, there are still 27.797383 seconds left" could save significant time as we can sleep for that exact amount and if we miss the message(somehow) we can wait the maximum time which is what we are already doing.
Also if our coordinates are wrong we can move abit or something.
And if neither work we know we might actually have a real exception
Data: