Skip to content

Commit 611a124

Browse files
typos
1 parent 86b9955 commit 611a124

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/Mechanical/PlanarMechanics/components.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ https://github.com/dzimmer/PlanarMechanics/blob/743462f58858a808202be93b70839146
227227
end
228228

229229
"""
230-
Damper(; name, d = 1, s_smal = 1.e-10)
230+
Damper(; name, d = 1, s_small = 1.e-10)
231231
232232
Linear (velocity dependent) damper
233233

src/Mechanical/PlanarMechanics/joints.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ A revolute joint
44
55
# parameters
66
- `use_flange=false`: If `true`, a force flange is enabled, otherwise implicitly grounded"
7-
- `phi`: [rad] Intial angular position for the flange
8-
- `tau`: [N.m] Inital Cut torque in the flange
7+
- `phi`: [rad] Initial angular position for the flange
8+
- `tau`: [N.m] Initial Cut torque in the flange
99
1010
# states
1111
- `phi(t)`: [rad] angular position

test/Mechanical/planar_mechanics.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ end
110110
# test_points = [i / ω for i in 0:0.1:10]
111111

112112
# # instantaneous linear velocity
113-
# v_singal(t) = -ω^2 * sin.(ω .* t)
114-
# @test all(v_singal.(test_points) .≈ sol.(test_points; idxs = abs_v_sensor.v_x.u))
113+
# v_signal(t) = -ω^2 * sin.(ω .* t)
114+
# @test all(v_signal.(test_points) .≈ sol.(test_points; idxs = abs_v_sensor.v_x.u))
115115

116116
# # instantaneous linear acceleration
117-
# a_singal(t) = -ω^3 * cos.(ω .* t)
118-
# @test all(a_singal.(test_points) .≈ sol.(test_points; idxs = body.ax))
117+
# a_signal(t) = -ω^3 * cos.(ω .* t)
118+
# @test all(a_signal.(test_points) .≈ sol.(test_points; idxs = body.ax))
119119
# end
120120

121121
# @testset "Sensors (two free falling bodies)" begin
@@ -205,11 +205,11 @@ end
205205
# # the body is under constant acclertation = g
206206
# @test all(sol[abs_a_sensor.a_y.u] .≈ g)
207207

208-
# # the relative y-accleration between body1 and the base is
209-
# # equal to the absolute y-accleration of body1
208+
# # the relative y-acceleration between body1 and the base is
209+
# # equal to the absolute y-acceleration of body1
210210
# @test sol[abs_a_sensor.a_y.u][end] ≈ -sol[rel_a_sensor1.rel_a_y.u][end]
211211

212-
# # the relative y-accleration between body1 and body2 is zero
212+
# # the relative y-acceleration between body1 and body2 is zero
213213
# @test sol[rel_a_sensor2.rel_a_y.u][end] == 0
214214
# end
215215

0 commit comments

Comments
 (0)