Skip to content

Commit f4c8863

Browse files
committed
[ci skip] [appveyor skip] Update comments to reflect the assumptions behind the COP and PWA calculations.
1 parent ac2f930 commit f4c8863

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

OpenSim/Common/C3DFileAdapter.h

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,19 @@ class OSIMCOMMON_API C3DFileAdapter : public FileAdapter {
3939

4040
/** Enumerated list of locations in which read in forces are expressed.
4141
Measurement from force plates can be expressed by the C3DFileAdapter
42-
either at the OriginOfForcePlate (the default), CenterOfPressure, or the
43-
PointOfWrenchApplication. It is an optional argument to C3DFileAdapter::read().
42+
either at the OriginOfForcePlate (the default), CenterOfPressure, or
43+
the PointOfWrenchApplication. It is an optional argument to
44+
C3DFileAdapter::read().
45+
46+
In the case of the CenterOfPressure (COP), the underlying assumptions
47+
are that the ground plane (in which COP is defined) passes through the
48+
lab origin (0,0,0) with the Z-axis as its normal vector.
49+
50+
The PointOfWrenchApplication (PWA) does not assume a plane of contact.
51+
The PWA is an equivalent wrench in the lab frame and computed according
52+
to Shimba 1984.
53+
Takeshi Shimba, An estimation of center of gravity from force platform
54+
data, Journal of Biomechanics, 17(1), pp53-60, 1984.
4455
4556
<b>C++ example</b>
4657
\code{.cpp}
@@ -96,10 +107,7 @@ class OSIMCOMMON_API C3DFileAdapter : public FileAdapter {
96107
respective *f#*, *p#* and *m#* column labels. C3DFileAdpater provides
97108
options for expressing the force-plate measurements either as the
98109
net force and moments expressed at the ForcePlateOrigin, the
99-
CentereOfPressure, or the PointOfWrenchApplication (PWA) as defined by
100-
Shimba 1984.
101-
Takeshi Shimba, An estimation of center of gravity from force platform
102-
data, Journal of Biomechanics, 17(1), pp53-60, 1984.
110+
CentereOfPressure, or the PointOfWrenchApplication (see above).
103111
*/
104112
static
105113
Tables read(const std::string& fileName,

0 commit comments

Comments
 (0)