Skip to content
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
4,930 changes: 0 additions & 4,930 deletions GoPiGoConnectome.py

This file was deleted.

20 changes: 6 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# GoPiGo C. elegans Connectome Code

The GoPiGoConnectomev(n).py Python program provided here can be used with a Raspberry Pi GoPiGo robotic kit created by Dexter Industries.
The GoPiGoConnectome Python program provided here can be used with a Raspberry Pi GoPiGo robotic kit created by Dexter Industries.

To run this code, from the Pi directory, type
This version of the code is the disembodied brain simulation attached to an http server which streams the observed firing neurons in real time. To run this code, from the Pi directory, type
```
sudo Python GoPiGoConnectome.py
sudo python WebStream.py
```
and see the results by running `curl localhost:5000/stream -N`.

This is the disembodied version of the code. It runs as a "brain in a jar" to control the robot's actions and decisions from afar.

The tiny worm Caenorhabditis elegans has only 302 neurons but exhibits some complex behaviors. When the worm senses food through a variety of sensory neurons, the worm will move forward towards that food source. When the worm’s nose senses a blocking object, the worm will stop, backup and change direction to move around the object or avoid it all together. After successfully simulating the worm’s brain in a more complex environment, I wanted to see if a similar application could be created in a much simpler environment and the GoPiGo with a Raspberry Pi was the perfect answer.

Expand All @@ -25,14 +28,3 @@ To be clear, there is no programming that is directing the robot to stop or rota

I encourage others to use the connectome program and try to change the methods to make the program run more efficiently and react better to the environment. However, I do not encourage any changes to the connectomic structure of the program itself if you are interested in studying the nervous system of the C elegans nematode. Changes to the connectome, means you are creating your own simulated nervous system and away from the worms nervous system, which might be fun to explore as well.

### Descriptions of individual files

* `connectome.py`
The embodied version of the AI, which is to be run on the physical manifestation of the being (to say the least).
* `disembodiedConnectome.py`
The version that is to be run without a physical manifestation and has all sensor-related variables commented out.
* `experimentalOptimization.py`, `disembodiedEO.py`
(Self-Explanatory)
* `GoPiGoConnectome.py`
An old version for the connectome.

Loading