Skip to content

Commit

Permalink
Merge pull request #43 from JuliaComputing/isroot-default
Browse files Browse the repository at this point in the history
default Revolute to isroot
  • Loading branch information
baggepinnen authored Nov 7, 2023
2 parents 910d62b + 1b36b4e commit 6f13504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If `useAxisFlange`, flange connectors for ModelicaStandardLibrary.Mechanics.Rota
- `support`: 1-dim. rotational flange of the drive support (assumed to be fixed in the world frame, NOT in the joint)
"""
@component function Revolute(; name, phi0 = 0, w0 = 0, n = Float64[0, 0, 1], useAxisFlange = false,
isroot = false, radius = 0.1)
isroot = true, radius = 0.1)
norm(n) 1 || error("Axis of rotation must be a unit vector")
@named frame_a = Frame()
@named frame_b = Frame()
Expand Down

0 comments on commit 6f13504

Please sign in to comment.