symforce.examples.robot_3d_localization.plotting module

plot_solution(optimizer, result, animated=False, show_iteration_text=False)[source]

Visualize the optimization problem along its iterations. If animated is True, displays a matplotlib animation instead of providing an interactive slider.

Parameters:
  • optimizer (Optimizer) –

  • result (Result) –

  • animated (bool) –

  • show_iteration_text (bool) –

Return type:

None

get_data_to_plot(v)[source]

Compute direct quantities needed for plotting.

Parameters:

v (Values) –

Return type:

AttrDict