training_ml_control.plots#
Module Contents#
Functions#
As its name suggests, this function plots the results of a run of the cart environment. |
|
As its name suggests, this function plots the results of a run of the inverted pendulum environment. |
|
Animated plots of cart simulation. |
|
Animated plots of inverted pendulum simulation. |
|
Animated plots of full inverted pendulum simulation with angle and position. |
|
Animated plots of pendulum simulation. |
Data#
API#
- training_ml_control.plots.__all__#
[‘plot_cart_results’, ‘plot_inverted_pendulum_results’, ‘animate_cart_simulation’, ‘animate_inverted…
- training_ml_control.plots.plot_cart_results(T: numpy.typing.NDArray, reference: float, observations: numpy.typing.NDArray, actions: numpy.typing.NDArray) None[source]#
As its name suggests, this function plots the results of a run of the cart environment.
- training_ml_control.plots.plot_inverted_pendulum_results(T: numpy.typing.NDArray, reference: float, observations: numpy.typing.NDArray, actions: numpy.typing.NDArray) None[source]#
As its name suggests, this function plots the results of a run of the inverted pendulum environment.
- training_ml_control.plots.animate_cart_simulation(data: do_mpc.data.Data | do_mpc.data.MPCData, *, reference: float | None = None) IPython.display.HTML[source]#
Animated plots of cart simulation.
- training_ml_control.plots.animate_inverted_pendulum_simulation(data: do_mpc.data.Data | do_mpc.data.MPCData) IPython.display.HTML[source]#
Animated plots of inverted pendulum simulation.