Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including Other Parameters in Validator Inputs #217

Open
jcarpinelli-bdai opened this issue Aug 21, 2024 · 1 comment
Open

Including Other Parameters in Validator Inputs #217

jcarpinelli-bdai opened this issue Aug 21, 2024 · 1 comment

Comments

@jcarpinelli-bdai
Copy link

Is there any way to use other parameter values as inputs to custom validators? For example, say we have URDF and SRDF parameters, and we want to make sure they are consistent with one another in a custom validator.

robot_description_parameters:
  urdf: 
    type: string
  srdf:
    type: string
    validation:
      "robot_description_validators::srdf_compatible": [urdf]
@pac48
Copy link
Collaborator

pac48 commented Aug 30, 2024

This would be a nice feature to have. It is not currently supported. I'd welcome a contribution if anyone has the time. I can not look into it in the short term. This would require changes to the code generator parser, syntax checking, and validation calls.

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

No branches or pull requests

2 participants