Closed rubenvanparys closed 8 years ago
I would suggest a new structure: a plot layer class from which objects can inherit. So this means that objects will contain the plot functionality. So in stead of doing this:
simulator.plot.show('input')
You will do this:
vehicle.plot('input')
vehicle signals are plotted by vehicle.plot('input')
. The 'scene' is plotted on problem: problem.plot('scene')
. See example directory.
The plot class can only plot variables (signals and trajectories) related to vehicles. It would be desirable if every kind of object can plot relevant data (eg. admm problem plots residuals showing the convergence)