Introduce new DataLogger class for logging simulation results
The current logger class has two drawbacks:
- It's not real-time capable
- We can not easily pass the simulation results to Python
We should introduce a new DataLogger class with a similar API to the existing Logger class (for Eigen objects). Internally this DataLogger should use a in-memory queue/fifo to buffer the results before they are passed to a sink.
A sink could be:
- CSV files
I propose that each Sink is implemented as a specialization of the DataLogger class: