Scripting API

btkGetForcePlatforms

Module BTKAnalogAccessor

Description#

Extracts force platforms' informations from the given biomechanical acquisition.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.

Returned Values#

forceplatesPaged structure with the following fields:
  • forceplates(i).channels: structure with fields's name corresponding to the analog channel used.
  • forceplates(i).corners: Matrix (3,4) of reals with the 3D coordinates of the four corners of the force platform expressed in the global frame.
  • forceplates(i).origin: Matrix (3,1) of reals with the 3D coordinates of the origin the force platform expressed in the global frame.
  • forceplates(i).type: Integer indicating the force platform's type. For more information on this type, see the C3D documentation (www.c3d.org).
forceplatesInfoPaged structure with the following fields:
  • forceplates(i).frequency: Real with the force platform's channel' frequency.
  • forceplates(i).units: structure where each field's name is a label of one analog channel and gives its unit as a string.
  • forceplates(i).cal_matrix: Matrix of reals used to correct the cross talk between channels This matrix is only used with some supported force platform type.

Detailed Description#

Notes#

See also#

Syntax#

[forceplates, forceplatesInfo] = btkGetForcePlatforms(h)

Examples#