Skip to content

Commit a05868a

Browse files
committed
Cleanup
1 parent 306b5e3 commit a05868a

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

examples/test_tuned_winchcontroller.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ println("Max iterations needed: $(wcs.iter)")
8181
println("Performance of force controllers: $(round(100*(1-f_err(lg)), digits=2)) %")
8282
println("Performance of speed controller: $(round(100*(1-v_err(lg)), digits=2)) %")
8383
println("Damage: $(round(100*(damage(lg; jerk=true)), digits=2)) %")
84-
println("Combined performance γ: $(round(100*gamma(lg), digits=2)) %")
84+
println("Combined performance γ: $(round(100*gamma(lg; jerk=true), digits=2)) %")

examples/test_winchcontroller.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ println("Max iterations needed: $(wcs.iter)")
8181
println("Performance of force controllers: $(round(100*(1-f_err(lg)), digits=2)) %")
8282
println("Performance of speed controller: $(round(100*(1-v_err(lg)), digits=2)) %")
8383
println("Damage: $(round(100*(damage(lg; jerk=true)), digits=2)) %")
84-
println("Combined performance γ: $(round(100*gamma(lg), digits=2)) %")
84+
println("Combined performance γ: $(round(100*gamma(lg; jerk=true), digits=2)) %")

scripts/autotune.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ function autotune(max_iter=1000)
130130

131131
println("\nPerformance of force controllers: $(round(100*(1-f_err(lg)), digits=2)) %")
132132
println("Performance of speed controller: $(round(100*(1-v_err(lg)), digits=2)) %")
133-
println("Damage: $(round(100*(damage(lg)), digits=2)) %")
134-
println("Damage with rms: $(round(100*(damage(lg; rms=true)), digits=2)) %")
135133
println("Damage with jerk: $(round(100*(damage(lg; jerk=true)), digits=2)) %")
136134
println("Combined performance γ: $(round(-100*result.bbo_best_feas[1], digits=2)) %")
137135
wcs

0 commit comments

Comments
 (0)