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

Add IIT SoftFoot model #130

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions iit_softfoot/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright (c) 2024, Istituto Italiano di Tecnologia

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
64 changes: 64 additions & 0 deletions iit_softfoot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# IIT SoftFoot Description (MJCF)

Requires MuJoCo 3.2.0 or later.

## Overview

This package is a reproduction of the simplified robot description (MJCF) developed by the by [IIT Soft Robotics for Human Cooperation and Rehabilitation group](https://softbots.iit.it/) for the [Natural Machine Motion Initiative (NMMI)](https://www.naturalmachinemotioninitiative.com/), originally available from the [NMMI repository](https://github.com/NMMI/SoftFoot_MuJoCo). The MJCF and assets are provided under a [BSD-3-Clause License](LICENSE). For more information on the SoftFoot, see the following references:

- [Piazza, C., Della Santina, C., Grioli, G., Bicchi, A. and Catalano, M.G., 2024. Analytical Model and Experimental Testing of the SoftFoot: An Adaptive Robot Foot for Walking Over Obstacles and Irregular Terrains. IEEE Transactions on Robotics.](https://www.doi.org/10.1109/TRO.2024.3415237)
- [Crotti, M., Rossini, L., Pace, A., Grioli, G., Bicchi, A. and Catalano, M.G., 2024. Soft Adaptive Feet for Legged Robots: An Open-Source Model for Locomotion Simulation. arXiv preprint arXiv:2412.03191.](https://arxiv.org/abs/2412.03191)

<p float="left">
<img src="softfoot.png" width="400">
</p>

## Usage

The SoftFoot model is intended to be attached as an end effector to a legged robot. This can be achieved through several methods:
- Using the `<attach/>` element in the robot MJCF, and referencing the `attachment_cube` body from the softfoot MJCF. The provided example `scene.xml` uses this method.
- Procedurally attaching it through [`mjSpec`](https://mujoco.readthedocs.io/en/stable/programming/modeledit.html).
- Adding the SoftFoot to the MJCF through the [`mjcf` python module](https://github.com/google-deepmind/dm_control/tree/main/dm_control/mjcf).


## License

This model is released under an [BSD-3-Clause License](LICENSE).


## Publications

If you use this work in an academic context, please cite the following publications:

> Crotti, M., Rossini, L., Hodossy, K. B., Pace, A., Grioli, G., Bicchi, A. and Catalano, M. G.,
> **"Soft Adaptive Feet for Legged Robots: An Open-Source Model for Locomotion Simulation“**,
> in arXiv preprint arXiv:2412.03191, 2024. ([DOI](https://doi.org/10.48550/arXiv.2412.03191))

@article{anymal2017,
title={Soft Adaptive Feet for Legged Robots: An Open-Source Model for Locomotion Simulation},
author={Crotti, Matteo and Rossini, Luca and Hodossy, K. Balint and Pace, Anna and Grioli, Giorgio and Bicchi, Antonio and and Catalano, Manuel G.},
journal={arXiv},
volume={},
number={},
pages={},
year={2024},
publisher={}
doi = {https://doi.org/10.48550/arXiv.2412.03191}
}

> Piazza, C., Della Santina, C., Grioli, G., Bicchi, A. and Catalano, M. G.,
> **"Analytical Model and Experimental Testing of the SoftFoot: An Adaptive Robot Foot for Walking Over Obstacles and Irregular Terrains“**,
> in IEEE Transactions on Robotics, 2024. ([DOI](https://www.doi.org/10.1109/TRO.2024.3415237))

@article{softfoot2024,
author={Piazza, Cristina and Santina, Cosimo Della and Grioli, Giorgio and Bicchi, Antonio and Catalano, Manuel G.},
journal={IEEE Transactions on Robotics},
title={Analytical Model and Experimental Testing of the SoftFoot: An Adaptive Robot Foot for Walking Over Obstacles and Irregular Terrains},
year={2024},
volume={40},
number={},
pages={3290-3305},
keywords={Foot;Robots;Legged locomotion;Stability analysis;Robot kinematics;Shape;Humanoid robots;Adaptive foot;humanoid robots;soft robots},
doi={10.1109/TRO.2024.3415237}
}

Binary file added iit_softfoot/meshes/cube_connection_back.stl
Binary file not shown.
Binary file added iit_softfoot/meshes/cube_connection_frontal.stl
Binary file not shown.
Binary file added iit_softfoot/meshes/phalanx_distal_dito.stl
Binary file not shown.
Binary file added iit_softfoot/meshes/phalanx_distal_injection.stl
Binary file not shown.
Binary file added iit_softfoot/meshes/phalanx_inv.stl
Binary file not shown.
Binary file added iit_softfoot/meshes/phalanx_short_injection.stl
Binary file not shown.
Binary file added iit_softfoot/meshes/phalanx_short_injection2.stl
Binary file not shown.
Binary file added iit_softfoot/meshes/phlalanx_inv_bijoint.stl
Binary file not shown.
Binary file not shown.
Binary file added iit_softfoot/meshes/tacco.stl
Binary file not shown.
33 changes: 33 additions & 0 deletions iit_softfoot/scene.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<mujoco model="softfoot scene">
<!-- This example scene attaches to a foot to a simple loading test rig, demonstrating the foot's
compliance against an obstacle.-->

<statistic center="0 0 0.55" extent="1.1"/>

<visual>
<headlight diffuse="0.6 0.6 0.6" ambient="0.3 0.3 0.3" specular="0 0 0"/>
<rgba haze="0.15 0.25 0.35 1"/>
<global azimuth="150" elevation="-20"/>
</visual>

<asset>
<texture type="skybox" builtin="gradient" rgb1="0.3 0.5 0.7" rgb2="0 0 0" width="512" height="3072"/>
<texture type="2d" name="groundplane" builtin="checker" mark="edge" rgb1="0.2 0.3 0.4" rgb2="0.1 0.2 0.3"
markrgb="0.8 0.8 0.8" width="300" height="300"/>
<material name="groundplane" texture="groundplane" texuniform="true" texrepeat="5 5" reflectance="0.2"/>
<model name="softfoot_model" file="softfoot.xml"/>
</asset>

<worldbody>
<light pos="0 0 3" dir="0 0 -1" directional="false"/>
<geom name="floor" size="0 0 .125" type="plane" material="groundplane" conaffinity="15" condim="3"/>
<body name="sf_origin" pos="0 0 0.2">
<joint name="load" type="slide" damping="100" axis="0 0 -1"/>
<attach model="softfoot_model" body="attachment_cube" prefix="sf_"/>
</body>
<geom type="cylinder" euler="90 0 0" rgba="0.8 0.7 0.2 1" size="0.025 0.1"/>
</worldbody>
<actuator>
<position joint="load" kp="1000" ctrllimited="true" ctrlrange="0 0.3"/>
</actuator>
</mujoco>
Binary file added iit_softfoot/softfoot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading