training_classical_control.plots#

Module Contents#

Functions#

plot_influence_of_K_on_pendulum

Plots the influence of feedback value K for different values of K on the inverted pendulum system.

plot_small_angle_approximation

Plots the small angle approximation to the sine and cosine functions over the range [- pi / 4, pi / 4].

plot_second_order_step_response

Plots step response of an under-damped second order system.

plot_estimator_response

As its name suggests, this function plots the response of an estimator.

plot_inverted_pendulum_results

As its name suggests, this function plots the results of a run of the inverted pendulum environment.

Data#

__all__

API#

training_classical_control.plots.__all__#

[‘plot_influence_of_K_on_pendulum’, ‘plot_small_angle_approximation’, ‘plot_second_order_step_respon…

training_classical_control.plots.plot_influence_of_K_on_pendulum(K_values: list[float] | None = None) None[source]#

Plots the influence of feedback value K for different values of K on the inverted pendulum system.

training_classical_control.plots.plot_small_angle_approximation()[source]#

Plots the small angle approximation to the sine and cosine functions over the range [- pi / 4, pi / 4].

training_classical_control.plots.plot_second_order_step_response() None[source]#

Plots step response of an under-damped second order system.

This is used to explain parameter identification for a second order system.

training_classical_control.plots.plot_estimator_response(estimated_response: control.timeresp.TimeResponseData, *, labels: list[str], observations: numpy.typing.NDArray | None = None) None[source]#

As its name suggests, this function plots the response of an estimator.

training_classical_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.