Scripting API

btkGetGroundReactionWrenches

Module BTKAcquisitionAccessor

Description#

Extracts ground reaction wrenches (GRW) expressed in the global frame from a given acquisition.

Parameters#

hHandle pointing to a C++ btk::Acquisition object.
thresholdSet all positions to (0,0,0) when the Fz value is lower or equal than the threshold

Returned Values#

grwPaged dictionnary with the following fields:
  • grw[i]["P"]: Numpy matrix (n,3) containing the positons of the wrench where 'n' corresponds to the number of frames.
  • grw[i]["F"]: Numpy matrix (n,3) containing the forces of the wrench where 'n' corresponds to the number of frames.
  • grw[i]["M"]: Numpy matrix (n,3) containing the moments of the wrench where 'n' corresponds to the number of frames.

Detailed Description#

Notes#

See also#

btkGetGroundReactionWrenches

Syntax#

grw = btkGetGroundReactionWrenches(h, threshold)

Examples#