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

Subconstraint implementation #69

Open
EnricoMingo opened this issue Jan 29, 2022 · 2 comments
Open

Subconstraint implementation #69

EnricoMingo opened this issue Jan 29, 2022 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@EnricoMingo
Copy link
Contributor

I am trying to add this feature in CartesI/O based on the sub_constraint branch of OpenSoT, however, I am finding some problems understanding the flow during stack construction so I am not sure I have implemented correctly all the interfaces. In particular, I can not find where the YAML is parsed. @alaurenzi could you check the sub_constraint branch of CartesianInterface and give me some pointers?

@EnricoMingo EnricoMingo added the help wanted Extra attention is needed label Jan 29, 2022
@alaurenzi
Copy link
Contributor

It should not require much code writing, as in Cartesio a constraint is essentially the same as a Task (and therefore it already contains the indices property and is compatible with the Subtask type).

Most of the work should be about upgrading OpenSotConstraintAdapter to support the concept of OpenSoT::SubConstraint (mostly replicating the logic inside OpenSotTaskAdapter)

@EnricoMingo
Copy link
Contributor Author

I think then I took the wrong path since I have tried to replicate the same files as for the Subtask (both in the OpenSoT implementation and base classes)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants