本文へスキップ
バージョン: 3.5.x

設定リファレンス

このドキュメントでは、 /settings/ エンドポイントと彼らの キー, タイプ (出典: type_hint)、および**制約 **(~より metadata.constraint.range + locked (該当する場合)。

A locked 設定は 実行時は読み取り専用. 設定ファイルまたは の Haply 設定ページですが、 システムを完全に再起動する必要があります 変更が 反映されるまで。

構成

サービスの起動時に設定を上書きするための設定ファイルは、以下の場所にあります:

プラットフォーム場所
WindowsC:\ProgramData\Haply\Inverse\haply-inverse-service-config.json
macOS/Library/Application Support/Haply/Inverse/haply-inverse-service-config.json
Linux/etc/haply-inverse-service/haply-inverse-service-config.json

設定ファイルは フラットなJSONオブジェクト 設定キーをマッピングして値を上書きします。キーは、 /settings/ HTTP ルート。 指定されていないキーについては、サービスのデフォルト値が使用されます。

例えば、以下はランダムなネットワーク設定のオーバーライドです:

{
"networking/http/port": 8400,
"networking/simulation/port": 8500,
"networking/events/port": 9000,
"networking/expose_servers_on_network": true
}

型のマッピング

型ヒントに関する補足:

  • ARR_STRINGstring[]
  • VEC3vec3 (~を含むオブジェクト) {x,y,z})
  • GENERICjson (任意の構造化された値)

TODO: 完了 + 説明

devices/…

キータイプ制約条件
devices/detection/advanced/allowed_vendor_id_filterstring[]
devices/detection/advanced/inverse3x_description_filterstring[]
devices/detection/advanced/port_name_substring_filterstring[]
devices/detection/advanced/wvg_description_filterstring[]
devices/detection/blacklisted_portsjson
devices/detection/block_on_loopbool
devices/detection/detection_failure_log_delayint範囲 1~60
devices/detection/max_number_retryint範囲 1~10
devices/detection/periodint範囲 100~10000;ロック済み
devices/detection/timeoutint範囲 1~15
devices/force_scalefloat範囲 0~2
devices/inverse/body_orientation_query_on_idlebool
devices/verse_grip/advanced/euro_one_filterjsonロック中
devices/verse_grip/battery/critical_thresholdint
devices/verse_grip/battery/low_thresholdint
devices/verse_grip/battery/reset_marginint
devices/workspace/defaultsjson

features/…

キータイプ制約条件
features/HFX/sdfbool
features/HFX/sdf/created_eventsbool
features/HFX/sdf/delete_eventsbool
features/HFX/sdf/probe_on_zero_forcebool
features/HFX/sdf/probe_on_zero_force_delayfloat範囲 0.001~60
features/HFX/sdf/update_eventsbool
features/grip_hook/enabledbool
features/grip_hook/hallint範囲 1~32
features/grip_hook/hold_durationint範囲 10~1000
features/grip_hook/use_hallbool
features/navigation/bubble/avatar_boundaries_maxvec3
features/navigation/bubble/avatar_boundaries_minvec3
features/navigation/bubble/bubble_centervec3
features/navigation/bubble/damping_coef_at_centerfloat
features/navigation/bubble/damping_coef_at_inner_radiusfloat
features/navigation/bubble/damping_coef_at_outer_radiusfloat
features/navigation/bubble/reset_velocity_on_entrybool
features/navigation/bubble/spring_coef_at_centerfloat
features/navigation/bubble/spring_coef_at_inner_radiusfloat
features/navigation/bubble/spring_coef_at_outer_radiusfloat
features/navigation/bubble/velocity_zone_bump_region_widthfloat
features/navigation/bubble/velocity_zone_bump_stiffnessfloat
features/navigation/bubble/velocity_zone_inner_radiusfloat
features/navigation/bubble/velocity_zone_max_velocityfloat
features/navigation/bubble/velocity_zone_outer_radiusfloat
features/navigation/bubble/wall_spring_stiffnessfloat
features/safe_trajectory/enabledbool
features/safe_trajectory/max_velfloat範囲 0.01~2
features/screensaver/distracted_speedfloat範囲 0.001~0.2
features/screensaver/enabledbool
features/screensaver/speedfloat範囲 0.001~0.2
features/synth/enabledbool
features/synth/oscillator1/amplitudefloat範囲 0~10
features/synth/oscillator1/frequencyfloat範囲 5~20000
features/synth/oscillator1/shapejson範囲 0~1
features/synth/oscillator2/amplitudefloat範囲 0~10
features/synth/oscillator2/frequencyfloat範囲 5~20000
features/synth/oscillator2/shapejson範囲 0~1

networking/…

キータイプ制約条件
networking/events/portintロック中
networking/expose_servers_on_networkboolロック中
networking/http/portintロック中
networking/legacy/portintロック中
networking/simulation/portintロック中

session/…

キータイプ制約条件
session/safeties/device_drive_timeoutint範囲 50~10000、刻み 10
session/safeties/slowest_sim_rateint範囲 20~500

system/…

キータイプ制約条件
system/serial_enablebool