Skip to content

Improve validation of arm_type#67

Merged
kou merged 1 commit into
enactic:mainfrom
abetomo:improve-validation-of-arm_type
Jun 17, 2026
Merged

Improve validation of arm_type#67
kou merged 1 commit into
enactic:mainfrom
abetomo:improve-validation-of-arm_type

Conversation

@abetomo

@abetomo abetomo commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

GitHub: fixes GH-66

The launch script accepts several values.
https://docs.openarm.dev/api-reference/description#supported-robot-versions
Improve the xacro file checks to allow for these.

Since v10 was always passed downstream, it will be passed as a fixed value.

Thanks for the report, sotanakamura!!!

GitHub: fixes enacticGH-66

The launch script accepts several values.
https://docs.openarm.dev/api-reference/description#supported-robot-versions
Improve the xacro file checks to allow for these.

Since `v10` was always passed downstream, it will be passed as a fixed value.

Thanks for the report, sotanakamura!!!
Copilot AI review requested due to automatic review settings June 17, 2026 03:40

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the OpenArm v1.0 Xacro entrypoint to accept the same arm_type aliases supported by the launch scripts/docs (GH-66), while ensuring the internal model still uses the fixed downstream arm_type value (v10) that the v1.0 URDF expects.

Changes:

  • Broaden arm_type validation in the v1.0 Xacro to accept multiple v1.0/v10 aliases.
  • Improve the validation error message to list accepted values and include the received value.
  • Pass a fixed arm_type="v10" into the underlying openarm_robot macro.

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

@kou kou merged commit 7d39852 into enactic:main Jun 17, 2026
6 checks passed
@abetomo abetomo deleted the improve-validation-of-arm_type branch June 17, 2026 04:40
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.

Only accept arm_type:=v10 even though openarm_v1.0 is required in a launch file

3 participants