Skip to content

Commit

Permalink
Fixed visualization of parametric models in periodic gait sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed Apr 15, 2024
1 parent 4487036 commit 4d15127
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ def get_references(
right_contact_points = [s.contact_points.right for s in humanoid_states]

visualizer_settings = get_visualizer_settings(input_settings=planner_settings)
planner.set_initial_guess(
planner_guess
) # This is to update the values of multipliers and densities
visualizer_settings.robot_model = planner.get_adam_model()
visualizer = hp_rp.HumanoidStateVisualizer(settings=visualizer_settings)
print("Press [Enter] to visualize the solution.")
Expand Down

0 comments on commit 4d15127

Please sign in to comment.