squatExercise top-level property
Squat Exercise instance
Implementation
final squatExercise = Exercise(
name: ExerciseName.squat,
angles: [
// Left leg
Angle(
angleName: angleNames[PoseLandmarkType.leftKnee],
a: KeyPoint(PoseLandmarkType.leftHip),
b: KeyPoint(PoseLandmarkType.leftKnee),
c: KeyPoint(PoseLandmarkType.leftAnkle),
),
// Right leg
Angle(
angleName: angleNames[PoseLandmarkType.rightKnee],
a: KeyPoint(PoseLandmarkType.rightHip),
b: KeyPoint(PoseLandmarkType.rightKnee),
c: KeyPoint(PoseLandmarkType.rightAnkle),
),
],
);