Find origin of warn and error messages
Hi,
I'm working on a project with several ros nodes, most either 3rd party or done by my predecessor. I'm now trying to put all pieces together, and I'm getting several WARN and ERROR messages, like :
[ERROR] [1602233077.384387072]: Lookup would require extrapolation into the past. Requested time 1602233066.485275640 but the earliest data is at time 1602233067.347147640, when looking up transform from frame [WA_2] to frame [odom]
[ WARN] [1602233235.711645984]: Failed to meet update rate! Took 0.071975827000000006106
The problem is that all the nodes (some in python, some in C++) are launched from a single node writen in python (using the roslaun API), so there is no easy way (as far as I know) to launch them each in a different terminal. Therefore, it is quite hard to knwo were the errors comme from.
Is there a way to indicate were the error/warning messages come from (at least which node, if I can get the file or even the line, it's even better).
If you have a simple solution to get this at least for the nodes I can easely modify, it would already be a nice start.
Thanks a lot in advance
Best
Felix