File tree Expand file tree Collapse file tree 1 file changed +1
-32
lines changed
src/Mechanical/PlanarMechanics Expand file tree Collapse file tree 1 file changed +1
-32
lines changed Original file line number Diff line number Diff line change @@ -7,42 +7,11 @@ module PlanarMechanics
77using ModelingToolkit, Symbolics, IfElse
88using ... Blocks: RealInput, RealOutput
99import ... @symcheck
10+ import ModelingToolkitStandardLibrary. Mechanical. Rotational
1011
1112@parameters t
1213D = Differential (t)
1314
14- module Rotational
15- # TODO : figure out how to use Rotational directly
16- using ModelingToolkit
17- export Flange, Support
18- include (" ../Rotational/utils.jl" )
19-
20- """
21- Fixed(;name, phi0 = 0.0)
22-
23- Flange fixed in housing at a given angle.
24-
25- # Connectors:
26-
27- - `flange` [Flange](@ref)
28-
29- # Parameters:
30-
31- - `phi0`: [`rad`] Fixed offset angle of housing
32- """
33- @mtkmodel Fixed begin
34- @components begin
35- flange = Flange ()
36- end
37- @parameters begin
38- phi0 = 0.0 , [description = " Fixed offset angle of flange" ]
39- end
40- @equations begin
41- flange. phi ~ phi0
42- end
43- end
44- end
45-
4615export Frame, PartialTwoFrames
4716include (" utils.jl" )
4817
You can’t perform that action at this time.
0 commit comments