@@ -29,15 +29,15 @@ Frame fixed in the planar world frame at a given position and orientation
29
29
end
30
30
31
31
"""
32
- Body(; name, m=1, I=0.1, r=0, gy=-9.807 , radius=0.1, render=true, color=Multibody.purple)
32
+ Body(; name, m=1, I=0.1, r=0, gy=-9.80665 , radius=0.1, render=true, color=Multibody.purple)
33
33
34
34
Body component with mass and inertia
35
35
36
36
# Parameters:
37
37
- `m`: [kg] mass of the body
38
38
- `I`: [kg.m²] inertia of the body with respect to the origin of `frame` along the z-axis of `frame`
39
39
- `r`: [m, m] Translational position x,y-position
40
- - `gy`: [m/s²] gravity field acting on the mass in the y-direction, positive value acts in the positive direction defaults to -9.807
40
+ - `gy`: [m/s²] gravity field acting on the mass in the y-direction, positive value acts in the positive direction defaults to -9.80665
41
41
- `radius`: [m] Radius of the body in animations
42
42
- `render`: [Bool] Render the body in animations
43
43
- `color`: [Array{Float64,1}] Color of the body in animations
@@ -53,7 +53,7 @@ Body component with mass and inertia
53
53
# Connectors:
54
54
- `frame`: 2-dim. Coordinate system
55
55
"""
56
- @component function Body (; name, m, I, r = zeros (2 ), v= nothing , phi = nothing , w= nothing , gy = - 9.807 , radius= 0.1 , render= true , color= Multibody. purple, state_priority= 2 )
56
+ @component function Body (; name, m, I, r = zeros (2 ), v= nothing , phi = nothing , w= nothing , gy = - 9.80665 , radius= 0.1 , render= true , color= Multibody. purple, state_priority= 2 )
57
57
@named frame_a = Frame ()
58
58
pars = @parameters begin
59
59
m = m, [description = " Mass of the body" ]
0 commit comments