Git Product home page Git Product logo

insectinspirednavigation_pi-lgmd's Introduction

An insect-inspired model facilitating autonomous navigation by incorporating goal approaching and collision avoidance

Sun, X., Fu, Q., Peng, J., & Yue, S. (2023). An insect-inspired model facilitating autonomous navigation by incorporating goal approaching and collision avoidance. Neural Networks, 165, 106-118.

1. Performance

two demos of agent's navigating in static and dynamic environment:

2. Files

project
│   README.md
|   demo1.gif
|   demo2.gif
│
└───simulations
|     models.py: implementation of the goal approaching - path integration model (Stone et.al 2017), the collision avoidance - LGMD model (Yue and Rind, 2006) etc.
|     agent.py: combine the PI and LGMD to have the autonomous navigation model
|     plotter.py: some functions for plotting
|     runner.py: run trails of simulations
|     navigation_run_with_visulization.py: run the simulation with dynamically updated animation
|     visualization: generate video of animation / display the results by stored data containing 
│   │
│   └───worlds:contains the data of the simulated 3D world consists of static/dynamic obstactles
│       └───3FoodS200_Random: randomly moving obstacles
│       └───3FoodS200_Trans: tanslationally moving obstacles
│   
└───results
    └───simulation_navigation
    └───simulation_navigation_lgmd_no_enhancement
    └───simulation_navigation_random_obs
    └───simulation_navigation_varied_contrast

3. Run simulation:

  • run the navigation_run_with_visulization.py in the simulations folder to run the simulation with corresponding visulization change the world you want to use by altering this line:
data_filename = '../results/simulation_navigation_random_obs/{}Obs_T1000/LGMD/1.mat'.format(num_obstacles)
  • run runner.py in the simulations folder to run several trials of experiments automatically:
if __name__ == "__main__":
    run_dynamic_lgmd_no_enhance(0, 15, range(6, 48, 6))

insectinspirednavigation_pi-lgmd's People

Contributors

xuelongsun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.