Configure MIT_V2, enable all 20 joints, transition from the measured posture to the sweep start over one second, then send 101 cosine-sweep frames at 20 ms intervals. Joint 0 has a 0.02 rad command amplitude. Other joints target zero, so their motion depends on the starting posture.The matching examples are Python 7_mit_sweep.py and C 7_mit_sweep.c.
The example enables and moves all 20 joints. Clear the workspace and keep a stop method available. A small joint-0 command doesn’t limit the other joints’ travel toward zero.
Prerequisites
Use SDK v2026.11.23 or later and main-controller and joint firmware v3.1.0 or later. All 20 joints must be online. Select the target device explicitly on shared networks. Install the SDK and toolchain before running the example.
Data Flow
Connect → check all 20 joints → disable → select MIT_V2 → configure and read back limits and gains → enable → wait for all joints to report Enabled → capture the posture → transition → sweep → disable and disconnect.
Integration Steps
1. Connect and Check the Joints
The example selects a target device and checks online_joints_count(). It exits before motion unless all 20 joints are online.
2. Enable and Capture the Starting Posture
Before enabling, configure physical parameters and check every readback. The following excerpt uses the example’s per-joint effort limits (N·m), kp = 1.0 N·m/rad, and kd = 0.02 N·m·s/rad. These are example settings, not device-wide maximums.
import mathfrom wuji_sdk import ControlModelimits_nm = [ 0.25, 0.15, 0.12, 0.08, 0.25, 0.08, 0.08, 0.08, 0.25, 0.08, 0.08, 0.08, 0.25, 0.08, 0.08, 0.08, 0.25, 0.08, 0.08, 0.08,]hand.disable()hand.control_mode().set(ControlMode.MitV2)hand.effort_limit().set(limits_nm)hand.mit_params().set((1.0, 0.02))limits = hand.effort_limit().get()gains = hand.mit_params().get()if len(limits) != 20 or len(gains) != 20: raise RuntimeError("expected 20 readable parameter entries")for i, (limit, gain) in enumerate(zip(limits, gains)): if (limit is None or gain is None or not math.isclose(limit, limits_nm[i], rel_tol=1e-4, abs_tol=1e-6) or not math.isclose(gain.kp, 1.0, rel_tol=1e-4, abs_tol=1e-6) or not math.isclose(gain.kd, 0.02, rel_tol=1e-4, abs_tol=1e-6)): raise RuntimeError(f"parameter mismatch at joint {i}")
C uses WUJI_CONTROL_MODE_MIT_V2, wuji_hand_2_set_all_effort_limit_per_joint(), and wuji_hand_2_set_all_mit_params(), then checks both parameter arrays and all 20 validity bits. If a status check fails, the example stops configuration and cleans up the connection.After verifying the parameters, enable the joints, wait until all 20 report Enabled, and read the complete measured posture.
3. Send Sweep Commands at a Fixed Interval
Transition smoothly from the measured posture to zero over one second, then send the cosine sweep for joint 0. Each frame contains exactly 20 JointCommand entries. Position uses rad, velocity uses rad/s, and effort uses N·m. The example sets velocity and feedforward effort to zero.
4. Stop Motion and Clean Up
Stop sending, close the publisher, disable the hand, and disconnect. The example attempts every cleanup action even if an earlier action fails. Normal completion or an operator stop returns 0 when cleanup succeeds. Configuration, runtime, or cleanup failures return 1 and print errors to stderr.The torque limits set by the example remain after exit and also affect subsequent Position control mode. See Save and Restore Limits for restoration steps.
Running It
Python
C
python examples/python/wuji_hand_2/7_mit_sweep.py
./build/hand2/7_mit_sweep
Notes
If a mode write, parameter readback, or readiness check fails, stop before publishing. Check the device’s fault codes and firmware support. For mode requirements, configuration, and restart handling, see MIT_V2 Migration.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WUJI Docs","colors":{"primary":"#207FFF","light":"#4D9BFF","dark":"#1A66CC"},"logo":{"light":"https://mintcdn.com/wuji-0bbde051/L5L7y_1GoeOydbgy/shared/assets/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=L5L7y_1GoeOydbgy\u0026q=85\u0026s=1e43e384fc1295b14de2c02f102e820c","dark":"https://mintcdn.com/wuji-0bbde051/L5L7y_1GoeOydbgy/shared/assets/brand/logo-dark.svg?fit=max\u0026auto=format\u0026n=L5L7y_1GoeOydbgy\u0026q=85\u0026s=a12bbb202cabfeefe746637a8bddd666"},"favicon":"https://mintcdn.com/wuji-0bbde051/kLBbV0Hk1sanGeHp/favicon.svg?fit=max\u0026auto=format\u0026n=kLBbV0Hk1sanGeHp\u0026q=85\u0026s=1611c36a923485b6cfc9b39710953a0c","fonts":{"family":"Geist"},"icons":{"library":"lucide"},"styling":{"latex":true},"integrations":{"posthog":{"apiKey":"phc_nVQdYL3r3zwY0RHLjJdr3uaZiMSp3TPPR5Qcj3oyKGv","apiHost":"https://eu.i.posthog.com","sessionRecording":false}},"contextual":{"options":["copy","view","claude","chatgpt","mcp"],"display":"header"},"interaction":{"drilldown":false},"navigation":{"languages":[{"language":"cn","banner":{"content":"**新** · 2026.11.23 · MIT_V2 控制、整机诊断与开发者资源。[查看详情](/docs/zh/release-notes#2026-11-23)","dismissible":true},"footer":{"socials":{"github":"https://github.com/wuji-technology"},"links":[{"header":"探索","items":[{"label":"发布记录","href":"/docs/zh/release-notes"},{"label":"视频","href":"/docs/zh/videos"},{"label":"归档","href":"/docs/zh/archived"}]},{"header":"公司","items":[{"label":"产品官网","href":"https://wuji.tech"},{"label":"GitHub","href":"https://github.com/wuji-technology"},{"label":"sales@wuji.tech","href":"mailto:sales@wuji.tech"}]}]},"navbar":{"links":[{"href":"/docs/zh/release-notes","label":"发布记录"},{"href":"/docs/zh/videos","label":"视频"},{"href":"/docs/zh/archived","label":"归档"}]},"href":"docs/zh"},{"language":"en","banner":{"content":"**New** · 2026.11.23 · MIT_V2 control, whole-device diagnostics, and developer resources. [Read more](/docs/en/release-notes#2026-11-23)","dismissible":true},"footer":{"socials":{"github":"https://github.com/wuji-technology"},"links":[{"header":"Explore","items":[{"label":"Release notes","href":"/docs/en/release-notes"},{"label":"Videos","href":"/docs/en/videos"},{"label":"Archived","href":"/docs/en/archived"}]},{"header":"Company","items":[{"label":"Product site","href":"https://wuji.tech"},{"label":"GitHub","href":"https://github.com/wuji-technology"},{"label":"sales@wuji.tech","href":"mailto:sales@wuji.tech"}]}]},"navbar":{"links":[{"href":"/docs/en/release-notes","label":"Release notes"},{"href":"/docs/en/videos","label":"Videos"},{"href":"/docs/en/archived","label":"Archived"}]},"href":"docs/en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wuji-0bbde051","hasAudioNarration":false,"actualSubdomain":"wuji-0bbde051","customDomains":["docs.wuji.tech"],"gitSource":{"type":"github","owner":"wuji-technology","repo":"wuji-developer-docs","deployBranch":"main","contentDirectory":"site","isPrivate":true,"mountPath":"","label":"","_id":"6b1100699ffae5051c41da04"},"feedback":{"issues":false,"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b1279c4da555eacfb415606","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"en","tag":"Hardware","count":73},{"language":"cn","tag":"硬件","count":73},{"language":"en","tag":"More","count":63},{"language":"cn","tag":"更多","count":63},{"language":"en","tag":"Archived","count":60},{"language":"cn","tag":"归档","count":60},{"language":"en","tag":"Integration and Development","count":48},{"language":"cn","tag":"集成与开发","count":48},{"language":"en","tag":"WUJI Hand 2","count":37},{"language":"cn","tag":"WUJI Hand 2","count":37},{"language":"en","tag":"Software","count":32},{"language":"en","tag":"WUJI Glove","count":32},{"language":"cn","tag":"软件","count":32},{"language":"cn","tag":"WUJI Glove","count":32},{"language":"en","tag":"2.2 Beta","count":31},{"language":"cn","tag":"2.2 Beta","count":31},{"language":"en","tag":"Getting Started","count":28},{"language":"cn","tag":"入门","count":28},{"language":"en","tag":"SDK Practice","count":24},{"language":"cn","tag":"SDK 使用实践","count":24}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"styles/content.css","href":"/_mintlify/custom/wuji-0bbde051/cb23de40d70268f7/styles/content.css"},{"filePath":"styles/footer.css","content":"#footer a[href*=\"utm_campaign=poweredBy\"],#footer div:has(>button[data-testid^=\"mode-switch-\"]){display:none}#footer [data-wj-subscribe-links]>wuji-subscribe{grid-column:1 / -1;min-width:0}@media (min-width: 1280px){#footer [data-wj-subscribe-links]{grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) minmax(15rem, 2fr)!important}#footer [data-wj-subscribe-links]>wuji-subscribe{grid-column:auto}}"},{"filePath":"styles/navbar.css","content":"#navbar{--nav-control-bg: #f5f5f7;--nav-control-hover-bg: #eeeef0;--nav-control-focus: #1a66cc}.dark #navbar{--nav-control-bg: #1d1d1f;--nav-control-hover-bg: #2c2c2e;--nav-control-focus: #4d9bff}#navbar #search-bar-entry,#navbar #search-bar-entry-mobile,#navbar #assistant-entry,#navbar #assistant-entry-mobile{border:0;box-shadow:none;background:var(--nav-control-bg);filter:none}#navbar #search-bar-entry,#navbar #assistant-entry{border-radius:12px}#navbar #search-bar-entry-mobile,#navbar #assistant-entry-mobile{border-radius:10px}#navbar #search-bar-entry:hover,#navbar #search-bar-entry-mobile:hover,#navbar #assistant-entry:hover,#navbar #assistant-entry-mobile:hover{background:var(--nav-control-hover-bg)}#navbar #search-bar-entry:focus-visible,#navbar #search-bar-entry-mobile:focus-visible,#navbar #assistant-entry:focus-visible,#navbar #assistant-entry-mobile:focus-visible{outline:2px solid var(--nav-control-focus);outline-offset:2px}@media (min-width: 1024px){#navbar div:has(>div>div>#search-bar-entry){container:wuji-navbar / inline-size}#navbar div:has(>div>#localization-select-trigger){display:contents}#navbar div:has(>#localization-select-trigger){order:1;flex:0 0 auto}#navbar div:has(>#search-bar-entry){flex:1 1 0%;min-width:16rem;max-width:32rem;margin-inline:auto}#navbar #search-bar-entry,#navbar #search-bar-entry>div{min-width:0}#navbar div:has(>nav[aria-label=\"Main\"]){flex:0 1 auto;min-width:0}#navbar nav[aria-label=\"Main\"]{min-width:0;overflow-x:auto}#navbar nav[aria-label=\"Main\"]>ul{width:max-content}#navbar div:has(>#theme-preference-menu-trigger){flex-shrink:0}@container wuji-navbar (max-width: 68rem){#navbar div:has(>div>#search-bar-entry){column-gap:0.5rem}#navbar .nav-logo{width:13.5rem;height:auto}#navbar div:has(>#search-bar-entry){flex:0 0 auto;min-width:0;max-width:none;margin-inline:0;gap:0.5rem}#navbar #search-bar-entry,#navbar #assistant-entry{flex:0 0 2.25rem;width:2.25rem;min-width:2.25rem;padding-inline:0;justify-content:center;gap:0}#navbar #search-bar-entry>div>div,#navbar #search-bar-entry>span,#navbar #assistant-entry>span{display:none}#navbar nav[aria-label=\"Main\"]>ul{column-gap:0.75rem}#navbar nav[aria-label=\"Main\"]>ul>li{margin-inline:0}#navbar div:has(>nav[aria-label=\"Main\"]){column-gap:0.5rem}#navbar div:has(>#theme-preference-menu-trigger){margin-inline-start:0}}}"},{"filePath":"styles/sidebar.css","content":""},{"filePath":"styles/toc.css","content":":is(#table-of-contents,#table-of-contents-content) li[data-release-filter-hidden]{display:none!important}:is(#table-of-contents,#table-of-contents-content) li[data-release-level=\"month\"]>a{padding-inline-start:0;padding-top:8px;font-weight:600}:is(#table-of-contents,#table-of-contents-content) li[data-release-level=\"entry\"]>a{padding-inline-start:14px;font-size:0.8125rem}:is(#table-of-contents,#table-of-contents-content) li[data-release-level=\"detail\"]>a{padding-inline-start:28px;font-size:0.8125rem}"}]}
{"page":{"pagePath":"docs/en/wuji-hand/latest/sdk-practice/mit-sweep","slug":"/docs/en/wuji-hand/latest/sdk-practice/mit-sweep","pageMetadata":{"title":"Running an MIT Joint Sweep","description":null,"href":"/docs/en/wuji-hand/latest/sdk-practice/mit-sweep"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Configure MIT_V2, enable all 20 joints, transition from the measured posture to the sweep start over one second, then send 101 cosine-sweep frames at 20 ms intervals. Joint 0 has a 0.02 rad command amplitude. Other joints target zero, so their motion depends on the starting posture.`}),`\n`,_jsxs(_components.p,{children:[`The matching examples are `,_jsxs(_components.a,{href:`https://github.com/wuji-technology/wuji-sdk/blob/main/examples/python/wuji_hand_2/7_mit_sweep.py`,children:[`Python `,_jsx(_components.code,{children:`7_mit_sweep.py`})]}),` and `,_jsxs(_components.a,{href:`https://github.com/wuji-technology/wuji-sdk/blob/main/examples/c/wuji_hand_2/7_mit_sweep.c`,children:[`C `,_jsx(_components.code,{children:`7_mit_sweep.c`})]}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The example enables and moves all 20 joints. Clear the workspace and keep a stop method available. A small joint-0 command doesn’t limit the other joints’ travel toward zero.`})}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.p,{children:[`Use SDK `,_jsx(_components.code,{children:`v2026.11.23`}),` or later and main-controller and joint firmware `,_jsx(_components.code,{children:`v3.1.0`}),` or later. All 20 joints must be online. Select the target device explicitly on shared networks. Install the `,_jsx(_components.a,{href:`/docs/en/wuji-sdk/latest/quick-start#system-requirements`,children:`SDK and toolchain`}),` before running the example.`]}),`\n`,_jsx(Heading,{level:`2`,id:`data-flow`,children:`Data Flow`}),`\n`,_jsxs(_components.p,{children:[`Connect → check all 20 joints → disable → select MIT_V2 → configure and read back limits and gains → enable → wait for all joints to report `,_jsx(_components.code,{children:`Enabled`}),` → capture the posture → transition → sweep → disable and disconnect.`]}),`\n`,_jsx(Heading,{level:`2`,id:`integration-steps`,children:`Integration Steps`}),`\n`,_jsx(Heading,{level:`3`,id:`1-connect-and-check-the-joints`,children:`1. Connect and Check the Joints`}),`\n`,_jsxs(_components.p,{children:[`The example selects a target device and checks `,_jsx(_components.code,{children:`online_joints_count()`}),`. It exits before motion unless all 20 joints are online.`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-enable-and-capture-the-starting-posture`,children:`2. Enable and Capture the Starting Posture`}),`\n`,_jsxs(_components.p,{children:[`Before enabling, configure physical parameters and check every readback. The following excerpt uses the example’s per-joint effort limits (N·m), `,_jsx(_components.code,{children:`kp = 1.0 N·m/rad`}),`, and `,_jsx(_components.code,{children:`kd = 0.02 N·m·s/rad`}),`. These are example settings, not device-wide maximums.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`24`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` math`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` wuji_sdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ControlMode`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`limits_nm `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.08`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.disable()`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.control_mode().set(ControlMode.MitV2)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.effort_limit().set(limits_nm)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`hand.mit_params().set((`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.02`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`limits `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` hand.effort_limit().get()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`gains `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` hand.mit_params().get()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` len`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(limits) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 20`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` or`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` len`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(gains) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` raise`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` RuntimeError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"expected 20 readable parameter entries\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` i, (limit, gain) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` enumerate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`zip`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(limits, gains)):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (limit `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`is`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` or`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` gain `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`is`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` None`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` or`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` math.isclose(limit, limits_nm[i], `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`rel_tol`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1e-4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`abs_tol`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1e-6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` or`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` math.isclose(gain.kp, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`rel_tol`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1e-4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`abs_tol`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1e-6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` or`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` math.isclose(gain.kd, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.02`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`rel_tol`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1e-4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`abs_tol`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1e-6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` raise`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` RuntimeError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"parameter mismatch at joint `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`i`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`C uses `,_jsx(_components.code,{children:`WUJI_CONTROL_MODE_MIT_V2`}),`, `,_jsx(_components.code,{children:`wuji_hand_2_set_all_effort_limit_per_joint()`}),`, and `,_jsx(_components.code,{children:`wuji_hand_2_set_all_mit_params()`}),`, then checks both parameter arrays and all 20 validity bits. If a status check fails, the example stops configuration and cleans up the connection.`]}),`\n`,_jsxs(_components.p,{children:[`After verifying the parameters, enable the joints, wait until all 20 report `,_jsx(_components.code,{children:`Enabled`}),`, and read the complete measured posture.`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-send-sweep-commands-at-a-fixed-interval`,children:`3. Send Sweep Commands at a Fixed Interval`}),`\n`,_jsxs(_components.p,{children:[`Transition smoothly from the measured posture to zero over one second, then send the cosine sweep for joint 0. Each frame contains exactly 20 `,_jsx(_components.code,{children:`JointCommand`}),` entries. Position uses rad, velocity uses rad/s, and `,_jsx(_components.code,{children:`effort`}),` uses N·m. The example sets velocity and feedforward effort to zero.`]}),`\n`,_jsx(Heading,{level:`3`,id:`4-stop-motion-and-clean-up`,children:`4. Stop Motion and Clean Up`}),`\n`,_jsx(_components.p,{children:`Stop sending, close the publisher, disable the hand, and disconnect. The example attempts every cleanup action even if an earlier action fails. Normal completion or an operator stop returns 0 when cleanup succeeds. Configuration, runtime, or cleanup failures return 1 and print errors to stderr.`}),`\n`,_jsxs(_components.p,{children:[`The torque limits set by the example remain after exit and also affect subsequent Position control mode. See `,_jsx(_components.a,{href:`/docs/en/wuji-hand/latest/control-guide#save-and-restore-limits-optional`,children:`Save and Restore Limits`}),` for restoration steps.`]}),`\n`,_jsx(Heading,{level:`2`,id:`running-it`,children:`Running It`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Python`,id:`python`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` examples/python/wuji_hand_2/7_mit_sweep.py`})]}),`\n`]})})})}),_jsx(Tab,{title:`C`,id:`c`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./build/hand2/7_mit_sweep`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsx(`span`,{id:`runtime-handling`}),`\n`,_jsxs(_components.p,{children:[`If a mode write, parameter readback, or readiness check fails, stop before publishing. Check the device’s fault codes and firmware support. For mode requirements, configuration, and restart handling, see `,_jsx(_components.a,{href:`/docs/en/wuji-hand/latest/control-guide#migrate-to-mit_v2`,children:`MIT_V2 Migration`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/docs/en/wuji-hand/latest/sdk-practice/publish-command`,children:`Publishing Control Commands`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/docs/en/wuji-hand/latest/sdk-reference/effort-and-mit`,children:`Effort and MIT Parameters`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/docs/en/wuji-hand/latest/sdk-reference/joint-control#jointstateentry`,children:`Joint State Fields`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Running an MIT Joint Sweep","description":null,"href":"/docs/en/wuji-hand/latest/sdk-practice/mit-sweep"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Data Flow","slug":"data-flow","depth":2,"children":[]},{"title":"Integration Steps","slug":"integration-steps","depth":2,"children":[{"title":"1. Connect and Check the Joints","slug":"1-connect-and-check-the-joints","depth":3,"children":[]},{"title":"2. Enable and Capture the Starting Posture","slug":"2-enable-and-capture-the-starting-posture","depth":3,"children":[]},{"title":"3. Send Sweep Commands at a Fixed Interval","slug":"3-send-sweep-commands-at-a-fixed-interval","depth":3,"children":[]},{"title":"4. Stop Motion and Clean Up","slug":"4-stop-motion-and-clean-up","depth":3,"children":[]}]},{"title":"Running It","slug":"running-it","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/wuji-0bbde051/b2c44d33b6c24023/scripts/copy-page-label.js","/_mintlify/custom/wuji-0bbde051/162568d2bdad1567/scripts/subscribe.js"],"subdomain":"wuji-0bbde051","siteName":"WUJI Docs","title":"Running an MIT Joint Sweep - WUJI Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/docs/zh/wuji-hand/latest/sdk-practice/mit-sweep","matchLevel":1},"en":{"href":"/docs/en/wuji-hand/latest/sdk-practice/mit-sweep","matchLevel":0}}},"lastModified":"2026-12-03T08:38:28.346Z","originalFileLocation":"docs/en/wuji-hand/latest/sdk-practice/mit-sweep.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"WUJI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Running an MIT Joint Sweep - WUJI Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WUJI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wuji-0bbde051.mintlify.site/_mintlify/api/og/v2?division=SDK+Practice\u0026amp;title=Running+an+MIT+Joint+Sweep\u0026amp;theme=5ed30db2cb8604ac69e52a05\u0026amp;signature=1e00cfa70541f8265aed627f7e251736cb7dfe523041f052e09fd492885e28fe\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Running an MIT Joint Sweep - WUJI Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wuji-0bbde051.mintlify.site/_mintlify/api/og/v2?division=SDK+Practice\u0026amp;title=Running+an+MIT+Joint+Sweep\u0026amp;theme=5ed30db2cb8604ac69e52a05\u0026amp;signature=1e00cfa70541f8265aed627f7e251736cb7dfe523041f052e09fd492885e28fe\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/wuji-0bbde051/YiVCFEFt9Io2b5rD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WUJI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#207FFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/wuji-hand/latest/sdk-practice/mit-sweep.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.wuji.tech/docs/zh/wuji-hand/latest/sdk-practice/mit-sweep\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.wuji.tech/docs/zh/wuji-hand/latest/sdk-practice/mit-sweep\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wuji.tech/#organization\",\"name\":\"WUJI Docs\",\"url\":\"https://docs.wuji.tech\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wuji-0bbde051/L5L7y_1GoeOydbgy/shared/assets/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=L5L7y_1GoeOydbgy\u0026q=85\u0026s=1e43e384fc1295b14de2c02f102e820c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wuji.tech#website\",\"name\":\"WUJI Docs\",\"url\":\"https://docs.wuji.tech\",\"publisher\":{\"@id\":\"https://docs.wuji.tech/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep#webpage\",\"url\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep\",\"name\":\"Running an MIT Joint Sweep\",\"dateModified\":\"2026-12-03T08:38:28.346Z\",\"isPartOf\":{\"@id\":\"https://docs.wuji.tech#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hardware\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WUJI Hand 2\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"2.2 Beta\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Integration and Development\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/hardware-integration\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"SDK Practice\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"Running an MIT Joint Sweep\",\"item\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep#article\",\"headline\":\"Running an MIT Joint Sweep\",\"name\":\"Running an MIT Joint Sweep\",\"url\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wuji.tech/docs/en/wuji-hand/latest/sdk-practice/mit-sweep#webpage\"},\"dateModified\":\"2026-12-03T08:38:28.346Z\",\"publisher\":{\"@id\":\"https://docs.wuji.tech/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wuji.tech#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WUJI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"WUJI Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/en/wuji-hand/latest/sdk-practice/mit-sweep.md","siteName":"WUJI Docs","nav":{"global":null,"languages":[{"language":"cn","banner":{"content":"**新** · 2026.11.23 · MIT_V2 控制、整机诊断与开发者资源。[查看详情](/docs/zh/release-notes#2026-11-23)","dismissible":true},"footer":{"socials":{"github":"https://github.com/wuji-technology"},"links":[{"header":"探索","items":[{"label":"发布记录","href":"/docs/zh/release-notes"},{"label":"视频","href":"/docs/zh/videos"},{"label":"归档","href":"/docs/zh/archived"}]},{"header":"公司","items":[{"label":"产品官网","href":"https://wuji.tech"},{"label":"GitHub","href":"https://github.com/wuji-technology"},{"label":"sales@wuji.tech","href":"mailto:sales@wuji.tech"}]}]},"navbar":{"links":[{"href":"/docs/zh/release-notes","label":"发布记录"},{"href":"/docs/zh/videos","label":"视频"},{"href":"/docs/zh/archived","label":"归档"}]},"pages":[{"title":"cn","href":"/docs/zh/wuji-hand/latest/sdk-practice/mit-sweep"}]},{"language":"en","banner":{"content":"**New** · 2026.11.23 · MIT_V2 control, whole-device diagnostics, and developer resources. [Read more](/docs/en/release-notes#2026-11-23)","dismissible":true},"footer":{"socials":{"github":"https://github.com/wuji-technology"},"links":[{"header":"Explore","items":[{"label":"Release notes","href":"/docs/en/release-notes"},{"label":"Videos","href":"/docs/en/videos"},{"label":"Archived","href":"/docs/en/archived"}]},{"header":"Company","items":[{"label":"Product site","href":"https://wuji.tech"},{"label":"GitHub","href":"https://github.com/wuji-technology"},{"label":"sales@wuji.tech","href":"mailto:sales@wuji.tech"}]}]},"navbar":{"links":[{"href":"/docs/en/release-notes","label":"Release notes"},{"href":"/docs/en/videos","label":"Videos"},{"href":"/docs/en/archived","label":"Archived"}]},"groups":[{"group":"Overview","pages":[{"title":"Welcome to the WUJI Developer Docs","mode":"wide","sidebarTitle":"Home","href":"/docs/en"}]},{"group":"Hardware","pages":[{"group":"WUJI Hand 2","pages":[{"group":"2.2 Beta","tag":"LATEST","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-hand/latest/index"},{"group":"Getting Started","pages":[{"title":"Version Identification and Compatibility","href":"/docs/en/wuji-hand/latest/version-compatibility"},{"title":"Product Introduction","href":"/docs/en/wuji-hand/latest/overview"},{"title":"User Notice","href":"/docs/en/wuji-hand/latest/user-notice"},{"title":"Quick Start","href":"/docs/en/wuji-hand/latest/quick-start"}]},{"group":"Integration and Development","pages":[{"group":"Hardware and Software Integration","pages":[{"title":"Mechanical Integration","href":"/docs/en/wuji-hand/latest/hardware-integration"},{"title":"Electrical and Network Integration","href":"/docs/en/wuji-hand/latest/electrical-network-integration"},{"title":"ROS 2 Integration","href":"/docs/en/wuji-hand/latest/ros2-integration"},{"title":"Model Assets and Loading","href":"/docs/en/wuji-hand/latest/model-integration"}]},{"title":"Control Guide","href":"/docs/en/wuji-hand/latest/control-guide"},{"title":"Best Practices Guide","href":"/docs/en/wuji-hand/latest/best-practices"},{"title":"Calibration and Configuration","href":"/docs/en/wuji-hand/latest/calibration"},{"group":"SDK Reference","pages":[{"title":"Data Streams Overview","href":"/docs/en/wuji-hand/latest/sdk-reference"},{"title":"Joint States and Control","href":"/docs/en/wuji-hand/latest/sdk-reference/joint-control"},{"title":"Effort and MIT Parameters","href":"/docs/en/wuji-hand/latest/sdk-reference/effort-and-mit"},{"title":"IMU","href":"/docs/en/wuji-hand/latest/sdk-reference/imu"},{"title":"Device Parameters and Operations","href":"/docs/en/wuji-hand/latest/sdk-reference/device-operations"},{"title":"Diagnostics and Logs","href":"/docs/en/wuji-hand/latest/sdk-reference/diagnostics"}]},{"group":"SDK Practice","pages":[{"sidebarTitle":"Overview","title":"Overview","href":"/docs/en/wuji-hand/latest/sdk-practice/index"},{"title":"Subscribing With Callbacks","href":"/docs/en/wuji-hand/latest/sdk-practice/subscribe-callback"},{"title":"Subscribing Asynchronously","href":"/docs/en/wuji-hand/latest/sdk-practice/subscribe-async"},{"title":"Publishing Control Commands","href":"/docs/en/wuji-hand/latest/sdk-practice/publish-command"},{"title":"Position Control (Beta)","href":"/docs/en/wuji-hand/latest/sdk-practice/position-mode"},{"title":"Replaying a Thumb Opposition","description":null,"href":"/docs/en/wuji-hand/latest/sdk-practice/opposition-replay"},{"title":"Running an MIT Joint Sweep","href":"/docs/en/wuji-hand/latest/sdk-practice/mit-sweep"},{"title":"Adjusting Stream Rate","description":null,"href":"/docs/en/wuji-hand/latest/sdk-practice/stream-rate"},{"title":"Reading Device Info","href":"/docs/en/wuji-hand/latest/sdk-practice/device-info"},{"title":"Exporting Device Logs","href":"/docs/en/wuji-hand/latest/sdk-practice/export-flash-logs"}]}]},{"group":"Operations and Appendix","pages":[{"title":"Maintenance","href":"/docs/en/wuji-hand/latest/maintenance"},{"title":"Troubleshooting","href":"/docs/en/wuji-hand/latest/troubleshooting"},{"title":"Appendix","href":"/docs/en/wuji-hand/latest/reference"}]}]},{"group":"2.1 Beta","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-hand/beta1/index"},{"group":"Getting Started","pages":[{"title":"Product Introduction","href":"/docs/en/wuji-hand/beta1/overview"},{"title":"User Notice","href":"/docs/en/wuji-hand/beta1/user-notice"},{"title":"Usage Constraints","href":"/docs/en/wuji-hand/beta1/usage-constraints"}]},{"group":"Developer Guide","pages":[{"title":"ROS 2 Integration","href":"/docs/en/wuji-hand/beta1/ros2-integration"},{"title":"SDK Reference","href":"/docs/en/wuji-hand/beta1/sdk-reference"}]}]}]},{"group":"WUJI Glove","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-glove/latest/index"},{"group":"Getting Started","pages":[{"title":"Product Introduction","href":"/docs/en/wuji-glove/latest/introduction"},{"title":"User Notice","href":"/docs/en/wuji-glove/latest/user-notice"},{"title":"Quick Start","href":"/docs/en/wuji-glove/latest/getting-started"}]},{"group":"Integration and Development","pages":[{"title":"Calibration and Configuration","href":"/docs/en/wuji-glove/latest/calibration"},{"group":"Hardware and Software Integration","pages":[{"title":"Mechanical Integration","href":"/docs/en/wuji-glove/latest/hardware-integration"},{"title":"Electrical and Network Integration","href":"/docs/en/wuji-glove/latest/electrical-network-integration"},{"title":"ROS 2 Integration","href":"/docs/en/wuji-glove/latest/ros2-integration"},{"title":"Model Assets and Loading","href":"/docs/en/wuji-glove/latest/model-integration"}]},{"title":"Coordinate Frames","href":"/docs/en/wuji-glove/latest/coordinate-frames"},{"title":"Offline Solving","href":"/docs/en/wuji-glove/latest/offline-pipeline"},{"group":"SDK Reference","pages":[{"title":"Data Streams Overview","href":"/docs/en/wuji-glove/latest/sdk-data-reference/index"},{"title":"Tactile","href":"/docs/en/wuji-glove/latest/sdk-data-reference/tactile"},{"title":"Hand Tracking","href":"/docs/en/wuji-glove/latest/sdk-data-reference/hand-tracking"},{"title":"IMU","href":"/docs/en/wuji-glove/latest/sdk-data-reference/imu"},{"title":"Coordinate Transforms","href":"/docs/en/wuji-glove/latest/sdk-data-reference/coordinate-transforms"},{"title":"Device Parameters and Operations","href":"/docs/en/wuji-glove/latest/sdk-data-reference/device-operations"},{"title":"Hand Model Calibration","href":"/docs/en/wuji-glove/latest/sdk-data-reference/calibration"}]},{"group":"SDK Practice","pages":[{"sidebarTitle":"Overview","title":"Overview","href":"/docs/en/wuji-glove/latest/sdk-practice/index"},{"title":"Subscribing With Callbacks","href":"/docs/en/wuji-glove/latest/sdk-practice/subscribe-callback"},{"title":"Subscribing Asynchronously","href":"/docs/en/wuji-glove/latest/sdk-practice/subscribe-async"},{"title":"Recording Data","href":"/docs/en/wuji-glove/latest/sdk-practice/data-recording"},{"title":"Replaying Data Offline","href":"/docs/en/wuji-glove/latest/sdk-practice/offline-replay"},{"title":"Hand Model Calibration","href":"/docs/en/wuji-glove/latest/sdk-practice/hand-model-calibration"},{"title":"Tactile Calibration","href":"/docs/en/wuji-glove/latest/sdk-practice/tactile-calibration"},{"title":"Setting a Custom Hand Model","href":"/docs/en/wuji-glove/latest/sdk-practice/custom-hand-model"},{"title":"Adjusting Stream Rate","href":"/docs/en/wuji-glove/latest/sdk-practice/stream-rate"},{"title":"Tactile Contact Grid View","href":"/docs/en/wuji-glove/latest/sdk-practice/tactile-contact-view"},{"title":"Tactile Residual Grid View","href":"/docs/en/wuji-glove/latest/sdk-practice/tactile-residual-view"}]}]},{"group":"Operations and Appendix","pages":[{"title":"Maintenance","href":"/docs/en/wuji-glove/latest/maintenance"},{"title":"Troubleshooting","href":"/docs/en/wuji-glove/latest/troubleshooting"},{"title":"Appendix","href":"/docs/en/wuji-glove/latest/appendix"}]}]},{"group":"WUJI Hand","tag":"ARCHIVED","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-hand/v1/index"},{"title":"Changelog","href":"/docs/en/wuji-hand/v1/release-notes"},{"title":"Product Introduction","href":"/docs/en/wuji-hand/v1/overview"},{"title":"User Notice","href":"/docs/en/wuji-hand/v1/user-notice"}]}]},{"group":"Software","pages":[{"group":"WUJI SDK","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-sdk/latest/index"},{"group":"Getting Started","pages":[{"title":"SDK Overview","href":"/docs/en/wuji-sdk/latest/introduction"},{"title":"Installation and Environment","href":"/docs/en/wuji-sdk/latest/quick-start"},{"title":"Docker Deployment","href":"/docs/en/wuji-sdk/latest/docker-deployment"}]},{"group":"Developer Guide","pages":[{"title":"Device Discovery \u0026 Connection","href":"/docs/en/wuji-sdk/latest/device-connection"},{"title":"Data Subscription Mechanism","href":"/docs/en/wuji-sdk/latest/data-subscription"},{"title":"Data Recording","href":"/docs/en/wuji-sdk/latest/data-recording"},{"title":"Common Data Types","href":"/docs/en/wuji-sdk/latest/data-reference"},{"title":"SDK Users and Calibration Data","href":"/docs/en/wuji-sdk/latest/device-params"},{"title":"Time Synchronization and Coordinate Transforms","href":"/docs/en/wuji-sdk/latest/time-sync"},{"title":"Hand Retargeting","href":"/docs/en/wuji-sdk/latest/retargeting"}]},{"group":"SDK Practice","pages":[{"sidebarTitle":"Overview","title":"Overview","href":"/docs/en/wuji-sdk/latest/sdk-practice/index"},{"title":"Retargeting Sessions: Keypoints to Joint Angles","href":"/docs/en/wuji-sdk/latest/sdk-practice/retarget-session"},{"title":"Local SDK User Management","href":"/docs/en/wuji-sdk/latest/sdk-practice/user-management"}]},{"group":"Operations and Appendix","pages":[{"title":"Best Practices","href":"/docs/en/wuji-sdk/latest/advanced"},{"title":"Fault Logs and Error Codes","href":"/docs/en/wuji-sdk/latest/device-fault-logs"},{"title":"Troubleshooting","href":"/docs/en/wuji-sdk/latest/troubleshooting"},{"title":"C API Reference","href":"/docs/en/wuji-sdk/latest/c-sdk-reference"},{"title":"Appendix","href":"/docs/en/wuji-sdk/latest/appendix"}]}]},{"group":"WUJI CLI","pages":[{"sidebarTitle":"Reading Guide","title":"Reading Guide","href":"/docs/en/wuji-cli/latest/index"},{"group":"Getting Started","pages":[{"title":"CLI Overview","href":"/docs/en/wuji-cli/latest/introduction"},{"title":"Getting Started","href":"/docs/en/wuji-cli/latest/getting-started"}]},{"group":"User Guide","pages":[{"title":"Device Management","href":"/docs/en/wuji-cli/latest/device-management"},{"title":"Read and Write Parameters","href":"/docs/en/wuji-cli/latest/parameters"},{"title":"Users and Calibration Data","href":"/docs/en/wuji-cli/latest/user"},{"title":"Hand Model Calibration","href":"/docs/en/wuji-cli/latest/hand-model-calibration"},{"title":"Data Subscription","href":"/docs/en/wuji-cli/latest/subscription"},{"title":"Live Visualization","href":"/docs/en/wuji-cli/latest/visualization"},{"title":"Tactile Calibration","href":"/docs/en/wuji-cli/latest/tactile-calibration"},{"title":"Health Diagnostics","href":"/docs/en/wuji-cli/latest/doctor"},{"title":"Log Export","href":"/docs/en/wuji-cli/latest/logs"},{"title":"Firmware Upgrade","href":"/docs/en/wuji-cli/latest/firmware-upgrade"}]}]}]},{"group":"More","pages":[{"title":"Release Notes","href":"/docs/en/release-notes"},{"title":"Algorithms and Research","href":"/docs/en/resources/algorithms-and-research"},{"title":"Videos","href":"/docs/en/videos"},{"group":"Archived","pages":[{"title":"Archived","href":"/docs/en/archived"},{"group":"WUJI Studio","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-studio/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-studio/latest/index"},{"group":"Getting Started","pages":[{"title":"Overview","href":"/docs/en/wuji-studio/latest/introduction"},{"title":"Download and Installation","href":"/docs/en/wuji-studio/latest/installation"}]},{"group":"User Guide","pages":[{"title":"Basic Settings","href":"/docs/en/wuji-studio/latest/basic-settings"},{"title":"Device Management","href":"/docs/en/wuji-studio/latest/device-connection"},{"group":"Data Visualization","pages":[{"title":"Overview","href":"/docs/en/wuji-studio/latest/visualization/index"},{"title":"Layout Presets","href":"/docs/en/wuji-studio/latest/visualization/layout-presets"},{"title":"Panel Types","href":"/docs/en/wuji-studio/latest/visualization/panel-types"},{"title":"3D Hand Visualization","href":"/docs/en/wuji-studio/latest/visualization/hand-3d"},{"title":"Data Recording","href":"/docs/en/wuji-studio/latest/visualization/recording"},{"title":"Device Logs","href":"/docs/en/wuji-studio/latest/visualization/device-logs"}]},{"title":"Firmware Upgrade","href":"/docs/en/wuji-studio/latest/firmware-upgrade"},{"title":"Device Calibration","href":"/docs/en/wuji-studio/latest/calibration"},{"title":"Tactile Contact Calibration","href":"/docs/en/wuji-studio/latest/tactile-calibration"}]},{"group":"Reference","pages":[{"title":"Troubleshooting","href":"/docs/en/wuji-studio/latest/troubleshooting"},{"title":"Studio Migration Guide","href":"/docs/en/wuji-studio/latest/migration-to-cli"}]}]},{"group":"WUJI Hand ROS2","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wujihandros2/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wujihandros2/latest/index"},{"group":"Getting Started","pages":[{"title":"Installation","href":"/docs/en/wujihandros2/latest/installation"},{"title":"Quick Start","href":"/docs/en/wujihandros2/latest/quick-start"}]},{"group":"Configuration","pages":[{"title":"Configuration","href":"/docs/en/wujihandros2/latest/configuration"},{"title":"ROS2 Interface","href":"/docs/en/wujihandros2/latest/ros2-interface"}]},{"group":"Reference","pages":[{"title":"Appendix","href":"/docs/en/wujihandros2/latest/appendix"}]}]},{"group":"WUJI Hand HMI","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-hand-hmi/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-hand-hmi/latest/index"},{"group":"Getting Started","pages":[{"title":"Getting Started","href":"/docs/en/wuji-hand-hmi/latest/getting-started"}]},{"group":"Usage","pages":[{"title":"Panels","href":"/docs/en/wuji-hand-hmi/latest/panels"},{"title":"Connection \u0026 Enable","href":"/docs/en/wuji-hand-hmi/latest/connection"}]},{"group":"Reference","pages":[{"title":"Troubleshooting","href":"/docs/en/wuji-hand-hmi/latest/troubleshooting"}]}]},{"group":"WUJI Hand Upgrader","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-hand-upgrader/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-hand-upgrader/latest/index"},{"group":"Getting Started","pages":[{"title":"Installation","href":"/docs/en/wuji-hand-upgrader/latest/installation"},{"title":"Connect Device","href":"/docs/en/wuji-hand-upgrader/latest/connection"}]},{"group":"Operations","pages":[{"title":"Firmware Upgrade","href":"/docs/en/wuji-hand-upgrader/latest/upgrade"}]},{"group":"Reference","pages":[{"title":"Troubleshooting","href":"/docs/en/wuji-hand-upgrader/latest/troubleshooting"},{"title":"Uninstall","href":"/docs/en/wuji-hand-upgrader/latest/uninstallation"}]}]},{"group":"WUJI Hand SDK","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wujihandpy/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wujihandpy/latest/index"},{"group":"Getting Started","pages":[{"title":"Getting Started","href":"/docs/en/wujihandpy/latest/introduction"},{"title":"Tutorial","href":"/docs/en/wujihandpy/latest/tutorial"}]},{"group":"Reference","pages":[{"title":"API Reference","href":"/docs/en/wujihandpy/latest/api-reference"}]}]},{"group":"WUJI Retargeting","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-retargeting/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-retargeting/latest/index"},{"group":"Getting Started","pages":[{"title":"Installation","href":"/docs/en/wuji-retargeting/latest/installation"},{"title":"Quick Start","href":"/docs/en/wuji-retargeting/latest/quick-start"}]},{"group":"Advanced","pages":[{"title":"Tuning Guide","href":"/docs/en/wuji-retargeting/latest/tuning"},{"title":"API Reference","href":"/docs/en/wuji-retargeting/latest/api"}]},{"group":"Reference","pages":[{"title":"Appendix","href":"/docs/en/wuji-retargeting/latest/appendix"}]}]},{"group":"WUJI MJLab","tag":"ARCHIVED","pages":[{"title":"Changelog","href":"/docs/en/wuji-mjlab/latest/release-notes"},{"sidebarTitle":"All Pages","title":"Reading Guide","href":"/docs/en/wuji-mjlab/latest/index"},{"group":"Getting Started","pages":[{"title":"Introduction","href":"/docs/en/wuji-mjlab/latest/introduction"},{"title":"Installation","href":"/docs/en/wuji-mjlab/latest/installation"}]},{"group":"Training","pages":[{"title":"Training and Evaluation","href":"/docs/en/wuji-mjlab/latest/training"}]},{"group":"Deploy","pages":[{"title":"Hardware Setup","href":"/docs/en/wuji-mjlab/latest/hardware"},{"title":"Sim-to-real Deployment","href":"/docs/en/wuji-mjlab/latest/sim2real"}]},{"group":"Reference","pages":[{"title":"Architecture","href":"/docs/en/wuji-mjlab/latest/architecture"}]}]},{"group":"MuJoCo Sim","tag":"ARCHIVED","pages":[{"title":"MuJoCo Simulation Example","href":"/docs/en/mujoco-sim/latest/index"}]},{"group":"Isaac Lab Sim","tag":"ARCHIVED","pages":[{"title":"Isaac Lab Simulation Example","href":"/docs/en/isaaclab-sim/latest/index"}]}]}]}]}]},"basePath":"","title":"Running an MIT Joint Sweep - WUJI Docs","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DfPi8iCg.js","dist-DjFwSv8l.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}