Skip to content

Commit

Permalink
Turn back on animation for pend swing example.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Jan 10, 2018
1 parent 5f7ec45 commit 205c2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pendulum_swing_up.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def obj_grad(free):
prob.plot_objective_value() prob.plot_objective_value()


# Display animation # Display animation
if building_docs(): if not building_docs():
time = np.linspace(0.0, duration, num=num_nodes) time = np.linspace(0.0, duration, num=num_nodes)
angle = solution[:num_nodes] angle = solution[:num_nodes]


Expand Down

0 comments on commit 205c2ea

Please sign in to comment.