RSNN
This repository uses a reward-modulated Spiking Neural Network to achieve self-organized, decentralized collision avoidance for drone swarm.
Install / Use
/learn @Brain-Cog-Lab/RSNNREADME
Reward-modulated Spiking Neural Network for Self-organizing Collision Avoidance of Drone Swarm
This repository contains code from our paper [Nature-inspired Self-organizing Collision Avoidance for Drones Swarm Based on Reward-modulated Spiking Neural Network] published in Cell Patterns. https://www.cell.com/patterns/fulltext/S2666-3899(22)00236-7
We also provide the BrainCog-based version: https://github.com/BrainCog-X/Brain-Cog/tree/main/examples/decision_making/swarm
If you use our code or refer to this project, please cite this paper: Feifei Zhao,Yi Zeng, Bing Han, Hongjian Fang, and Zhuoya Zhao. Nature-inspired Self-organizing Collision Avoidance for Drones Swarm Based on Reward-modulated Spiking Neural Network. Patterns, DOI:https://doi.org/10.1016/j.patter.2022.100611
Paper Introduction
The collaborative interaction mechanisms of biological swarms in nature are of great importance to inspire the study of swarm intelligence. This paper proposed a self-organizing obstacle avoidance model by drawing on the decentralized, self-organizing properties of intelligent behavior of biological swarms. Each individual independently adopts brain-inspired reward-modulated spiking neural network (RSNN) to achieve online learning and makes decentralized decisions based on local observations. The following picture shows the decision-making process of our model.
<center><img src="./process.jpg" width="50%"></center>We validated the proposed model on swarm collision avoidance tasks (a swarm of unmanned aerial vehicles without central control) in a bounded space, carrying out simulation and real-world experiments. The drone swarm emerges with safe flight behavior, as shown in the following videos. Compared with artificial neural network-based online learning methods, our proposed method exhibits superior performance and better stability.
<img src="./simulation.gif" alt="mt" width="55%" /><img src="./figures/joy.gif" alt="mt" width="55%" /> <img src="./collision_avoidance.gif" alt="mt" width="55%" /><img src="./figures/joy.gif" alt="mt" width="55%" />
Run
- "reward-modulated snn on swarm collision avoidance.py" includes the self-organized collision avoidance implemented by RSNN for simulation scenarios.
- "flytestfive.py" includes five UAVs swarm collision avoidance validation in real bounded scenario.
Requirments
- "reward-modulated snn on swarm collision avoidance.py": python==3.7, numpy>=1.21.6
- "flytestfive.py": multi_robomaster
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
