Skip to content

Commit 37a41e7

Browse files
authored
Merge pull request #136 from JuliaComputing/license
add licenses for derived code
2 parents 7e11e7e + 5bbab89 commit 37a41e7

File tree

3 files changed

+72
-10
lines changed

3 files changed

+72
-10
lines changed

LICENSE

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,69 @@
1-
(C) JuliaHub Inc. 2022-2023. All rights reserved.
1+
(C) JuliaHub Inc. 2022-2023. All rights reserved.
2+
3+
===============================================================================
4+
5+
Parts of the code in the PlanarMechanics submodule have been adapted from the PlanarMechanics modelica library, which is licensed under the 3-Clause BSD License. The original license text is included below.
6+
7+
BSD 3-Clause License
8+
9+
Copyright (c) 2010-2023, Deutsches Zentrum fuer Luft- und Raumfahrt e.V.
10+
All rights reserved.
11+
12+
Redistribution and use in source and binary forms, with or without
13+
modification, are permitted provided that the following conditions are met:
14+
15+
1. Redistributions of source code must retain the above copyright notice, this
16+
list of conditions and the following disclaimer.
17+
18+
2. Redistributions in binary form must reproduce the above copyright notice,
19+
this list of conditions and the following disclaimer in the documentation
20+
and/or other materials provided with the distribution.
21+
22+
3. Neither the name of the copyright holder nor the names of its
23+
contributors may be used to endorse or promote products derived from
24+
this software without specific prior written permission.
25+
26+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
29+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
30+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
33+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
34+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36+
37+
===============================================================================
38+
39+
Parts of the code in Multibody.jl have been adapted from the Modelica Standard Library, which is licensed under the 3-Clause BSD License. The original license text is included below.
40+
41+
BSD 3-Clause License
42+
43+
Copyright (c) 1998-2024, Modelica Association and contributors
44+
All rights reserved.
45+
46+
Redistribution and use in source and binary forms, with or without
47+
modification, are permitted provided that the following conditions are met:
48+
49+
* Redistributions of source code must retain the above copyright notice, this
50+
list of conditions and the following disclaimer.
51+
52+
* Redistributions in binary form must reproduce the above copyright notice,
53+
this list of conditions and the following disclaimer in the documentation
54+
and/or other materials provided with the distribution.
55+
56+
* Neither the name of the copyright holder nor the names of its
57+
contributors may be used to endorse or promote products derived from
58+
this software without specific prior written permission.
59+
60+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
61+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
62+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
63+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
64+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
65+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
66+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
67+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
68+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
69+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

src/PlanarMechanics/joints.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ A revolute joint
1919
- `fixed` [Fixed](@ref) if `axisflange == false`
2020
- `flange_a` [Flange](@ref) if `axisflange == true`
2121
- `support` [Support](@ref) if `axisflange == true`
22-
23-
https://github.com/dzimmer/PlanarMechanics/blob/743462f58858a808202be93b708391461cbe2523/PlanarMechanics/Joints/Revolute.mo
2422
"""
2523
@component function Revolute(;
2624
name,
@@ -102,8 +100,6 @@ A prismatic joint
102100
- `fixed` [Fixed](@ref) if `axisflange == false`
103101
- `flange_a` [Flange](@ref) if `axisflange == true`
104102
- `support` [Support](@ref) if `axisflange == true`
105-
106-
https://github.com/dzimmer/PlanarMechanics/blob/743462f58858a808202be93b708391461cbe2523/PlanarMechanics/Joints/Prismatic.mo
107103
"""
108104
@component function Prismatic(;
109105
name,

src/PlanarMechanics/sensors.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Partial absolute sensor model for sensors defined by components
1010
frame_a = Frame()
1111
end
1212
# TODO: assert the number of connections
13-
# https://github.com/dzimmer/PlanarMechanics/blob/443b007bcc1522bb172f13012e2d7a8ecc3f7a9b/PlanarMechanics/Sensors/Internal/PartialAbsoluteSensor.mo#L11
1413
end
1514

1615
"""
@@ -28,7 +27,6 @@ Partial relative sensor model for sensors defined by components
2827
frame_b = Frame()
2928
end
3029
# TODO: assert the number of connections
31-
# https://github.com/dzimmer/PlanarMechanics/blob/443b007bcc1522bb172f13012e2d7a8ecc3f7a9b/PlanarMechanics/Sensors/Internal/PartialRelativeSensor.mo#L12-L13
3230
end
3331

3432
"""
@@ -47,7 +45,7 @@ Partial absolute sensor models for sensors defined by equations (frame_resolve m
4745

4846
@equations begin
4947
# TODO: assert the number of connections
50-
# https://github.com/dzimmer/PlanarMechanics/blob/443b007bcc1522bb172f13012e2d7a8ecc3f7a9b/PlanarMechanics/Sensors/Internal/PartialAbsoluteBaseSensor.mo#L20-L21
48+
5149
frame_a.fx ~ 0
5250
frame_a.fy ~ 0
5351
frame_a.tau ~ 0
@@ -75,7 +73,7 @@ Partial relative sensor models for sensors defined by equations (frame_resolve m
7573

7674
@equations begin
7775
# TODO: assert the number of connections
78-
# https://github.com/dzimmer/PlanarMechanics/blob/443b007bcc1522bb172f13012e2d7a8ecc3f7a9b/PlanarMechanics/Sensors/Internal/PartialRelativeBaseSensor.mo#L19-L21
76+
7977

8078
frame_a.fx ~ 0
8179
frame_a.fy ~ 0
@@ -327,7 +325,7 @@ end
327325
systems = [frame_a, frame_b, frame_resolve, x_in, y_in, phi_in, x_out, y_out, phi_out]
328326
eqs = [
329327
# TODO: assert the number of connections
330-
# https://github.com/dzimmer/PlanarMechanics/blob/443b007bcc1522bb172f13012e2d7a8ecc3f7a9b/PlanarMechanics/Sensors/Internal/BasicTransformAbsoluteVector.mo#L42-L43
328+
331329
frame_a.fx ~ 0,
332330
frame_a.fy ~ 0,
333331
frame_a.tau ~ 0,

0 commit comments

Comments
 (0)