react-native-nitro-pose-exercises 1.1.6 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -126
- package/android/src/main/java/com/margelo/nitro/nitroposeexercises/NitroPoseExercises.kt +116 -4
- package/ios/NitroPoseExercises.swift +143 -41
- package/lib/module/NitroPoseExercises.nitro.js.map +1 -1
- package/lib/module/config/bicep-curl.js +3 -0
- package/lib/module/config/bicep-curl.js.map +1 -1
- package/lib/module/config/boat-pose.js +3 -0
- package/lib/module/config/boat-pose.js.map +1 -1
- package/lib/module/config/bow-pose.js +3 -0
- package/lib/module/config/bow-pose.js.map +1 -1
- package/lib/module/config/bridge-pose.js +3 -0
- package/lib/module/config/bridge-pose.js.map +1 -1
- package/lib/module/config/calf-raise.js +3 -0
- package/lib/module/config/calf-raise.js.map +1 -1
- package/lib/module/config/camel-pose.js +3 -0
- package/lib/module/config/camel-pose.js.map +1 -1
- package/lib/module/config/chair-pose.js +3 -0
- package/lib/module/config/chair-pose.js.map +1 -1
- package/lib/module/config/childs-pose.js +3 -0
- package/lib/module/config/childs-pose.js.map +1 -1
- package/lib/module/config/cobra-pose.js +3 -0
- package/lib/module/config/cobra-pose.js.map +1 -1
- package/lib/module/config/cobra-wings.js +3 -0
- package/lib/module/config/cobra-wings.js.map +1 -1
- package/lib/module/config/dead-lift.js +3 -0
- package/lib/module/config/dead-lift.js.map +1 -1
- package/lib/module/config/downward-dog.js +3 -0
- package/lib/module/config/downward-dog.js.map +1 -1
- package/lib/module/config/extended-side-angle.js +3 -0
- package/lib/module/config/extended-side-angle.js.map +1 -1
- package/lib/module/config/fish-pose.js +3 -0
- package/lib/module/config/fish-pose.js.map +1 -1
- package/lib/module/config/front-raise.js +3 -0
- package/lib/module/config/front-raise.js.map +1 -1
- package/lib/module/config/glute-bridge.js +3 -0
- package/lib/module/config/glute-bridge.js.map +1 -1
- package/lib/module/config/hip-abduction.js +3 -0
- package/lib/module/config/hip-abduction.js.map +1 -1
- package/lib/module/config/knee-raise.js +3 -0
- package/lib/module/config/knee-raise.js.map +1 -1
- package/lib/module/config/lateral-raise.js +3 -0
- package/lib/module/config/lateral-raise.js.map +1 -1
- package/lib/module/config/leg-raise.js +3 -0
- package/lib/module/config/leg-raise.js.map +1 -1
- package/lib/module/config/lunge.js +3 -0
- package/lib/module/config/lunge.js.map +1 -1
- package/lib/module/config/mountain-pose.js +3 -0
- package/lib/module/config/mountain-pose.js.map +1 -1
- package/lib/module/config/overarm-reach.js +3 -0
- package/lib/module/config/overarm-reach.js.map +1 -1
- package/lib/module/config/plank.js +3 -0
- package/lib/module/config/plank.js.map +1 -1
- package/lib/module/config/pull-up.js +3 -0
- package/lib/module/config/pull-up.js.map +1 -1
- package/lib/module/config/pushup.js +4 -0
- package/lib/module/config/pushup.js.map +1 -1
- package/lib/module/config/reverse-warrior.js +3 -0
- package/lib/module/config/reverse-warrior.js.map +1 -1
- package/lib/module/config/shoulder-press.js +3 -0
- package/lib/module/config/shoulder-press.js.map +1 -1
- package/lib/module/config/side-lung.js +3 -0
- package/lib/module/config/side-lung.js.map +1 -1
- package/lib/module/config/side-plank.js +3 -0
- package/lib/module/config/side-plank.js.map +1 -1
- package/lib/module/config/situp.js +3 -0
- package/lib/module/config/situp.js.map +1 -1
- package/lib/module/config/squat.js +3 -0
- package/lib/module/config/squat.js.map +1 -1
- package/lib/module/config/sumo-squat.js +3 -0
- package/lib/module/config/sumo-squat.js.map +1 -1
- package/lib/module/config/tree-pose.js +3 -0
- package/lib/module/config/tree-pose.js.map +1 -1
- package/lib/module/config/triangle-pose.js +3 -0
- package/lib/module/config/triangle-pose.js.map +1 -1
- package/lib/module/config/tricep-dip.js +4 -0
- package/lib/module/config/tricep-dip.js.map +1 -1
- package/lib/module/config/v-up.js +3 -0
- package/lib/module/config/v-up.js.map +1 -1
- package/lib/module/config/wall-sit.js +3 -0
- package/lib/module/config/wall-sit.js.map +1 -1
- package/lib/module/config/warrior-i.js +3 -0
- package/lib/module/config/warrior-i.js.map +1 -1
- package/lib/module/config/warrior-ii.js +3 -0
- package/lib/module/config/warrior-ii.js.map +1 -1
- package/lib/module/config/warrior-iii.js +3 -0
- package/lib/module/config/warrior-iii.js.map +1 -1
- package/lib/typescript/src/NitroPoseExercises.nitro.d.ts +9 -1
- package/lib/typescript/src/NitroPoseExercises.nitro.d.ts.map +1 -1
- package/lib/typescript/src/config/bicep-curl.d.ts.map +1 -1
- package/lib/typescript/src/config/boat-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/bow-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/bridge-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/calf-raise.d.ts.map +1 -1
- package/lib/typescript/src/config/camel-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/chair-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/childs-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/cobra-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/cobra-wings.d.ts.map +1 -1
- package/lib/typescript/src/config/dead-lift.d.ts.map +1 -1
- package/lib/typescript/src/config/downward-dog.d.ts.map +1 -1
- package/lib/typescript/src/config/extended-side-angle.d.ts.map +1 -1
- package/lib/typescript/src/config/fish-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/front-raise.d.ts.map +1 -1
- package/lib/typescript/src/config/glute-bridge.d.ts.map +1 -1
- package/lib/typescript/src/config/hip-abduction.d.ts.map +1 -1
- package/lib/typescript/src/config/knee-raise.d.ts.map +1 -1
- package/lib/typescript/src/config/lateral-raise.d.ts.map +1 -1
- package/lib/typescript/src/config/leg-raise.d.ts.map +1 -1
- package/lib/typescript/src/config/lunge.d.ts.map +1 -1
- package/lib/typescript/src/config/mountain-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/overarm-reach.d.ts.map +1 -1
- package/lib/typescript/src/config/plank.d.ts.map +1 -1
- package/lib/typescript/src/config/pull-up.d.ts.map +1 -1
- package/lib/typescript/src/config/pushup.d.ts.map +1 -1
- package/lib/typescript/src/config/reverse-warrior.d.ts.map +1 -1
- package/lib/typescript/src/config/shoulder-press.d.ts.map +1 -1
- package/lib/typescript/src/config/side-lung.d.ts.map +1 -1
- package/lib/typescript/src/config/side-plank.d.ts.map +1 -1
- package/lib/typescript/src/config/situp.d.ts.map +1 -1
- package/lib/typescript/src/config/squat.d.ts.map +1 -1
- package/lib/typescript/src/config/sumo-squat.d.ts.map +1 -1
- package/lib/typescript/src/config/tree-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/triangle-pose.d.ts.map +1 -1
- package/lib/typescript/src/config/tricep-dip.d.ts.map +1 -1
- package/lib/typescript/src/config/v-up.d.ts.map +1 -1
- package/lib/typescript/src/config/wall-sit.d.ts.map +1 -1
- package/lib/typescript/src/config/warrior-i.d.ts.map +1 -1
- package/lib/typescript/src/config/warrior-ii.d.ts.map +1 -1
- package/lib/typescript/src/config/warrior-iii.d.ts.map +1 -1
- package/nitrogen/generated/android/c++/JCameraAngleType.hpp +58 -0
- package/nitrogen/generated/android/c++/JExerciseConfig.hpp +19 -3
- package/nitrogen/generated/android/c++/JHybridNitroPoseExercisesSpec.cpp +47 -0
- package/nitrogen/generated/android/c++/JHybridNitroPoseExercisesSpec.hpp +5 -0
- package/nitrogen/generated/android/c++/JPostureFamily.hpp +73 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitroposeexercises/CameraAngleType.kt +23 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitroposeexercises/ExerciseConfig.kt +19 -4
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitroposeexercises/HybridNitroPoseExercisesSpec.kt +32 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitroposeexercises/PostureFamily.kt +28 -0
- package/nitrogen/generated/ios/NitroPoseExercises-Swift-Cxx-Bridge.hpp +9 -0
- package/nitrogen/generated/ios/NitroPoseExercises-Swift-Cxx-Umbrella.hpp +6 -0
- package/nitrogen/generated/ios/c++/HybridNitroPoseExercisesSpecSwift.hpp +28 -0
- package/nitrogen/generated/ios/swift/CameraAngleType.swift +40 -0
- package/nitrogen/generated/ios/swift/ExerciseConfig.swift +17 -2
- package/nitrogen/generated/ios/swift/HybridNitroPoseExercisesSpec.swift +3 -0
- package/nitrogen/generated/ios/swift/HybridNitroPoseExercisesSpec_cxx.swift +76 -0
- package/nitrogen/generated/ios/swift/PostureFamily.swift +60 -0
- package/nitrogen/generated/shared/c++/CameraAngleType.hpp +76 -0
- package/nitrogen/generated/shared/c++/ExerciseConfig.hpp +20 -2
- package/nitrogen/generated/shared/c++/HybridNitroPoseExercisesSpec.cpp +5 -0
- package/nitrogen/generated/shared/c++/HybridNitroPoseExercisesSpec.hpp +5 -0
- package/nitrogen/generated/shared/c++/PostureFamily.hpp +96 -0
- package/package.json +1 -1
- package/src/NitroPoseExercises.nitro.ts +19 -0
- package/src/config/bicep-curl.ts +3 -0
- package/src/config/boat-pose.ts +3 -0
- package/src/config/bow-pose.ts +3 -0
- package/src/config/bridge-pose.ts +3 -0
- package/src/config/calf-raise.ts +3 -0
- package/src/config/camel-pose.ts +3 -0
- package/src/config/chair-pose.ts +3 -0
- package/src/config/childs-pose.ts +3 -0
- package/src/config/cobra-pose.ts +3 -0
- package/src/config/cobra-wings.ts +3 -0
- package/src/config/dead-lift.ts +3 -0
- package/src/config/downward-dog.ts +3 -0
- package/src/config/extended-side-angle.ts +3 -0
- package/src/config/fish-pose.ts +3 -0
- package/src/config/front-raise.ts +4 -0
- package/src/config/glute-bridge.ts +3 -0
- package/src/config/hip-abduction.ts +3 -0
- package/src/config/knee-raise.ts +3 -0
- package/src/config/lateral-raise.ts +3 -0
- package/src/config/leg-raise.ts +3 -0
- package/src/config/lunge.ts +3 -0
- package/src/config/mountain-pose.ts +3 -0
- package/src/config/overarm-reach.ts +3 -0
- package/src/config/plank.ts +3 -0
- package/src/config/pull-up.ts +3 -0
- package/src/config/pushup.ts +3 -0
- package/src/config/reverse-warrior.ts +3 -0
- package/src/config/shoulder-press.ts +3 -0
- package/src/config/side-lung.ts +3 -0
- package/src/config/side-plank.ts +3 -0
- package/src/config/situp.ts +3 -0
- package/src/config/squat.ts +3 -0
- package/src/config/sumo-squat.ts +4 -0
- package/src/config/tree-pose.ts +3 -0
- package/src/config/triangle-pose.ts +3 -0
- package/src/config/tricep-dip.ts +3 -0
- package/src/config/v-up.ts +4 -0
- package/src/config/wall-sit.ts +3 -0
- package/src/config/warrior-i.ts +3 -0
- package/src/config/warrior-ii.ts +3 -0
- package/src/config/warrior-iii.ts +3 -0
|
@@ -2,6 +2,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
2
2
|
export const GLUTE_BRIDGE_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Glute Bridge',
|
|
4
4
|
type: 'rep',
|
|
5
|
+
postureFamily: 'supine',
|
|
6
|
+
visibilityThreshold: 0.25,
|
|
7
|
+
cameraAngle: 'side',
|
|
5
8
|
angles: [
|
|
6
9
|
{ name: 'hipExtension', landmarkA: 11, landmarkB: 23, landmarkC: 25 },
|
|
7
10
|
{ name: 'kneeAngle', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
2
2
|
export const HIP_ABDUCTION_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Hip Abduction Standing',
|
|
4
|
+
postureFamily: 'standingUpright',
|
|
5
|
+
visibilityThreshold: 0.3,
|
|
6
|
+
cameraAngle: 'front',
|
|
4
7
|
type: 'rep',
|
|
5
8
|
angles: [
|
|
6
9
|
{ name: 'legSpread', landmarkA: 25, landmarkB: 23, landmarkC: 24 },
|
package/src/config/knee-raise.ts
CHANGED
|
@@ -2,6 +2,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
2
2
|
export const KNEE_RAISE_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Knee Raise',
|
|
4
4
|
type: 'rep',
|
|
5
|
+
postureFamily: 'supine',
|
|
6
|
+
visibilityThreshold: 0.25,
|
|
7
|
+
cameraAngle: 'side',
|
|
5
8
|
angles: [
|
|
6
9
|
{ name: 'leftHip', landmarkA: 11, landmarkB: 23, landmarkC: 25 },
|
|
7
10
|
{ name: 'rightHip', landmarkA: 12, landmarkB: 24, landmarkC: 26 },
|
|
@@ -3,6 +3,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
3
3
|
export const LATERAL_RAISE_CONFIG: ExerciseConfig = {
|
|
4
4
|
name: 'Lateral Raise',
|
|
5
5
|
type: 'rep',
|
|
6
|
+
postureFamily: 'standingUpright',
|
|
7
|
+
visibilityThreshold: 0.3,
|
|
8
|
+
cameraAngle: 'front',
|
|
6
9
|
angles: [
|
|
7
10
|
{
|
|
8
11
|
name: 'leftShoulderAbduction',
|
package/src/config/leg-raise.ts
CHANGED
|
@@ -2,6 +2,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
2
2
|
export const LEG_RAISE_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Leg Raise',
|
|
4
4
|
type: 'rep',
|
|
5
|
+
postureFamily: 'supine',
|
|
6
|
+
visibilityThreshold: 0.25,
|
|
7
|
+
cameraAngle: 'side',
|
|
5
8
|
angles: [
|
|
6
9
|
{ name: 'leftHip', landmarkA: 11, landmarkB: 23, landmarkC: 27 },
|
|
7
10
|
{ name: 'leftKnee', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
package/src/config/lunge.ts
CHANGED
|
@@ -8,6 +8,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
8
8
|
export const LUNGE_CONFIG: ExerciseConfig = {
|
|
9
9
|
name: 'Lunge',
|
|
10
10
|
type: 'rep',
|
|
11
|
+
postureFamily: 'supine',
|
|
12
|
+
visibilityThreshold: 0.25,
|
|
13
|
+
cameraAngle: 'side',
|
|
11
14
|
angles: [
|
|
12
15
|
{
|
|
13
16
|
name: 'frontKnee',
|
|
@@ -2,6 +2,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
2
2
|
export const MOUNTAIN_POSE_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Mountain Pose (Tadasana)',
|
|
4
4
|
type: 'hold',
|
|
5
|
+
postureFamily: 'standingUpright',
|
|
6
|
+
visibilityThreshold: 0.4,
|
|
7
|
+
cameraAngle: 'front',
|
|
5
8
|
angles: [
|
|
6
9
|
{ name: 'leftKnee', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
|
7
10
|
{ name: 'hipAngle', landmarkA: 11, landmarkB: 23, landmarkC: 25 },
|
|
@@ -2,6 +2,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
2
2
|
export const OVERARM_REACH_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Overarm Reach',
|
|
4
4
|
type: 'rep',
|
|
5
|
+
postureFamily: 'standingUpright',
|
|
6
|
+
visibilityThreshold: 0.3,
|
|
7
|
+
cameraAngle: 'front',
|
|
5
8
|
angles: [
|
|
6
9
|
{
|
|
7
10
|
name: 'leftShoulderAbduction',
|
package/src/config/plank.ts
CHANGED
|
@@ -8,6 +8,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
8
8
|
export const PLANK_CONFIG: ExerciseConfig = {
|
|
9
9
|
name: 'Plank',
|
|
10
10
|
type: 'hold',
|
|
11
|
+
postureFamily: 'horizontalProne',
|
|
12
|
+
visibilityThreshold: 0.25,
|
|
13
|
+
cameraAngle: 'side',
|
|
11
14
|
angles: [
|
|
12
15
|
{
|
|
13
16
|
name: 'leftHip',
|
package/src/config/pull-up.ts
CHANGED
|
@@ -3,6 +3,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
3
3
|
export const PULL_UP_CONFIG: ExerciseConfig = {
|
|
4
4
|
name: 'Pull-Up',
|
|
5
5
|
type: 'rep',
|
|
6
|
+
postureFamily: 'standingUpright',
|
|
7
|
+
visibilityThreshold: 0.2,
|
|
8
|
+
cameraAngle: 'front',
|
|
6
9
|
angles: [
|
|
7
10
|
{ name: 'leftElbow', landmarkA: 11, landmarkB: 13, landmarkC: 15 },
|
|
8
11
|
{ name: 'rightElbow', landmarkA: 12, landmarkB: 14, landmarkC: 16 },
|
package/src/config/pushup.ts
CHANGED
|
@@ -9,6 +9,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
9
9
|
export const PUSHUP_CONFIG: ExerciseConfig = {
|
|
10
10
|
name: 'Push-Up',
|
|
11
11
|
type: 'rep',
|
|
12
|
+
postureFamily: 'horizontalProne',
|
|
13
|
+
visibilityThreshold: 0.2, // ← add
|
|
14
|
+
cameraAngle: 'front',
|
|
12
15
|
angles: [
|
|
13
16
|
{
|
|
14
17
|
name: 'leftElbow',
|
|
@@ -2,6 +2,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
2
2
|
export const REVERSE_WARRIOR_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Reverse Warrior (Viparita Virabhadrasana)',
|
|
4
4
|
type: 'hold',
|
|
5
|
+
postureFamily: 'standingUpright',
|
|
6
|
+
visibilityThreshold: 0.4,
|
|
7
|
+
cameraAngle: 'side',
|
|
5
8
|
angles: [
|
|
6
9
|
{ name: 'frontKnee', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
|
7
10
|
{ name: 'backLeg', landmarkA: 24, landmarkB: 26, landmarkC: 28 },
|
|
@@ -8,6 +8,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
8
8
|
export const SHOULDER_PRESS_CONFIG: ExerciseConfig = {
|
|
9
9
|
name: 'Shoulder Press',
|
|
10
10
|
type: 'rep',
|
|
11
|
+
postureFamily: 'standingUpright',
|
|
12
|
+
visibilityThreshold: 0.2,
|
|
13
|
+
cameraAngle: 'front',
|
|
11
14
|
angles: [
|
|
12
15
|
{
|
|
13
16
|
name: 'leftElbow',
|
package/src/config/side-lung.ts
CHANGED
|
@@ -2,6 +2,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
2
2
|
export const SIDE_LUNGE_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Side Lunge',
|
|
4
4
|
type: 'rep',
|
|
5
|
+
postureFamily: 'standingUpright',
|
|
6
|
+
visibilityThreshold: 0.2,
|
|
7
|
+
cameraAngle: 'front',
|
|
5
8
|
angles: [
|
|
6
9
|
{ name: 'bentKnee', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
|
7
10
|
{ name: 'straightLeg', landmarkA: 24, landmarkB: 26, landmarkC: 28 },
|
package/src/config/side-plank.ts
CHANGED
|
@@ -3,6 +3,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
3
3
|
export const SIDE_PLANK_CONFIG: ExerciseConfig = {
|
|
4
4
|
name: 'Side Plank',
|
|
5
5
|
type: 'hold',
|
|
6
|
+
postureFamily: 'sidePlank',
|
|
7
|
+
visibilityThreshold: 0.3,
|
|
8
|
+
cameraAngle: 'side',
|
|
6
9
|
angles: [
|
|
7
10
|
{ name: 'hipLateral', landmarkA: 11, landmarkB: 23, landmarkC: 27 },
|
|
8
11
|
{ name: 'supportArm', landmarkA: 11, landmarkB: 13, landmarkC: 15 },
|
package/src/config/situp.ts
CHANGED
|
@@ -8,6 +8,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
8
8
|
export const SITUP_CONFIG: ExerciseConfig = {
|
|
9
9
|
name: 'Sit-Up',
|
|
10
10
|
type: 'rep',
|
|
11
|
+
postureFamily: 'standingUpright',
|
|
12
|
+
visibilityThreshold: 0.2,
|
|
13
|
+
cameraAngle: 'front',
|
|
11
14
|
angles: [
|
|
12
15
|
{
|
|
13
16
|
name: 'leftHip',
|
package/src/config/squat.ts
CHANGED
|
@@ -8,6 +8,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
8
8
|
export const SQUAT_CONFIG: ExerciseConfig = {
|
|
9
9
|
name: 'Squat',
|
|
10
10
|
type: 'rep',
|
|
11
|
+
postureFamily: 'standingUpright',
|
|
12
|
+
visibilityThreshold: 0.2,
|
|
13
|
+
cameraAngle: 'front',
|
|
11
14
|
angles: [
|
|
12
15
|
{
|
|
13
16
|
name: 'leftKnee',
|
package/src/config/sumo-squat.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
2
|
+
|
|
2
3
|
export const SUMO_SQUAT_CONFIG: ExerciseConfig = {
|
|
3
4
|
name: 'Sumo Squat',
|
|
4
5
|
type: 'rep',
|
|
6
|
+
postureFamily: 'standingUpright',
|
|
7
|
+
visibilityThreshold: 0.2,
|
|
8
|
+
cameraAngle: 'front',
|
|
5
9
|
angles: [
|
|
6
10
|
{ name: 'leftKnee', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
|
7
11
|
{ name: 'rightKnee', landmarkA: 24, landmarkB: 26, landmarkC: 28 },
|
package/src/config/tree-pose.ts
CHANGED
|
@@ -8,6 +8,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
8
8
|
export const TREE_POSE_CONFIG: ExerciseConfig = {
|
|
9
9
|
name: 'Tree Pose (Vrksasana)',
|
|
10
10
|
type: 'hold',
|
|
11
|
+
postureFamily: 'standingUpright',
|
|
12
|
+
visibilityThreshold: 0.4,
|
|
13
|
+
cameraAngle: 'front',
|
|
11
14
|
angles: [
|
|
12
15
|
{
|
|
13
16
|
name: 'standingLeg',
|
|
@@ -3,6 +3,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
3
3
|
export const TRIANGLE_POSE_CONFIG: ExerciseConfig = {
|
|
4
4
|
name: 'Triangle Pose (Trikonasana)',
|
|
5
5
|
type: 'hold',
|
|
6
|
+
postureFamily: 'standingUpright',
|
|
7
|
+
visibilityThreshold: 0.4,
|
|
8
|
+
cameraAngle: 'front',
|
|
6
9
|
angles: [
|
|
7
10
|
{ name: 'frontLeg', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
|
8
11
|
{ name: 'backLeg', landmarkA: 24, landmarkB: 26, landmarkC: 28 },
|
package/src/config/tricep-dip.ts
CHANGED
|
@@ -8,6 +8,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
8
8
|
export const TRICEP_DIP_CONFIG: ExerciseConfig = {
|
|
9
9
|
name: 'Tricep Dip',
|
|
10
10
|
type: 'rep',
|
|
11
|
+
postureFamily: 'horizontalProne',
|
|
12
|
+
visibilityThreshold: 0.2, // ← add
|
|
13
|
+
cameraAngle: 'front',
|
|
11
14
|
angles: [
|
|
12
15
|
{
|
|
13
16
|
name: 'leftElbow',
|
package/src/config/v-up.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
2
|
+
|
|
2
3
|
export const V_UP_CONFIG: ExerciseConfig = {
|
|
3
4
|
name: 'V-Up',
|
|
4
5
|
type: 'rep',
|
|
6
|
+
postureFamily: 'supine',
|
|
7
|
+
visibilityThreshold: 0.25,
|
|
8
|
+
cameraAngle: 'side',
|
|
5
9
|
angles: [
|
|
6
10
|
{ name: 'hipFold', landmarkA: 15, landmarkB: 23, landmarkC: 27 },
|
|
7
11
|
{ name: 'leftKnee', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
package/src/config/wall-sit.ts
CHANGED
|
@@ -8,6 +8,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
8
8
|
export const WALL_SIT_CONFIG: ExerciseConfig = {
|
|
9
9
|
name: 'Wall Sit',
|
|
10
10
|
type: 'hold',
|
|
11
|
+
postureFamily: 'standingUpright',
|
|
12
|
+
visibilityThreshold: 0.3,
|
|
13
|
+
cameraAngle: 'side',
|
|
11
14
|
angles: [
|
|
12
15
|
{
|
|
13
16
|
name: 'leftKnee',
|
package/src/config/warrior-i.ts
CHANGED
|
@@ -9,6 +9,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
9
9
|
export const WARRIOR_I_CONFIG: ExerciseConfig = {
|
|
10
10
|
name: 'Warrior I (Virabhadrasana I)',
|
|
11
11
|
type: 'hold',
|
|
12
|
+
postureFamily: 'standingUpright',
|
|
13
|
+
visibilityThreshold: 0.4,
|
|
14
|
+
cameraAngle: 'side',
|
|
12
15
|
angles: [
|
|
13
16
|
{
|
|
14
17
|
name: 'frontKnee',
|
package/src/config/warrior-ii.ts
CHANGED
|
@@ -9,6 +9,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
9
9
|
export const WARRIOR_II_CONFIG: ExerciseConfig = {
|
|
10
10
|
name: 'Warrior II (Virabhadrasana II)',
|
|
11
11
|
type: 'hold',
|
|
12
|
+
postureFamily: 'standingUpright',
|
|
13
|
+
visibilityThreshold: 0.4,
|
|
14
|
+
cameraAngle: 'front',
|
|
12
15
|
angles: [
|
|
13
16
|
{
|
|
14
17
|
name: 'frontKnee',
|
|
@@ -2,6 +2,9 @@ import type { ExerciseConfig } from '../NitroPoseExercises.nitro';
|
|
|
2
2
|
export const WARRIOR_III_CONFIG: ExerciseConfig = {
|
|
3
3
|
name: 'Warrior III (Virabhadrasana III)',
|
|
4
4
|
type: 'hold',
|
|
5
|
+
postureFamily: 'standingUpright',
|
|
6
|
+
visibilityThreshold: 0.4,
|
|
7
|
+
cameraAngle: 'side',
|
|
5
8
|
angles: [
|
|
6
9
|
{ name: 'standingLeg', landmarkA: 23, landmarkB: 25, landmarkC: 27 },
|
|
7
10
|
{ name: 'hipHinge', landmarkA: 11, landmarkB: 23, landmarkC: 25 },
|