Skip to content

Commit

Permalink
misc value tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutherland333 committed Apr 11, 2024
1 parent 85d3407 commit c77946f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rosplane_tuning/src/autotune/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __init__(self, initial_point, optimization_params):

# Number of iterations since improvement
self.k = 0
self.max_k = 10
self.max_k = 5

# Reason for termination
self.reason = ""
Expand Down
4 changes: 2 additions & 2 deletions rosplane_tuning/src/autotune/optimizer_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def FakeRollController(x, include_noise):
'sigma': 1.5,
'alpha': 0.05,
'tau': 0.1,
'h': 0.05}
'h': 0.01}
optimizer = Optimizer(curr_points[0], optimization_params)
num_repeats = 5
num_repeats = 3

# Print initial point and value
print('Initial point: {}'.format(curr_points[0]))
Expand Down

0 comments on commit c77946f

Please sign in to comment.