rcognita.visualization.animator

This module contains an interface class animator along with concrete realizations, each of which is associated with a corresponding system.

Remarks:

  • All vectors are treated as of type [n,]

  • All buffers are treated as of type [L, n] where each row is a vector

  • Buffers are updated from bottom to top

Functions

init_data_cursor(matplotlib_handle)

reset_line(matplotlib_handle)

update_line(matplotlib_handle, newX, newY)

update_patch_color(matplotlib_handle, new_color)

update_text(matplotlib_handle, new_text)

Classes

Animator([subplot_grid_size])

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

Dashboard()

RobotMarker([angle, path_string])

Robot marker for visualization.