Skip to content

Commit b005e75

Browse files
committed
fixes due to breaking change in MTK
1 parent 9c7cd62 commit b005e75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PlanarMechanics/components.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The `BodyShape` component is similar to a [`Body`](@ref), but it has two frames
126126
I = 0.1, [description = "inertia of the body with respect to the center of mass"]
127127
radius = 0.1, [description = "Radius of the body in animations"]
128128
render = true, [description = "Render the body in animations"]
129-
(color[1:4] = purple), [description = "Color of the body in animations"]
129+
color[1:4] = purple, [description = "Color of the body in animations"]
130130
end
131131
@components begin
132132
translation = FixedTranslation(; r)
@@ -450,7 +450,7 @@ Simple wheel model with viscous lateral friction and a driving torque
450450
end
451451
@parameters begin
452452
(radius = 0.3), [description = "Radius of the wheel"]
453-
(color[1:4] = [1, 0, 0, 1]), [description = "Color of the wheel in animations"]
453+
color[1:4] = [1, 0, 0, 1], [description = "Color of the wheel in animations"]
454454
μ = 1e9, [description = "Viscous friction coefficient"]
455455
# Fy0 = 1e4, [description = "Lateral friction force at zero longitudinal force"]
456456
# μx = Fy0, [description = "Maximum longitudinal friction force"]

0 commit comments

Comments
 (0)