https://github.com/ami-iit/mystica
mystica is a Matlab library for simulating multi-body robots relying on a maximal coordinate approach
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.4%) to scientific vocabulary
Keywords
Repository
mystica is a Matlab library for simulating multi-body robots relying on a maximal coordinate approach
Basic Info
Statistics
- Stars: 10
- Watchers: 8
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
mystica
Multi bodY SimulaTor maxImal CoordinAtes
mystica is a MATLAB library to simulate the kinematics and dynamics of multibody systems. mystica computes the system evolution by modeling the problem using a state definition that we define maximal. The maximal representation consists of a set of non-minimum variables 𝐪 complemented by the holonomic constraint g(𝐪) = 0.
:warning: REPOSITORY UNDER DEVELOPMENT :warning:
The libraries implemented in this repository are still experimental, and we cannot guarantee a stable API.
Table of Contents
- :hammer: Dependencies
- :floppy_disk: Installation
- :rocket: Usage
- :gear: Contributing
- Citing this work
- Maintainer
:hammer: Dependencies
MATLABMATLAB Curve Fitting Toolboxfor thesmoothfunction- A MATLAB supported compiler for MEX-file compilation
Other requisites are:
Both CasADi and yamlmatlab are downloaded and configured in the Installation section.
:floppy_disk: Installation
- Clone the repo:
cmd
git clone https://github.com/ami-iit/mystica.git
cd mystica
- Run the
install()function in MATLAB.
matlab
install()
The install() function downloads mambaforge. mambaforge is a package manager that downloads and configures our dependencies in a conda environment called mystica.
If you already have
If you already have mambaforgemambaforge configured, you can call the install() function by defining the mambaforgeprefix value:
install('mambaforgeprefix',<your mambaforge path prefix>)
⚠️ Known issue
For some versions of Ubuntu and MATLAB, MATLAB is not able to load the required libraries like CasADi (see issue). A possible workaround is to launch matlab with LDPRELOAD:
```
LDPRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 matlab
```
:rocket: Usage
Before every usage, remember to run the autogenerated MATLAB file called deps/setup.m to set up the MATLABPATH.
Alternatively, you can launch MATLAB from the terminal after activating the conda environment called mystica:
cmd
conda activate mystica
matlab
Here's a snippet of code to simulate the kinematics of a 4-bar linkage mechanism:
matlab
model = mystica.model.getModel4BarLinkage();
stgs = mystica.stgs.getDefaultSettingsSimKinRel(model);
data = mystica.runSimKinRel('model', model, 'stgs', stgs, 'mBodyPosQuat_0', model.getMBodyPosQuatRestConfiguration, 'nameControllerClass', 'mystica.controller.ExampleKinRel');
mystica.viz.visualizeKinRel('model', model, 'data', data, 'stgs', stgs)
Other examples can be found in the examples directory.
If you want to delve deeper into the code, we have prepared this document as an entry point to explain and describe our variables.
:gear: Contributing
mystica is an open-source project, and is thus built with your contributions. We strongly encourage you to open an issue with your feature request. Once the issue has been opened, you can also proceed with a pull-request. :rocket:
Citing this work
If you find the work useful, please consider citing:
bibtex
@ARTICLE{9793615,
author={Bergonti, Fabio and Nava, Gabriele and Fiorio, Luca and L’Erario, Giuseppe and Pucci, Daniele},
journal={IEEE Transactions on Robotics},
title={Modeling and Control of Morphing Covers for the Adaptive Morphology of Humanoid Robots},
year={2022},
volume={38},
number={5},
pages={3300-3313},
doi={10.1109/TRO.2022.3170281}}
Maintainer
This repository is maintained by:
| | |
|:---:|:---:|
|
| @FabioBergonti |
Owner
- Name: Artificial and Mechanical Intelligence
- Login: ami-iit
- Kind: organization
- Location: Italy
- Website: https://ami.iit.it/
- Repositories: 111
- Profile: https://github.com/ami-iit
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Fabio Bergonti | 3****i | 32 |
| Daniele Pucci | d****5@g****m | 1 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 1
- Total pull requests: 17
- Average time to close issues: less than a minute
- Average time to close pull requests: 29 days
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.82
- Merged pull requests: 17
- 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
- FabioBergonti (1)
Pull Request Authors
- FabioBergonti (17)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v2 composite
- matlab-actions/run-command v1 composite
- matlab-actions/setup-matlab v1 composite