You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/tutorial_system_structure.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,12 +91,12 @@ set.v_wind = 0.0
91
91
tethers = [Tether(1,[segment.idx for segment in segments])]
92
92
```
93
93
As you can see, we just add all of the segments from the simple tether to our [`Tether`](@ref) struct.
94
-
The next step is to create a winch. Each winch can be connected to one or more tethers, so it is possible to connect multiple tethers to the same winch. We have to specify which kind of winch we want to use. For now, only the `TorqueControlledMachine` from `WinchModels.jl` is supported.
94
+
The next step is to create a winch. Each winch can be connected to one or more tethers, so it is possible to connect multiple tethers to the same winch.
95
+
The winch is a torque controlled winch.
95
96
96
97
```julia
97
98
using WinchModels
98
-
wm =TorqueControlledMachine(set)
99
-
winches = [Winch(1, wm, [1])]
99
+
winches = [Winch(1, set, [1])]
100
100
```
101
101
102
102
The 2d plot of the [`SystemStructure`](@ref) should still look the same, so we don't have to plot that. We can just create the system, and simulate it. We just need to be sure that we call plot with `t=0.0` to reset the plot.
0 commit comments