Skip to content

fix(description): show all accepted arm_type values in error#73

Merged
kou merged 1 commit into
enactic:mainfrom
Bartok9:fix/arm-type-error-lists-valid
Jul 14, 2026
Merged

fix(description): show all accepted arm_type values in error#73
kou merged 1 commit into
enactic:mainfrom
Bartok9:fix/arm-type-error-lists-valid

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Split from #71 as requested by @kou (thanks for the review!).

This PR does one thing: when an invalid arm_type is supplied, the error now lists every accepted value derived from VALID_ARM_TYPES instead of hardcoding openarm_v1.0 or openarm_v2.0. This keeps the message correct automatically as new arm types are added.

Companion to the URDF-cleanup split in the sibling PR.

When an invalid arm_type is given, list every accepted value derived from
VALID_ARM_TYPES instead of hardcoding two names, so the error stays correct
as new arm types are added.
@kou
kou merged commit 6c7b720 into enactic:main Jul 14, 2026
5 checks passed
@kou

kou commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Thanks.

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