SciML / SciML/ModelingToolkitStandardLibrary.jl

Add a 2D rigid body component

Open
#92 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
171
Forks
49
Avg merge
15h 50m
Merged PRs (30d)
10

Description

This issue will focus on creating a 1D or 2D rigid body line or box. Said rigid body will initially be constructed in a 2D absolute reference frame / world environment. The component will at least possess the following parameters: s_start, s_end, w (initial angular velocity), a (initial angular acceleration), and m (mass) or rho (density). The parameters s_start and s_end are two points, and a vector will be drawn between them, thereby defining the spatial extents of our rigid body. This "two-point" vector implementation differs from Modelica's implementation of the same component. In the Modelica implementation, one point is used to define the position of the origin of a new frame of reference, and a second point is used to create a vector from the origin of this new frame. Having components possess their own reference frames in this way presents a series of advantages, but for now I will keep my implementation as simple as possible.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by locating existing component implementations and their tests, then determine how a 1D or 2D rigid body should represent s_start, s_end, w, a, and mass or density. Done means a working 2D absolute-frame rigid-body component with the stated parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.