Quote:
Originally Posted by Bo8_87
What software do people use to graph and plot data? I found some, such as mathplotlib, but I am wondering what other teams use.
|
We use matplotlib and some python scripts to parse and plot our data. We've also used gnuplot.
The trickier part is how to log data real-time. Most/all IO is not real-time. You can get away with writing data to a file from your control loop thread for quick tests, but that's risky for longer tests. (Sometimes when I'm really lazy, I'll stick the file IO operations in the main code, time them and abort if they take too long. This lets me least know if I'm getting bad data.) We queue up the data we want to write into a queue, and write it to disk in a separate thread. This unfortunately adds significant complexity.