Open eric-wieser opened 8 years ago
This line strikes me as incorrect.
Vr = cross(o,D(:,i)) + v;
D is in body coordinates, but o and v are in world coordinates, so this doesn't make any sense.
D
o
v
Assuming Vr should be in body coordinates, I think this should be
Vr
Vr = inv(R) * (cross(o,R*D(:,i)) + v);
Or if o is actually body rate, then
Vr = cross(o,D(:,i)) + inv(R) * v;
This line strikes me as incorrect.
D
is in body coordinates, buto
andv
are in world coordinates, so this doesn't make any sense.Assuming
Vr
should be in body coordinates, I think this should be