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

Enable definition of constraints from a 6-DOF (base) node to a 3-DOF (target) node #327

Merged
merged 62 commits into from
Jan 17, 2025

Conversation

faisal-bhuiyan
Copy link
Collaborator

@faisal-bhuiyan faisal-bhuiyan commented Dec 30, 2024

Provides an implementation for this. Also implements the heavy top test.

@faisal-bhuiyan faisal-bhuiyan self-assigned this Dec 30, 2024
@faisal-bhuiyan faisal-bhuiyan changed the title Implement rigid constraint definition from a 6-DOF (base) node to a 3-DOF (target) node Enable definition of rigid constraints from a 6-DOF (base) node to a 3-DOF (target) node Dec 30, 2024
…s kernels + refactors throughout to use if blocks instead of switch blocks for clean code
… adding cases for PrescribedBC, RigidJoint, and RevoluteJoint
…uld not need a specific type of constraint to achieve what we need
…ic in CalculatePrescribedBCConstraint & CalculateRigidJointConstraint functors
@faisal-bhuiyan faisal-bhuiyan marked this pull request as ready for review January 17, 2025 01:55
@faisal-bhuiyan faisal-bhuiyan added enhancement New feature or request code-refactoring Refactoring code to improve readability, maintainability, efficiency etc. labels Jan 17, 2025
@faisal-bhuiyan faisal-bhuiyan changed the title Enable definition of rigid constraints from a 6-DOF (base) node to a 3-DOF (target) node Enable definition of constraints from a 6-DOF (base) node to a 3-DOF (target) node Jan 17, 2025
src/model/copy_nodes_to_state.hpp Outdated Show resolved Hide resolved
src/model/copy_nodes_to_state.hpp Outdated Show resolved Hide resolved
src/model/copy_nodes_to_state.hpp Outdated Show resolved Hide resolved
src/model/model.hpp Show resolved Hide resolved
src/constraints/constraints.hpp Show resolved Hide resolved
Copy link
Collaborator

@ddement ddement left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you make the changes I note, everything will run pass on GPU

src/constraints/constraint_type.hpp Outdated Show resolved Hide resolved
src/constraints/constraint_type.hpp Outdated Show resolved Hide resolved
@faisal-bhuiyan faisal-bhuiyan merged commit 9d6c18b into main Jan 17, 2025
17 checks passed
@faisal-bhuiyan faisal-bhuiyan deleted the 6-to-3-dof-rigid-constraint branch January 17, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-refactoring Refactoring code to improve readability, maintainability, efficiency etc. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants