rcognita.visuals.Animator¶
- class rcognita.visuals.Animator(objects=[], pars=[])¶
Interface class of visualization machinery for simulation of system-controller loops. To design a concrete animator: inherit this class, override:
__init__():define necessary visual elements (required)init_anim():initialize necessary visual elements (required)animate():animate visual elements (required)- objects¶
Objects to be updated within animation cycle
- Type
: tuple
- pars¶
Fixed parameters of objects and visual elements
- Type
: tuple
- __init__(objects=[], pars=[])¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([objects, pars])Initialize self.
animate(k)get_anm(anm)anmshould be aFuncAnimationobject.init_anim()stop_anm()Stops animation, provided that
self.anmwas defined viaget_anm.