Skip to content

Commit 2367daa

Browse files
authored
Merge pull request #100 from NeLy-EPFL/develop
Merge v0.2.4
2 parents 25b7dbf + f2b9c66 commit 2367daa

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
lines changed

doc/source/changelog.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Change Log
22
==========
33

4+
* **0.2.4:** Set MuJoCo version to 2.3.7. Documentation updates.
5+
* **0.2.3:** Various bug fixes. Improved placement of the spherical treadmill in the tethered environment.
6+
* **0.2.2:** Changed default joint kp and adhesion forces to those used in the controller comparison task. Various minor bug fixes. Documentation updates.
7+
* **0.2.1:** Simplified class names: ``NeuroMechFlyMuJoCo`` → ``NeuroMechFly``, ``MuJoCoParameters`` → ``Parameters``. Minor documentation updates.
48
* **0.2.0:** The current base version — major API change from 0.1.x.
59
* **0.1.x** The version used during the development of NeuroMechFly 2.0.
6-
* **Unversioned:** Version used for the Spring 2023 offering of BIOENG-456 Controlling Behavior in Animals and Robots course at EPFL.
10+
* **Unversioned:** Version used for the Spring 2023 offering of BIOENG-456 Controlling Behavior in Animals and Robots course at EPFL.

doc/source/index.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ Simulating embodied sensorimotor control with NeuroMechFly 2.0
2525
:width: 400
2626
:alt: Overview video
2727
28-
.. note::
29-
30-
FlyGym is still in beta; the API is subject to change.
31-
We will add further examples and documentation in the coming weeks. Stay tuned!
32-
--- 21 September 2023
3328
3429
FlyGym is the Python library for NeuroMechFly 2.0, a digital twin of the adult fruit fly *Drosophila melanogaster* that can see, smell, walk over challenging terrain, and interact with the environment (see our `NeuroMechFly 2.0 paper <https://www.biorxiv.org/content/10.1101/2023.09.18.556649>`_).
3530

@@ -56,15 +51,8 @@ If you use FlyGym or NeuroMechFly in your research, please cite the following tw
5651

5752
.. code-block:: bibtex
5853
59-
@article{WangChen2023,
60-
author = {Sibo Wang-Chen and Victor Alfred Stimpfling and Pembe Gizem \"{O}zdil and Louise Genoud and Femke Hurtak and Pavan Ramdya},
61-
title = {NeuroMechFly 2.0, a framework for simulating embodied sensorimotor control in adult Drosophila},
62-
year = {2023},
63-
doi = {10.1101/2023.09.18.556649},
64-
URL = {https://www.biorxiv.org/content/10.1101/2023.09.18.556649},
65-
journal = {bioRxiv}
66-
}
67-
54+
% Original NeuroMechFly: Original biomechanical model, kinematic replay, CPG-based
55+
% neural controller, PyBullet version, DoF analysis, perturbation tests
6856
@article{LobatoRios2022,
6957
doi = {10.1038/s41592-022-01466-7},
7058
url = {https://doi.org/10.1038/s41592-022-01466-7},
@@ -77,3 +65,15 @@ If you use FlyGym or NeuroMechFly in your research, please cite the following tw
7765
title = {{NeuroMechFly}, a neuromechanical model of adult {Drosophila} melanogaster},
7866
journal = {Nature Methods}
7967
}
68+
69+
% NeuroMechFly 2.0: This library, MuJoCo version, leg adhesion, rule-based controller,
70+
% hybrid controller, complex terrain, preprogrammed steps, leg adhesion, vision,
71+
% olfaction, RL-based navigation, Gym environment, updated biomechanical model
72+
@article{WangChen2023,
73+
author = {Sibo Wang-Chen and Victor Alfred Stimpfling and Pembe Gizem \"{O}zdil and Louise Genoud and Femke Hurtak and Pavan Ramdya},
74+
title = {NeuroMechFly 2.0, a framework for simulating embodied sensorimotor control in adult Drosophila},
75+
year = {2023},
76+
doi = {10.1101/2023.09.18.556649},
77+
URL = {https://www.biorxiv.org/content/10.1101/2023.09.18.556649},
78+
journal = {bioRxiv}
79+
}

doc/source/tutorials/index.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
Tutorials
22
=========
33

4-
.. note::
5-
We will add more tutorials soon. In the meantime, please refer to the `API reference <../api_ref/index.html>`_ and our `paper <https://www.biorxiv.org/content/10.1101/2023.09.18.556649>`_, which describes in detail the experiments that we have performed.
6-
74
.. toctree::
85
:maxdepth: 2
96

@@ -13,4 +10,4 @@ Tutorials
1310
hybrid_controller
1411
turning
1512
vision
16-
olfaction
13+
olfaction

doc/source/tutorials/rule_based_controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mechanism like the CPG.
1111

1212
.. code:: bash
1313
14-
pip install -e "flygym[tutorials]"
14+
pip install networkx
1515
1616
1717
Previously, we have covered how a centralized network of oscillators

flygym/mujoco/arena/sensory_environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class OdorArena(BaseArena):
4343
Parameters
4444
----------
4545
size : Tuple[float, float], optional
46-
The size of the arena in mm, by default (50, 50).
46+
The size of the arena in mm, by default (300, 300).
4747
friction : Tuple[float, float, float], optional
4848
The sliding, torsional, and rolling friction coefficients of the
4949
ground, by default (1, 0.005, 0.0001).

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="flygym",
6-
version="0.2.3",
6+
version="0.2.4",
77
author="Neuroengineering Laboratory, EPFL",
88
author_email="[email protected]",
99
description="Gym environments for NeuroMechFly in various physics simulators",
@@ -28,7 +28,7 @@
2828
"tqdm",
2929
],
3030
extras_require={
31-
"mujoco": ["mujoco", "dm_control", "numba", "opencv-python"],
31+
"mujoco": ["mujoco>=2.3.0,<3.0.0", "dm_control", "numba", "opencv-python"],
3232
"pybullet": ["pybullet"],
3333
"dev": [
3434
"sphinx",
@@ -42,7 +42,6 @@
4242
"rasterio",
4343
"requests",
4444
],
45-
"tutorials": ["networkx"],
4645
},
4746
url="https://neuromechfly.org/",
4847
long_description=open("README.md").read(),

0 commit comments

Comments
 (0)