Reads or writes one configuration parameter on a MyActuator or Damiao motor. With --value, it writes the parameter and saves it to the motor’s flash. Without --value, it prints the current value. The motor type comes from the CAN ID. To list every parameter name, run motor.dump-config.
Flag
Description
--l / --r
Select the left or right side. Required unless you pass --channel
--target {axol,mantis}
Use that side’s Axol arm or Mantis gripper bus (default: axol)
--channel IFACE
Use this SocketCAN interface, such as can0. On its own, it reaches a motor outside the arms, such as on a test stand
--id ID
CAN ID of the motor, hex or decimal (required)
--param NAME
Parameter to read or write (required)
--value V
New value. Omit to read the current value
--type {myactuator,damiao}
Motor type. Inferred from the ID if omitted
--force-protected
Allow writing a protected parameter: factory calibration, identity, CAN ID or baud rate
Read-only parameters, such as firmware versions and measured winding constants, can’t be written.
Damiao’s TIMEOUT (loss of communication) is given in milliseconds.
MAX_TORQUE, VOLTAGE_SAMPLE_RES, LPF_CF_FOR_CURRENT, LPF_CF_FOR_SPEED and ERROR_DETECTION_LPF_CF exist only on MyActuator firmware 2026042402 and later. On older firmware the command reports them as unsupported.
On that firmware, MAX_TORQUE must be the motor’s rated torque: 60 on an RMD-X6-P20-60, 50 on an RMD-X6-P20-50 and 129 on an RMD-X8. Axol sets it when it enables the arms, so you don’t need to change it. If the setting can’t be changed, Axol won’t start the motor, and the error shows the command to run.
CURRENT_SAMPLE_RES (Current sample resistor) must match the motor: 2 on an RMD-X8-P20-120, 1 on an RMD-X8-P20-150 and 3 on an RMD-X6. With the wrong value the motor delivers the wrong torque but still reports the torque it was asked for. Axol won’t start a motor whose value doesn’t match, and the error shows the command to run.
CHANGE_DIRECTION (Change Motor Direction) is 0 or 1. A motor whose EXCHANGE_PHASE is 0 needs it set to 1 to turn the same way as the rest of Axol. Changing it moves the joint’s zero, so don’t set it here. Guided zeroing sets it and then zeroes the joint.
Don’t change EXCHANGE_PHASE. It describes how the motor is built, and a wrong value stops the motor from turning.
Writing ENABLE_2ND_ENCODER as mode 2 or 3 also writes the matching SECOND_ENCODER_RESOLUTION. On firmware 2026052501 and later, the resolution stays as the motor reports it.
The MyActuator parameters match the panels of the vendor’s V4.0 setup software. You can also edit them in the Parameters tab of the diagnostics dashboard.
A wrong protected value can leave a motor unable to run or unreachable on the bus. Use --force-protected only for recovery, such as reassigning a baud rate, never for routine tuning.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Docs","description":"Command-line interface and Python SDK for the Almond Axol dual-arm robot.","colors":{"primary":"#c79760","light":"#eff483","dark":"#c79760"},"logo":{"light":"https://mintcdn.com/almondbot/idfco7KlgFmESEu4/assets/logo.png?fit=max\u0026auto=format\u0026n=idfco7KlgFmESEu4\u0026q=85\u0026s=bc87e5e797ca0a584e6d373c704c28d9","dark":"https://mintcdn.com/almondbot/idfco7KlgFmESEu4/assets/logo.png?fit=max\u0026auto=format\u0026n=idfco7KlgFmESEu4\u0026q=85\u0026s=bc87e5e797ca0a584e6d373c704c28d9"},"favicon":"https://mintcdn.com/almondbot/idfco7KlgFmESEu4/assets/logo.png?fit=max\u0026auto=format\u0026n=idfco7KlgFmESEu4\u0026q=85\u0026s=bc87e5e797ca0a584e6d373c704c28d9","navbar":{"links":[{"href":"https://axol.almond.bot/control","label":"Control Panel"},{"href":"https://axol.almond.bot/vr","label":"VR Teleop"}],"primary":{"type":"button","label":"Get Axol","href":"https://almond.bot"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"almondbot","hasAudioNarration":false,"actualSubdomain":"almondbot","customDomains":["docs.almond.bot"],"gitSource":{"type":"github","owner":"almond-bot","repo":"axol","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af4e937b2eaa5e35646f167","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Advanced","count":70},{"language":"default","tag":"CLI Reference","count":59},{"language":"default","tag":"Operations","count":20},{"language":"default","tag":"Tuning","count":11},{"language":"default","tag":"Python API","count":10},{"language":"default","tag":"Motors","count":9},{"language":"default","tag":"Get Started","count":9},{"language":"default","tag":"Diagnostics","count":6},{"language":"default","tag":"Web Interfaces","count":6},{"language":"default","tag":"Hardware Setup","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"cli/motor-set-config","slug":"/cli/motor-set-config","pageMetadata":{"title":"motor.set-config","description":"Read or write one motor configuration parameter.","href":"/cli/motor-set-config"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Read or write one motor configuration parameter.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"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`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Reads or writes one configuration parameter on a MyActuator or Damiao motor. With `,_jsx(_components.code,{children:`--value`}),`, it writes the parameter and saves it to the motor’s flash. Without `,_jsx(_components.code,{children:`--value`}),`, it prints the current value. The motor type comes from the CAN ID. To list every parameter name, run `,_jsx(_components.a,{href:`https://docs.almond.bot/cli/motor-dump-config`,children:_jsx(_components.code,{children:`motor.dump-config`})}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--l`}),` / `,_jsx(_components.code,{children:`--r`})]}),_jsxs(_components.td,{children:[`Select the left or right side. Required unless you pass `,_jsx(_components.code,{children:`--channel`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--target {axol,mantis}`})}),_jsxs(_components.td,{children:[`Use that side’s Axol arm or Mantis gripper bus (default: `,_jsx(_components.code,{children:`axol`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--channel IFACE`})}),_jsxs(_components.td,{children:[`Use this SocketCAN interface, such as `,_jsx(_components.code,{children:`can0`}),`. On its own, it reaches a motor outside the arms, such as on a test stand`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--id ID`})}),_jsx(_components.td,{children:`CAN ID of the motor, hex or decimal (required)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--param NAME`})}),_jsx(_components.td,{children:`Parameter to read or write (required)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--value V`})}),_jsx(_components.td,{children:`New value. Omit to read the current value`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--type {myactuator,damiao}`})}),_jsx(_components.td,{children:`Motor type. Inferred from the ID if omitted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--force-protected`})}),_jsx(_components.td,{children:`Allow writing a protected parameter: factory calibration, identity, CAN ID or baud rate`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--yes`})}),_jsx(_components.td,{children:`Skip the confirmation prompt`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`axol`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` motor.set-config`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --l`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --id`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0x01`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --param`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` LOW_VOLTAGE`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # read the threshold`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`axol`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` motor.set-config`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --l`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --id`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0x01`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --param`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` LOW_VOLTAGE`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --value`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -2.0`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # write and persist it`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`axol`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` motor.set-config`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --r`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --id`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0x07`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --param`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` TIMEOUT`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --value`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1000`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Damiao CAN timeout, ms`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`axol`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` motor.set-config`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --target`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mantis`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --l`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --id`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0x08`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --param`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` TIMEOUT`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Mantis gripper`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Read-only parameters, such as firmware versions and measured winding constants, can’t be written.`}),`\n`,_jsxs(_components.li,{children:[`Damiao’s `,_jsx(_components.code,{children:`TIMEOUT`}),` (loss of communication) is given in milliseconds.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MAX_TORQUE`}),`, `,_jsx(_components.code,{children:`VOLTAGE_SAMPLE_RES`}),`, `,_jsx(_components.code,{children:`LPF_CF_FOR_CURRENT`}),`, `,_jsx(_components.code,{children:`LPF_CF_FOR_SPEED`}),` and `,_jsx(_components.code,{children:`ERROR_DETECTION_LPF_CF`}),` exist only on MyActuator firmware `,_jsx(_components.code,{children:`2026042402`}),` and later. On older firmware the command reports them as unsupported.`]}),`\n`,_jsxs(_components.li,{children:[`On that firmware, `,_jsx(_components.code,{children:`MAX_TORQUE`}),` must be the motor’s rated torque: `,_jsx(_components.code,{children:`60`}),` on an RMD-X6-P20-60, `,_jsx(_components.code,{children:`50`}),` on an RMD-X6-P20-50 and `,_jsx(_components.code,{children:`129`}),` on an RMD-X8. Axol sets it when it enables the arms, so you don’t need to change it. If the setting can’t be changed, Axol won’t start the motor, and the error shows the command to run.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CURRENT_SAMPLE_RES`}),` (`,_jsx(_components.strong,{children:`Current sample resistor`}),`) must match the motor: `,_jsx(_components.code,{children:`2`}),` on an RMD-X8-P20-120, `,_jsx(_components.code,{children:`1`}),` on an RMD-X8-P20-150 and `,_jsx(_components.code,{children:`3`}),` on an RMD-X6. With the wrong value the motor delivers the wrong torque but still reports the torque it was asked for. Axol won’t start a motor whose value doesn’t match, and the error shows the command to run.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CHANGE_DIRECTION`}),` (`,_jsx(_components.strong,{children:`Change Motor Direction`}),`) is `,_jsx(_components.code,{children:`0`}),` or `,_jsx(_components.code,{children:`1`}),`. A motor whose `,_jsx(_components.code,{children:`EXCHANGE_PHASE`}),` is `,_jsx(_components.code,{children:`0`}),` needs it set to `,_jsx(_components.code,{children:`1`}),` to turn the same way as the rest of Axol. Changing it moves the joint’s zero, so don’t set it here. `,_jsx(_components.a,{href:`/cli/motor-set-zero-pos#guided-zeroing`,children:`Guided zeroing`}),` sets it and then zeroes the joint.`]}),`\n`,_jsxs(_components.li,{children:[`Don’t change `,_jsx(_components.code,{children:`EXCHANGE_PHASE`}),`. It describes how the motor is built, and a wrong value stops the motor from turning.`]}),`\n`,_jsxs(_components.li,{children:[`Writing `,_jsx(_components.code,{children:`ENABLE_2ND_ENCODER`}),` as mode `,_jsx(_components.code,{children:`2`}),` or `,_jsx(_components.code,{children:`3`}),` also writes the matching `,_jsx(_components.code,{children:`SECOND_ENCODER_RESOLUTION`}),`. On firmware `,_jsx(_components.code,{children:`2026052501`}),` and later, the resolution stays as the motor reports it.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The MyActuator parameters match the panels of the vendor’s V4.0 setup software. You can also edit them in the `,_jsx(_components.strong,{children:`Parameters`}),` tab of the `,_jsx(_components.a,{href:`/guides/diagnostics-dashboard#motor-status`,children:`diagnostics dashboard`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A wrong protected value can leave a motor unable to run or unreachable on the bus. Use `,_jsx(_components.code,{children:`--force-protected`}),` only for recovery, such as reassigning a baud rate, never for routine tuning.`]})})]})}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":"motor.set-config","description":"Read or write one motor configuration parameter.","href":"/cli/motor-set-config"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"almondbot","siteName":"Docs","title":"motor.set-config - Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T22:09:22.421Z","originalFileLocation":"cli/motor-set-config.mdx"},"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=\"description\" content=\"Read or write one motor configuration parameter.\">\u003cmeta data-mint-head name=\"application-name\" content=\"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/almondbot/HmxSPHVvkmFyL2Le/_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/almondbot/HmxSPHVvkmFyL2Le/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/almondbot/HmxSPHVvkmFyL2Le/_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/almondbot/HmxSPHVvkmFyL2Le/_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/almondbot/HmxSPHVvkmFyL2Le/_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/almondbot/HmxSPHVvkmFyL2Le/_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/almondbot/HmxSPHVvkmFyL2Le/_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/almondbot/HmxSPHVvkmFyL2Le/_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/almondbot/HmxSPHVvkmFyL2Le/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"motor.set-config - Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Read or write one motor configuration parameter.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.almond.bot/cli/motor-set-config\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://almondbot.mintlify.site/_mintlify/api/og/v2?division=Motors\u0026amp;title=motor.set-config\u0026amp;description=Read+or+write+one+motor+configuration+parameter.\u0026amp;theme=ffcfbe0d7cf208310e15e921\u0026amp;signature=e10d195fd7539402364129a1ce42ecdd354ea0d6006f2074c872c357e7b3c65a\">\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=\"motor.set-config - Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Read or write one motor configuration parameter.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://almondbot.mintlify.site/_mintlify/api/og/v2?division=Motors\u0026amp;title=motor.set-config\u0026amp;description=Read+or+write+one+motor+configuration+parameter.\u0026amp;theme=ffcfbe0d7cf208310e15e921\u0026amp;signature=e10d195fd7539402364129a1ce42ecdd354ea0d6006f2074c872c357e7b3c65a\">\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/almondbot/HmxSPHVvkmFyL2Le/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c79760\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.almond.bot/cli/motor-set-config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/motor-set-config.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.almond.bot/#organization\",\"name\":\"Docs\",\"url\":\"https://docs.almond.bot\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/almondbot/idfco7KlgFmESEu4/assets/logo.png?fit=max\u0026auto=format\u0026n=idfco7KlgFmESEu4\u0026q=85\u0026s=bc87e5e797ca0a584e6d373c704c28d9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.almond.bot#website\",\"name\":\"Docs\",\"url\":\"https://docs.almond.bot\",\"publisher\":{\"@id\":\"https://docs.almond.bot/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.almond.bot/cli/motor-set-config#webpage\",\"url\":\"https://docs.almond.bot/cli/motor-set-config\",\"name\":\"motor.set-config\",\"description\":\"Read or write one motor configuration parameter.\",\"dateModified\":\"2026-11-10T22:09:22.421Z\",\"isPartOf\":{\"@id\":\"https://docs.almond.bot#website\"},\"breadcrumb\":{\"@id\":\"https://docs.almond.bot/cli/motor-set-config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.almond.bot/cli/motor-set-config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Advanced\",\"item\":\"https://docs.almond.bot/advanced/development-install\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CLI Reference\",\"item\":\"https://docs.almond.bot/cli/configuration\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Motors\",\"item\":\"https://docs.almond.bot/cli/motor-info\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"motor.set-config\",\"item\":\"https://docs.almond.bot/cli/motor-set-config\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.almond.bot/cli/motor-set-config#article\",\"headline\":\"motor.set-config\",\"name\":\"motor.set-config\",\"description\":\"Read or write one motor configuration parameter.\",\"url\":\"https://docs.almond.bot/cli/motor-set-config\",\"mainEntityOfPage\":{\"@id\":\"https://docs.almond.bot/cli/motor-set-config#webpage\"},\"dateModified\":\"2026-11-10T22:09:22.421Z\",\"publisher\":{\"@id\":\"https://docs.almond.bot/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.almond.bot#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cli/motor-set-config.md","siteName":"Docs","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"Almond Axol","href":"/index"},{"title":"Hardware Overview","href":"/hardware"},{"group":"Hardware Setup","root":{"title":"Hardware Setup","href":"/hardware-setup"},"pages":[{"title":"Axol Standalone","href":"/hardware-setup/standalone"},{"title":"Axol + Owl Mount","href":"/hardware-setup/owl-mount"},{"title":"Axol + Ox Cart","href":"/hardware-setup/ox-cart"},{"title":"Axol + Jelly","href":"/hardware-setup/jelly"},{"title":"Axol Cameras","href":"/hardware-setup/cameras"},{"title":"Advantech Thor (MIC-742)","href":"/hardware-setup/thor"}]},{"title":"Installation","href":"/installation"}]},{"group":"Operations","pages":[{"group":"Teleoperation","root":{"title":"Teleoperation","href":"/operations/teleop"},"pages":[{"title":"Teleoperation Config Parameters","sidebarTitle":"Config Parameters","href":"/operations/teleop-config"}]},{"group":"Gravity Compensation","root":{"title":"Gravity Compensation","href":"/operations/gravity-comp"},"pages":[{"title":"Gravity Compensation Config Parameters","sidebarTitle":"Config Parameters","href":"/operations/gravity-comp-config"}]},{"group":"Data Collection","root":{"title":"Data Collection","href":"/operations/data-collection"},"pages":[{"title":"Data Collection Config Parameters","sidebarTitle":"Config Parameters","href":"/operations/data-collection-config"}]},{"group":"Replay Dataset","root":{"title":"Replay Dataset","href":"/operations/replay-dataset"},"pages":[{"title":"Replay Dataset Config Parameters","sidebarTitle":"Config Parameters","href":"/operations/replay-dataset-config"}]},{"title":"Train a Policy","href":"/operations/train-policy"},{"group":"Run Policy","root":{"title":"Run Policy","href":"/operations/run-policy"},"pages":[{"title":"Run Policy Config Parameters","sidebarTitle":"Config Parameters","href":"/operations/run-policy-config"},{"title":"Run Your Own Policy","sidebarTitle":"Custom Policy","href":"/operations/custom-policy"},{"title":"Mink IK","href":"/operations/mink"}]},{"group":"DAgger Collection","root":{"title":"DAgger Collection","href":"/operations/dagger"},"pages":[{"title":"DAgger Collection Config Parameters","sidebarTitle":"Config Parameters","href":"/operations/dagger-config"}]}]},{"group":"Mantis","pages":[{"title":"Mantis Hardware","href":"/mantis/hardware"},{"title":"Mantis Tracking","href":"/mantis/tracking"}]},{"group":"Remote Teleop","pages":[{"title":"Remote Teleop","href":"/guides/remote-teleop"}]},{"group":"Web Interfaces","pages":[{"group":"Web Control Panel","root":{"title":"Web Control Panel","href":"/guides/control-panel"},"pages":[{"title":"The Robot's Settings File","sidebarTitle":"Settings File","href":"/guides/control-panel-settings"}]},{"title":"Diagnostics Dashboard","href":"/guides/diagnostics-dashboard"},{"title":"Calibrating Axol","href":"/guides/axol-calibration"},{"title":"VR Interface","href":"/guides/vr-interface"},{"title":"Quest over USB","href":"/guides/quest-over-usb"},{"title":"Quest Without Wearing It","href":"/guides/quest-headless"}]},{"group":"Advanced","pages":[{"title":"Development install","href":"/advanced/development-install"},{"group":"CLI Reference","pages":[{"title":"Command configuration","href":"/cli/configuration"},{"group":"Operations","pages":[{"title":"teleop","href":"/cli/teleop"},{"title":"gravity-comp","href":"/cli/gravity-comp"},{"title":"waypoints","href":"/cli/waypoints"},{"title":"jog","href":"/cli/jog"},{"title":"collect-data","href":"/cli/collect-data"},{"title":"collect-dagger","href":"/cli/collect-dagger"},{"title":"replay-dataset","href":"/cli/replay-dataset"},{"title":"run-policy","href":"/cli/run-policy"},{"title":"inference-server","href":"/cli/inference-server"},{"title":"policy.check","href":"/cli/policy-check"},{"title":"migrate-dataset","href":"/cli/migrate-dataset"}]},{"group":"Host","pages":[{"title":"serve","href":"/cli/serve"},{"title":"provision","href":"/cli/provision"},{"title":"rt.install","href":"/cli/rt-install"},{"title":"ik.warm","href":"/cli/ik-warm"},{"title":"jetson.setup","href":"/cli/jetson-setup"}]},{"group":"CAN","pages":[{"title":"can.setup","href":"/cli/can-setup"},{"title":"can.enable","href":"/cli/can-enable"},{"title":"can.driver","href":"/cli/can-driver"},{"title":"hub.info","href":"/cli/hub-info"},{"title":"hub.flash","href":"/cli/hub-flash"}]},{"group":"Motors","pages":[{"title":"motor.info","href":"/cli/motor-info"},{"title":"motor.health","href":"/cli/motor-health"},{"title":"motor.set-can-id","href":"/cli/motor-set-can-id"},{"title":"motor.set-zero-pos","href":"/cli/motor-set-zero-pos"},{"title":"motor.burn-in","href":"/cli/motor-burn-in"},{"title":"motor.dump-config","description":"Save every configuration parameter of one motor, or all motors on a bus, to a file.","href":"/cli/motor-dump-config"},{"title":"motor.set-config","href":"/cli/motor-set-config"},{"title":"motor.restore-config","description":"Write a saved configuration snapshot back to motors.","href":"/cli/motor-restore-config"},{"title":"motor.flash","href":"/cli/motor-flash"}]},{"group":"Lift","pages":[{"title":"lift.home","href":"/cli/lift-home"},{"title":"lift.goto","href":"/cli/lift-goto"},{"title":"lift.update","href":"/cli/lift-update"}]},{"group":"Safety","pages":[{"title":"safety","href":"/cli/safety"},{"title":"safety.update","href":"/cli/safety-update"}]},{"group":"Cameras","pages":[{"title":"zed.install","href":"/cli/zed-install"},{"title":"zed.driver","href":"/cli/zed-driver"},{"title":"gst.install","href":"/cli/gst-install"},{"title":"gst.build-zed","href":"/cli/gst-build-zed"}]},{"group":"Mantis","pages":[{"title":"mantis.update","href":"/cli/mantis-update"}]},{"group":"Mantis tracking","pages":[{"title":"tracker.*","href":"/cli/tracker"}]},{"group":"Diagnostics","pages":[{"title":"diag.rom-enable","href":"/cli/diag-rom-enable"},{"title":"diag.rom-disable","href":"/cli/diag-rom-disable"},{"title":"diag.teleop-jitter","href":"/cli/diag-teleop-jitter"},{"title":"diag.offline","href":"/cli/diag-offline"},{"title":"diag.lift-cycle","href":"/cli/diag-lift-cycle"},{"title":"diag.zed-cable","href":"/cli/diag-zed-cable"}]},{"group":"Tuning","pages":[{"title":"tune.pid","href":"/cli/tune-pid"},{"title":"tune.friction","href":"/cli/tune-friction"},{"title":"tune.breakaway","href":"/cli/tune-breakaway"},{"title":"tune.a4","href":"/cli/tune-a4"},{"title":"tune.gravity","href":"/cli/tune-gravity"},{"title":"tune.factory","href":"/cli/tune-factory"},{"title":"tune.motion","href":"/cli/tune-motion"},{"title":"tune.tf / motion.chirp","href":"/cli/tune-tf"},{"title":"tune.filter","href":"/cli/tune-filter"},{"title":"motion.build / motion.list","href":"/cli/motion-build"},{"title":"tune.repeatability","href":"/cli/tune-repeatability"}]}]},{"group":"Python API","pages":[{"title":"Core Concepts","href":"/api/concepts"},{"title":"almond_axol.robot","href":"/api/robot"},{"title":"almond_axol.kinematics","href":"/api/kinematics"},{"title":"almond_axol.teleop","href":"/api/teleop"},{"title":"almond_axol.vr","href":"/api/vr"},{"title":"almond_axol.zed","href":"/api/zed"},{"title":"almond_axol.motor","href":"/api/motor"},{"title":"almond_axol.lerobot","href":"/api/lerobot"},{"title":"almond_axol.policy","href":"/api/policy"},{"title":"Custom policy interface","href":"/api/policy-plan"}]}]}]},"basePath":"","title":"motor.set-config - Docs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}