Skip to content

Commit 76ab9f5

Browse files
committed
Use v_ro=4m/s
1 parent 3dcf7a0 commit 76ab9f5

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

mwes/mwe_02.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function motor_dynamics(x, u)
4747
return [acc]
4848
end
4949

50-
v_set = 8.0
50+
v_set = 4.0
5151
force = 4000.0
5252
v_act = find_equilibrium_speed(winch, v_set, force)
5353

mwes/mwe_03.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function motor_dynamics(x, u)
4949
return [acc]
5050
end
5151

52-
v_set = 8.0
52+
v_set = 4.0
5353
force = 4000.0
5454
v_act = find_equilibrium_speed(winch, v_set, force)
5555

@@ -68,4 +68,4 @@ D = [0.0 0.0]
6868
sys = ss(A, B, C, D)
6969
sys_new = ss(A, B[:, 1], C, D[:, 1])
7070

71-
bode_plot(sys_new; to=2, title="Linearized Winch, F=$force N")
71+
bode_plot(sys_new; from=0.76, to=2.85, title="Linearized Winch, F=$force N")

mwes/mwe_04.jl

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ function linearize(winch, v_set, force)
6262
end
6363

6464
v_set = 4.0
65-
for force in range(300.0, 3800.0, length=10)
66-
@info "Linearizing for force: $force N"
67-
sys_new = linearize(winch, v_set, force)
68-
# @info "System: $sys_new"
69-
# @info "Eigenvalues: $(eigvals(sys_new))"
70-
bode_plot(sys_new; from=0.76, to=2.85, title="Linearized Winch, F=300..3800 N")
71-
end
65+
# for force in range(300.0, 3800.0, length=10)
66+
# @info "Linearizing for force: $force N"
67+
# sys_new = linearize(winch, v_set, force)
68+
# # @info "System: $sys_new"
69+
# # @info "Eigenvalues: $(eigvals(sys_new))"
70+
# bode_plot(sys_new; from=0.76, to=2.85, title="Linearized Winch, F=300..3800 N")
71+
# end
7272

73-
# bode_plot(sys_new; to=2, title="Linearized Winch, F=$force N")
73+
sys_new = linearize(winch, v_set, 1000.0)
74+
bode_plot(sys_new; from=0.76, to=2.85, title="Linearized Winch, F=1000 N")

0 commit comments

Comments
 (0)