Skip to content

Commit

Permalink
fix solver options minimum jerk
Browse files Browse the repository at this point in the history
  • Loading branch information
maximvochten committed Jul 18, 2024
1 parent 8275d59 commit aa5edb7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ def __init__(self, window_len = 100, w_pos = 1, w_regul_jerk = 10**-5 , bool_uns
# Solve already once with dummy measurements
self.initialize_solver(window_len)
if fatrop_solver:
self.ocp._method.set_option("print_level",0)
self.ocp._method.set_option("tol",1e-12)
self.ocp._method.set_option("print_level",print_level)
self.ocp._method.set_option("tol",tolerance)
self.ocp._method.set_option("max_iter",max_iter)
self.first_window = True

# Transform the whole OCP to a Casadi function
Expand Down

0 comments on commit aa5edb7

Please sign in to comment.