Skip to content

Commit bcd3fb2

Browse files
committed
vars to Body
1 parent 03994ff commit bcd3fb2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/components.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,17 +416,17 @@ This component has a single frame, `frame_a`. To represent bodies with more than
416416
Ra = ori(frame_a, false)
417417
qeeqs = nonunit_quaternion_equations(Ra, w_a)
418418
else
419-
@named frame_a = Frame(varw=true)
420-
Ra = ori(frame_a, true)
419+
@named frame_a = Frame(varw=false)
420+
Ra = ori(frame_a, false)
421421
@variables phi(t)[1:3]=phi0 [state_priority = 10, description = "Euler angles"]
422422
@variables phid(t)[1:3]=phid0 [state_priority = 10]
423423
@variables phidd(t)[1:3] [state_priority = 0]
424-
append!(vars, [phi; phid; phidd])
424+
append!(vars, [phi, phid, phidd])
425425
ar = axes_rotations(sequence, phi, phid)
426426
Equation[
427427
phid .~ D.(phi)
428428
phidd .~ D.(phid)
429-
Ra.w .~ ar.w
429+
# Ra.w .~ ar.w
430430
collect(w_a .~ (angular_velocity2(ar)))
431431
# w_a .~ ar.w # This one for most systems
432432
Ra ~ ar

0 commit comments

Comments
 (0)