rcognita.visuals.Animator2Tank¶
- class rcognita.visuals.Animator2Tank(objects=[], pars=[])¶
Animator class for a 2-tank system.
- __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()set_sim_data(ts, h1s, h2s, ps, rs, accum_objs)This function is needed for playback purposes when simulation data were generated elsewhere.
stop_anm()Stops animation, provided that
self.anmwas defined viaget_anm.upd_sim_data_row()