Skip to content

Commit 1875e73

Browse files
committed
add docstring
1 parent 65d6954 commit 1875e73

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/wheels.jl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,22 @@ with the wheel itself. A [`Revolute`](@ref) joint rotationg around `n = [0, 1, 0
262262
compose(ODESystem(equations, t; name), frame_a, wheeljoint, body)
263263
end
264264

265+
266+
267+
"""
268+
SlipWheelJoint(; name, radius, angles = zeros(3), der_angles = zeros(3), x0 = 0, y0 = radius, z0 = 0, sequence, iscut = false, surface = nothing, vAdhesion_min = 0.1, vSlide_min = 0.1, sAdhesion = 0.1, sSlide = 0.1, mu_A = 0.8, mu_S = 0.6, phi_roll = 0, w_roll = 0)
269+
270+
Joint for a wheel with slip rolling on a surface.
271+
272+
# Parameters
273+
- `radius`: Radius of the wheel
274+
- `vAdhesion_min`: Minimum adhesion velocity
275+
- `vSlide_min`: Minimum sliding velocity
276+
- `sAdhesion`: Adhesion slippage
277+
- `sSlide`: Sliding slippage
278+
- `mu_A`: Friction coefficient at adhesion
279+
- `mu_S`: Friction coefficient at sliding
280+
"""
265281
@component function SlipWheelJoint(; name, radius, angles = zeros(3), der_angles=zeros(3), x0=0, y0 = radius, z0=0, sequence = [2, 3, 1], iscut=false, surface = nothing, vAdhesion_min = 0.1, vSlide_min = 0.1, sAdhesion = 0.1, sSlide = 0.1, mu_A = 0.8, mu_S = 0.6, phi_roll = 0, w_roll = 0)
266282
@parameters begin
267283
radius = radius, [description = "Radius of the wheel"]

0 commit comments

Comments
 (0)