pomdp_py.problems.tag.env.visual module
Largely based on MosViz, except this is not an OO-POMDP
-
class pomdp_py.problems.tag.env.visual.TagViz(env, res=30, fps=30, controllable=False, observation_model=None)[source]
Bases: object
-
property img_width
-
property img_height
-
property last_observation
-
update(action, observation, belief)[source]
Update the visualization after there is new real action and observation
and updated belief.
-
static draw_robot(img, x, y, th, size, color=(255, 12, 12))[source]
-
static draw_observation(img, z, rx, ry, rth, r, size, color=(12, 12, 255))[source]
-
static draw_belief(img, belief, r, size, target_color)[source]
belief (OOBelief)
-
on_init()[source]
pygame init
-
on_event(event)[source]
-
on_loop()[source]
-
on_render()[source]
-
on_cleanup()[source]
-
on_execute()[source]
-
render_env(display_surf)[source]
-
pomdp_py.problems.tag.env.visual.unittest()[source]