orphe-core-insole - v0.4.0
    Preparing search index...

    Variable OrpheInsoleUtilsConst

    OrpheInsoleUtils: {
        computeCoP: (
            values: readonly number[] | null | undefined,
            layout?: readonly { x: number; y: number }[] | null,
            options?: { minLoad?: number } | null,
        ) => InsoleCoP;
        ContactDetector: typeof ContactDetector;
        MAX_UINT16: number;
        mirrorForSide: <T extends { x: number }>(
            layout: readonly T[],
            side: "left" | "right",
        ) => T[];
        PressureCalibrator: typeof PressureCalibrator;
        SENSOR_COUNT: number;
        SENSOR_LAYOUT: InsoleSensorPoint[];
        SENSOR_LAYOUT_IMAGE: InsoleSensorPoint[];
        sideFromMountPosition: (mountPosition: unknown) => InsoleMountInfo | null;
        StuckChannelMonitor: typeof StuckChannelMonitor;
        validatePress: (
            values: readonly number[] | null | undefined,
            options?: { saturationValue?: number } | null,
        ) => InsolePressValidation;
    } = ...

    上記ユーティリティをまとめたオブジェクト

    Type Declaration

    • computeCoP: (
          values: readonly number[] | null | undefined,
          layout?: readonly { x: number; y: number }[] | null,
          options?: { minLoad?: number } | null,
      ) => InsoleCoP
    • ContactDetector: typeof ContactDetector
    • MAX_UINT16: number

      ADC 生値の上限(uint16)

    • mirrorForSide: <T extends { x: number }>(layout: readonly T[], side: "left" | "right") => T[]
    • PressureCalibrator: typeof PressureCalibrator
    • SENSOR_COUNT: number

      圧力センサのチャネル数

    • SENSOR_LAYOUT: InsoleSensorPoint[]

      6ch 圧力センサの足ローカル座標系レイアウト(SENSOR_LAYOUT_IMAGE から導出。右足基準)。 x: 内外方向 / y: 前後方向(+がつま先側)。単位は足長を約1とする無次元。 左足には mirrorForSide() で左右反転したものを使う。

    • SENSOR_LAYOUT_IMAGE: InsoleSensorPoint[]

      6ch 圧力センサのインソール画像上マーカー座標(0..1 の画像比率・実機採寸値)。 チャネルの物理配置はモデルによって異なる場合があるため、 配置が異なるモデルでは同形式の配列でリマップ層を挟むこと。

    • sideFromMountPosition: (mountPosition: unknown) => InsoleMountInfo | null
    • StuckChannelMonitor: typeof StuckChannelMonitor
    • validatePress: (
          values: readonly number[] | null | undefined,
          options?: { saturationValue?: number } | null,
      ) => InsolePressValidation