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
I've noticed that BodyNode::getBodyLinearAcceleration() is actually returning the last three components of spatial acceleration rather than returning the linear acceleration. You could say that it's returning the "linear" components of spatial acceleration, but I would expect that "linear acceleration" ought to refer to linear classic acceleration (which differs from the linear portion of spatial acceleration by w x v).
On this same note, I think it would be good to be more explicit about the use of spatial versus classic velocity/acceleration. I'm working on the Frame class at the moment (which will become responsible for managing velocities and accelerations), so I'll try to work something out without hurting the existing API.
The text was updated successfully, but these errors were encountered:
I've realized that this issue applies to the Jacobian time derivative as well, because the time derivative operates a bit differently in classical coordinates compared to spatial coordinates.
Right now I'm working out how to compute the classical Jacobian Derivative, and then I plan to have the API offer two functions:
BodyNode::getJacobianSpatialDeriv() and BodyNode::getJacobianClassicalDeriv(), where they will both accept a reference Frame (default is the Body-fixed Frame). getJacobianSpatialDeriv() would simply replace the existing getJacobianDeriv() functions which all implicitly assume you want to operate with spatial coordinates.
Luckily, the Jacobian itself is no different between classic and spatial coordinates, so there is no ambiguity there. It's only the time derivative of the Jacobian that is different between the two (in fact, I think even the angular portion of the time derivative might be the same; it's just the linear portion which is very different).
I've noticed that BodyNode::getBodyLinearAcceleration() is actually returning the last three components of spatial acceleration rather than returning the linear acceleration. You could say that it's returning the "linear" components of spatial acceleration, but I would expect that "linear acceleration" ought to refer to linear classic acceleration (which differs from the linear portion of spatial acceleration by w x v).
On this same note, I think it would be good to be more explicit about the use of spatial versus classic velocity/acceleration. I'm working on the Frame class at the moment (which will become responsible for managing velocities and accelerations), so I'll try to work something out without hurting the existing API.
The text was updated successfully, but these errors were encountered: