Skip to content

[constraint] Refactoring - #350

Open
EulalieCoevoet wants to merge 18 commits into
SofaDefrost:masterfrom
EulalieCoevoet:pr_refactoringconstraints
Open

[constraint] Refactoring#350
EulalieCoevoet wants to merge 18 commits into
SofaDefrost:masterfrom
EulalieCoevoet:pr_refactoringconstraints

Conversation

@EulalieCoevoet

@EulalieCoevoet EulalieCoevoet commented Aug 10, 2026

Copy link
Copy Markdown
Member

In this PR, for the constraints:

  • add binding, getter and setter to SoftRobotsBaseConstraint
  • refactoring:
    • d_delta and d_lambda in SoftRobotsBaseConstraint instead of redefining them in each constraint (set to deprecated). Also added a method to rename the data if needed (e.g. pressure instead of force).
    • add to SoftRobotsBaseConstraint a method to resize the constraint vectors (default size is 1)
    • d_delta and d_lambda are readOnly and in group Output
  • change some components description

Comment thread src/SoftRobots/component/behavior/SoftRobotsBaseConstraint.h Outdated
@EulalieCoevoet
EulalieCoevoet marked this pull request as ready for review August 17, 2026 09:01
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