跳至主要内容
版本:3.5.x

设置参考

本文档列出了由 /settings/ 端点与他们的 , 类型 (摘自 type_hint),以及 **约束条件 **(来自 metadata.constraint.range + locked (如适用)。

A locked 设置是 运行时只读. 可以通过配置文件或通过 该 Haply Hub 设置页面,但 需要完全重启服务 以便更改 生效。

配置

用于在服务启动时覆盖设置的配置文件位于此处:

平台位置
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/ 超文本传输协定 路由。 未指定的键将使用服务的默认值。

例如,以下是一个随机的网络配置覆盖示例:

{
"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 (任意结构化值)

待办事项:完成 + 描述

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