flybody
MuJoCo fruit fly body model and locomotion RL tasks
File Explorer
Download Latest Version (.zip)- lint.yml
- pytest.yml
- pyversions.yml
- tf-test.yml
- controller-reuse-vision-flight.ipynb
- fly-env-examples.ipynb
- fly-on-ball-minimal.ipynb
- getting-started.ipynb
- sensory-input-tracking.ipynb
- __init__.py
- actors.py
- agent_dmpo.py
- counting.py
- learning_dmpo.py
- losses_mpo.py
- network_factory.py
- network_factory_vis.py
- ray_distributed_dmpo.py
- remote_as_local_wrapper.py
- utils_ray.py
- utils_tf.py
- drosophila.blend
- abdomen_1_body.obj
- abdomen_1_lower.obj
- abdomen_2_body.obj
- abdomen_2_lower.obj
- abdomen_3_body.obj
- abdomen_3_lower.obj
- abdomen_4_body.obj
- abdomen_4_lower.obj
- abdomen_5_body.obj
- abdomen_5_lower.obj
- abdomen_6_body.obj
- abdomen_6_lower.obj
- abdomen_7_body.obj
- abdomen_7_lower.obj
- abdomen_8_body.obj
- antenna_left_black.obj
- antenna_left_body.obj
- antenna_right_black.obj
- antenna_right_body.obj
- coxa_T1_left_body.obj
- coxa_T1_right_body.obj
- coxa_T2_left_body.obj
- coxa_T2_right_body.obj
- coxa_T3_left_body.obj
- coxa_T3_right_body.obj
- femur_T1_left_body.obj
- femur_T1_right_body.obj
- femur_T2_left_body.obj
- femur_T2_right_body.obj
- femur_T3_left_body.obj
- femur_T3_right_body.obj
- floor.xml
- fruitfly.xml
- haltere_left_body.obj
- haltere_right_body.obj
- haustellum_black.obj
- haustellum_body.obj
- head_black.obj
- head_body.obj
- head_ocelli.obj
- head_red.obj
- labrum_left_lower.obj
- labrum_right_lower.obj
- rostrum_body.obj
- rostrum_bristle-brown.obj
- tarsal_claw_T1_left_brown.obj
- tarsal_claw_T1_right_brown.obj
- tarsal_claw_T2_left_brown.obj
- tarsal_claw_T2_right_brown.obj
- tarsal_claw_T3_left_brown.obj
- tarsal_claw_T3_right_brown.obj
- tarsus_T1_1_left_body.obj
- tarsus_T1_1_right_body.obj
- tarsus_T1_2_left_body.obj
- tarsus_T1_2_right_body.obj
- tarsus_T1_3_left_body.obj
- tarsus_T1_3_right_body.obj
- tarsus_T1_4_left_body.obj
- tarsus_T1_4_right_body.obj
- tarsus_T2_1_left_body.obj
- tarsus_T2_1_right_body.obj
- tarsus_T2_2_left_body.obj
- tarsus_T2_2_right_body.obj
- tarsus_T2_3_left_body.obj
- tarsus_T2_3_right_body.obj
- tarsus_T2_4_left_body.obj
- tarsus_T2_4_right_body.obj
- tarsus_T3_1_left_body.obj
- tarsus_T3_1_right_body.obj
- tarsus_T3_2_left_body.obj
- tarsus_T3_2_right_body.obj
- tarsus_T3_3_left_body.obj
- tarsus_T3_3_right_body.obj
- tarsus_T3_4_left_body.obj
- tarsus_T3_4_right_body.obj
- thorax_black.obj
- thorax_body.obj
- tibia_T1_left_body.obj
- tibia_T1_right_body.obj
- tibia_T2_left_body.obj
- tibia_T2_right_body.obj
- tibia_T3_left_body.obj
- tibia_T3_right_body.obj
- wing_left_brown.obj
- wing_left_membrane.obj
- wing_right_brown.obj
- wing_right_membrane.obj
- abdomen_1_body.msh
- abdomen_1_lower.msh
- abdomen_2_body.msh
- abdomen_2_lower.msh
- abdomen_3_body.msh
- abdomen_3_lower.msh
- abdomen_4_body.msh
- abdomen_4_lower.msh
- abdomen_5_body.msh
- abdomen_5_lower.msh
- abdomen_6_body.msh
- abdomen_6_lower.msh
- abdomen_7_body.msh
- abdomen_7_lower.msh
- abdomen_8_body.msh
- antenna_left_black.msh
- antenna_left_body.msh
- antenna_right_black.msh
- antenna_right_body.msh
- coxa_T1_left_body.msh
- coxa_T1_right_body.msh
- coxa_T2_left_body.msh
- coxa_T2_right_body.msh
- coxa_T3_left_body.msh
- coxa_T3_right_body.msh
- drosophila.xml
- drosophila_defaults.xml
- drosophila_fused.xml
- femur_T1_left_body.msh
- femur_T1_right_body.msh
- femur_T2_left_body.msh
- femur_T2_right_body.msh
- femur_T3_left_body.msh
- femur_T3_right_body.msh
- haltere_left_body.msh
- haltere_right_body.msh
- haustellum_black.msh
- haustellum_body.msh
- head_black.msh
- head_body.msh
- head_ocelli.msh
- head_red.msh
- labrum_left_lower.msh
- labrum_right_lower.msh
- rostrum_body.msh
- rostrum_bristle-brown.msh
- tarsal_claw_T1_left_brown.msh
- tarsal_claw_T1_right_brown.msh
- tarsal_claw_T2_left_brown.msh
- tarsal_claw_T2_right_brown.msh
- tarsal_claw_T3_left_brown.msh
- tarsal_claw_T3_right_brown.msh
- tarsus_T1_1_left_body.msh
- tarsus_T1_1_right_body.msh
- tarsus_T1_2_left_body.msh
- tarsus_T1_2_right_body.msh
- tarsus_T1_3_left_body.msh
- tarsus_T1_3_right_body.msh
- tarsus_T1_4_left_body.msh
- tarsus_T1_4_right_body.msh
- tarsus_T2_1_left_body.msh
- tarsus_T2_1_right_body.msh
- tarsus_T2_2_left_body.msh
- tarsus_T2_2_right_body.msh
- tarsus_T2_3_left_body.msh
- tarsus_T2_3_right_body.msh
- tarsus_T2_4_left_body.msh
- tarsus_T2_4_right_body.msh
- tarsus_T3_1_left_body.msh
- tarsus_T3_1_right_body.msh
- tarsus_T3_2_left_body.msh
- tarsus_T3_2_right_body.msh
- tarsus_T3_3_left_body.msh
- tarsus_T3_3_right_body.msh
- tarsus_T3_4_left_body.msh
- tarsus_T3_4_right_body.msh
- thorax_black.msh
- thorax_body.msh
- tibia_T1_left_body.msh
- tibia_T1_right_body.msh
- tibia_T2_left_body.msh
- tibia_T2_right_body.msh
- tibia_T3_left_body.msh
- tibia_T3_right_body.msh
- wing_left_brown.msh
- wing_left_membrane.msh
- wing_right_brown.msh
- wing_right_membrane.msh
- add_flyid_labels.py
- floor.xml
- fruitfly.xml
- fuse_fruitfly.py
- make_fruitfly.py
- README.md
- __init__.py
- fruitfly.py
- __init__.py
- ball.py
- hills.py
- __init__.py
- base.py
- constants.py
- flight_imitation.py
- pattern_generators.py
- rewards.py
- synthetic_trajectories.py
- task_utils.py
- template_task.py
- trajectory_loaders.py
- vision_flight.py
- walk_imitation.py
- walk_on_ball.py
- __init__.py
- download_data.py
- ellipsoid_fluid_model.py
- fly_envs.py
- inverse_kinematics.py
- loggers.py
- quaternions.py
- train_dmpo_ray.py
- utils.py
- __init__.py
- common.py
- test-tf.py
- test_core.py
- test_flybare.py
- test_flywalker.py
- test_walking_env.py
- .gitignore
- fly-white.png
- LICENSE
- pyproject.toml
- README.md
# Installation Guide
git clone https://github.com/TuragaLab/flybody
Downloads the entire project code from GitHub to your computer.
cd flybody
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install git+https://github.com/TuragaLab/flybody.git
Installs the package published on PyPI directly β no need to clone the source.
pip install "flybody[tf] @ git+https://github.com/TuragaLab/flybody.git"
Installs the package published on PyPI directly β no need to clone the source.
pip install "flybody[ray] @ git+https://github.com/TuragaLab/flybody.git"
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. Python
Easyconda create --name flybody -c conda-forge python=3.10 pip ipython cudatoolkit=11.8.0
Runs the Python script (or module).
pip install -e .
Installs the Python libraries listed in requirements.txt (or similar).
pip install -e .[tf]
Installs the Python libraries listed in requirements.txt (or similar).
pip install -e .[ray]
Installs the Python libraries listed in requirements.txt (or similar).
pip install git+https://github.com/TuragaLab/flybody.git
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
