You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
angle ~_compute_angle2(length_constraint, e, r_a, r_b, positive_branch)
450
+
end
449
451
]
450
452
451
453
sys =ODESystem(eqs, t; name=:nothing, systems)#, parameter_dependencies = [positive_branch => select_branch(length_constraint, e, phi_offset + phi_guess, r_a, r_b)]) # JuliaSimCompiler ignores parameter dependencies, the user has to provide it instead
@@ -502,6 +504,7 @@ The rest of this joint aggregation is defined by the following parameters:
502
504
phi_offset =0,
503
505
phi_guess =0,
504
506
positive_branch,
507
+
use_arrays =false,
505
508
)
506
509
systems =@namedbegin
507
510
frame_a =Frame()
@@ -550,6 +553,7 @@ The rest of this joint aggregation is defined by the following parameters:
550
553
phi_offset,
551
554
phi_guess,
552
555
positive_branch,
556
+
use_arrays,
553
557
)
554
558
push!(more_systems, revolute)
555
559
@@ -734,27 +738,33 @@ function compute_angle(L::Real, e::AbstractVector, r_a::AbstractVector, r_b::Abs
k1a >1e-10||error("Singular position of loop (either no or two analytic solutions; the mechanism has lost one-degree-of freedom in this position). Try to use another joint-assembly component. In most cases it is best to let joints outside of the JointXXX component be revolute and _not_ prismatic joints. If this also leads to singular positions, it could be that this kinematic loop cannot be solved analytically. In this case you have to build up the loop with basic joints (_no_ aggregation JointXXX components) and rely on dynamic state selection, i.e., during simulation the states will be dynamically selected in such a way that in no position a degree of freedom is lost.")
750
+
#k1a > 1e-10 || error("Singular position of loop (either no or two analytic solutions; the mechanism has lost one-degree-of freedom in this position). Try to use another joint-assembly component. In most cases it is best to let joints outside of the JointXXX component be revolute and _not_ prismatic joints. If this also leads to singular positions, it could be that this kinematic loop cannot be solved analytically. In this case you have to build up the loop with basic joints (_no_ aggregation JointXXX components) and rely on dynamic state selection, i.e., during simulation the states will be dynamically selected in such a way that in no position a degree of freedom is lost.")
0 commit comments