STEDY

STEDY: Software for TEnsegrity DYnamics - Published in JOSS (2019)

https://github.com/isrlab/stedy

Science Score: 59.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: researchgate.net, joss.theoj.org, zenodo.org
  • Committers with academic emails
    2 of 6 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.3%) to scientific vocabulary
Last synced: 7 months ago · JSON representation

Repository

Software for Tensegrity Dynamics

Basic Info
  • Host: GitHub
  • Owner: isrlab
  • License: mpl-2.0
  • Language: MATLAB
  • Default Branch: master
  • Homepage:
  • Size: 12 MB
Statistics
  • Stars: 7
  • Watchers: 3
  • Forks: 4
  • Open Issues: 0
  • Releases: 2
Created over 7 years ago · Last pushed about 6 years ago
Metadata Files
Readme Contributing License

Docs/README.md

Latest release DOI DOI Documentation License: MPL 2.0

Summary

STEDY is a software package based on MATLAB to enable researchers to simulate dynamics of tensegrity structures. We have developed a Lagrangian formulation for deriving the algebraic differential equations governing the dynamics of classical tensegrity systems. The framework is general enough to allow modeling of general multi-body systems with actuated joints. Furthermore, with the help of the direct correction method that minimizes both geometric and energy constraint violations, errors that arise from numerical integration are corrected on the position and velocity levels, thereby improving simulation accuracy.

The software is aimed at researchers familiar with tensegrity structures, but can be adopted by users from other backgrounds as well. However, users are required to have a preliminary understanding of MATLAB's interface in order to make the best use of this package.

Dependencies

Documents

Installation:

  1. Download the STEDY folder from Github.

  2. Open MATLAB and make STEDY your working directory.

  3. Run setup.m.

In case an error message is displayed after Step 3, follow the instructions (collapsed) below. Go to Step 4, otherwise.

Click here.

  ```MATLAB
  Editing ode solver failed. Please edit ODE45m manually.
  ```
  *3b*. You will find a copy of *ode45* in your main folder called *ode45m*. Edit it to add the following line exactly in the position shown below. To clarify, in the context of ode45, constraint correction has been implemented only after ensuring that the weighted error (obtained after advancing one step) is no more than the tolerance *rtol*.
      **NOTE**: The user is required to add **ONLY** the line calling the ConstraintCorrection function to ode45m.

      ```matlab
      % Accept the solution only if the weighted error is no more than the
      % tolerance rtol.  Estimate an h that will yield an error of rtol on
      % the next step or the next try at taking this step, as the case may be,
      % and use 0.8 of this value to avoid failures.

      if err > rtol % Failed step
        ...

            if nofailed
              nofailed = false;
              if NNrejectStep
                absh = max(hmin, 0.5*absh);
              else
                absh = max(hmin, absh * max(0.1, 0.8*(rtol/err)^pow));
              end
            else
              absh = max(hmin, 0.5 * absh);
            end
            h = tdir * absh;
            done = false;

      else  % (Successful step)

          % ADD ONLY THE FOLLOWING LINE CALLING THE FUNCTION
          ynew = ConstraintCorrection(ynew,odeArgs{1},tnew);

            NNreset_f7 = false;
            if nonNegative && any(ynew(idxNonNegative)<0)

        ...
      end
      ```
*3c*. After editing, rename the function at the top to ode45m to avoid a warning.

      ```matlab
      function varargout = ode45m(ode,tspan,y0,options,varargin)
      ```

4. To avoid having to run setup.m everytime you run MATLAB, go to Set Path in the Home tab and add the corresponding location of stedy/Main to MATLAB's path.

Follow stedy's User Guide to get started.

References

  1. Shao-Chen Hsu, Vaishnav Tadiparthi and Raktim Bhattacharya, "A Lagrangian Formulation for Constrained Multibody Dynamics in Tensegrity Systems", Manuscript submitted for publication. Preprint available.

Owner

  • Name: Intelligent Systems Research Laboratory
  • Login: isrlab
  • Kind: organization
  • Email: raktim@tamu.edu
  • Location: Texas A&M University, College Station, TX, USA.

Welcome to the Intelligent Systems Research Laboratory at Texas A&M University.

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 120
  • Total Committers: 6
  • Avg Commits per committer: 20.0
  • Development Distribution Score (DDS): 0.133
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Vaishnav v****8@g****m 104
Vaishnav Tadiparthi V****v@m****u 6
Vaishnav Tadiparthi V****v@V****l 4
Shao-Chen Hsu a****u@g****m 3
Laboratory for Uncertainty Quantification r****m@t****u 2
Raktim Bhattacharya r****a@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 14
  • Total pull requests: 0
  • Average time to close issues: 9 days
  • Average time to close pull requests: N/A
  • Total issue authors: 3
  • Total pull request authors: 0
  • Average comments per issue: 3.64
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • apsabelhaus (7)
  • Kevin-Mattheus-Moerman (6)
  • alwaysqi1121 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels