Skip to content

First working components #8

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

Merged
merged 41 commits into from
Apr 19, 2023
Merged

First working components #8

merged 41 commits into from
Apr 19, 2023

Conversation

baggepinnen
Copy link
Contributor

@baggepinnen baggepinnen commented Apr 18, 2023

This PR adds the components

  • Frame
  • world
  • Body
  • Spring
  • Revolute

along with supporting internal components in order to simulate the first very basic systems, such as

  • Rotary pendulum with damping from MTK standard lib
  • Mass-spring oscillator

This PR depends on

Current limitations

Currently, the World component is a hard-coded constant. This component is required for all models, and a new model-compiler pass that propagates the world component to all other components is required to run before the standard MTK passes. Some equations in multibody components refer to the world component, we need to figure out a way to defer the definition of these equations until the world component is known.

@baggepinnen baggepinnen mentioned this pull request Apr 18, 2023
@baggepinnen baggepinnen merged commit f4a489d into main Apr 19, 2023
@baggepinnen baggepinnen deleted the reproducer branch April 19, 2023 12:21
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.

1 participant