Set Jump params
  • 11 Dec 2023
  • 1 Minute to read
  • Dark
    Light

Set Jump params

  • Dark
    Light

Article Summary


SMExerciseFlowManager().setJumpRefPoint(jumpRefPoint: "Hip")

Inputs: String from the following options “Hip” / "Lowest"

This function set the reference point for measuring the jump height. default value is “Hip”


SMExerciseFlowManager().setJumpHeightThreshold(threshold: 5)

Input: Float which defined the minimal detected Jump height

This function defines the minimal height to detect a valid jump.

This default value is 10 [cm]


SMExerciseFlowManager().setUserHeight(height: 172)

Input: Float which indicates the user’s height in cm

To achieve the most accurate jump heights we advise the users to set the person’s height in advance in [cm]

The default value is 180 cm


Was this article helpful?