Skip to content

Bundle the default configuration for OpenArm Cell#4

Closed
kou wants to merge 1 commit into
enactic:mainfrom
kou:add-default-configuration
Closed

Bundle the default configuration for OpenArm Cell#4
kou wants to merge 1 commit into
enactic:mainfrom
kou:add-default-configuration

Conversation

@kou
Copy link
Copy Markdown
Contributor

@kou kou commented May 8, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 8, 2026 03:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bundles a default OpenArm “cell” configuration YAML into the dora_openarm Python package and updates the CLI entrypoint to use that bundled config by default.

Changes:

  • Added src/dora_openarm/openarm_cell.yaml as the default OpenArm driver configuration.
  • Updated dora_openarm.main:main to default --config to the packaged YAML location.
  • Configured setuptools to include *.yaml files as package data in distributions.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/dora_openarm/openarm_cell.yaml Adds a bundled default OpenArm configuration YAML.
src/dora_openarm/main.py Points the CLI’s default --config at the bundled YAML.
pyproject.toml Ensures YAML files are included in the built package as data files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/dora_openarm/main.py
parser.add_argument(
"--config",
default="openarm_cell.yaml",
default=f"{base_dir}/openarm_cell.yaml",
Comment thread src/dora_openarm/main.py
Comment on lines 79 to 89
@@ -84,7 +85,7 @@ def main():
)
parser.add_argument(
"--config",
default="openarm_cell.yaml",
default=f"{base_dir}/openarm_cell.yaml",
help="The configuration file for this OpenArm",
Comment on lines +65 to +69
# IF using POS_FORCE gripper, set to "POS_FORCE"
# If POS_FORCE mode is used, you can set force limits here. and control gains will be ignored.
# If MIT mode is used, control gains will be applied.
gripper_posforce: true
# This value will be used only if gripper_control_mode is "POS_FORCE"
@kou
Copy link
Copy Markdown
Contributor Author

kou commented May 8, 2026

We don't need this. openarm_driver provides the default configuration file.

@kou kou closed this May 8, 2026
@kou kou deleted the add-default-configuration branch May 8, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants