Acceleration Along X (ACCX)

Returns an x component of the difference between the acceleration vectors of two coordinate system markers.

Format

ACCX (To Marker, From Marker, Along Marker, Reference Frame)

Arguments

 
To Marker
(Required) The coordinate system marker whose acceleration is being measured.
From Marker
(Optional) The coordinate system marker whose acceleration is subtracted off. If you don't specify this argument, it defaults to the global origin.
Along Marker
(Optional) The coordinate system marker along whose x-axis the acceleration is measured. If you don't specify this argument, it defaults to the global x-axis.
Reference Frame
(Optional) The coordinate system marker in which time-derivatives are calculated. If you don't specify this argument, it defaults to the ground reference frame.

Equation

Mathematically, ACCX is calculated as follows:
where:
is the position vector from the global origin to the To Marker, T.
is the second time-derivative of with respect to the Reference Frame, R.
is the position vector from the global origin to the From Marker, F.
is the second time-derivative of with respect to the Reference Frame, R.
is the unit vector along the x-axis of the Along Marker, A.

Example

The following function returns the x component of the acceleration vector of marker_T with respect to marker_F. The vector is expressed in the coordinate system of marker_A. All time-derivatives are taken in the ground reference frame, since the Reference Frame, R, is not specified.
ACCX(marker_T, marker_F, marker_A)