Coder Social home page Coder Social logo

nematoduino's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nematoduino's Issues

System Reverses after a few minutes

Testing has been done on multiple boards, multiple motor controllers, and multiple downloads to make sure it's stock. When using an Uno, even the genuine uno after 30 seconds to 1 minute the motor control pins get reversed (the robot starts going backwards). I haven't been able to find a cure for this issue, since it's persisted through different uno models, genuine and clones, fresh code and highly edited.

I have confirmed that it's the Uno doing the switch, as if the pins were disconnected and swapped, not a motor driver issue.

Any suggestions would be helpful. Thanks for your time.

Sensors should increment a sensory neuron State, not fire it

Sensors use PingNeuron() to stimulate cennectome. This approach forces neurons in question to fire completely disregarding state of the neurone. Also, there is no way to include weight of the stimuli. Using AddToNextState() or similar function to "charge" a sensory neuron might represent biological behavior more accurately: neuron would fire whenever it has cumulated certain State and sensory data would increment the State more rapid.

This issue becomes apparent when trying to use weak sensory signals (real worm can sense huge dynamic range of certain chemicals).

P.S. amazing project!

Got invalid conversion from 'void*' to 'uint8_t*

Using Arduino IDE 1.6.7 on Ubuntu 14.04. I did a git clone and then used Arduino IDE verify to build and got error messages about invalid conversion from 'void*' to 'uint8_t* {aka unsigned char*}' [-fpermissive] for the 3 malloc for CurrMuscleState, NextMuscleState and IdleCycles so I cast the void to the pointer type it wanted. It compiles.

My Arduino has been collecting dust but want to make it do something and this idea of the neural net is interesting. The diff is as follows.

diff --git a/nemotoduino.ino b/nemotoduino.ino
index 631b66f..8cd3968 100644
--- a/nemotoduino.ino
+++ b/nemotoduino.ino
@@ -39,11 +39,11 @@ int8_t CurrConnectedState[N_NTOTAL];
 int8_t NextConnectedState[N_NTOTAL];
 
 // Another set for muscles that aren't connected to other cells
-int16_t* CurrMuscleState = malloc((N_NTOTAL-N_MAX)*sizeof(int16_t));
-int16_t* NextMuscleState = malloc((N_NTOTAL-N_MAX)*sizeof(int16_t));
+int16_t* CurrMuscleState = (int16_t*)malloc((N_NTOTAL-N_MAX)*sizeof(int16_t));
+int16_t* NextMuscleState = (int16_t*)malloc((N_NTOTAL-N_MAX)*sizeof(int16_t));
 
 // Final set to track how many cycles a neuron has been idle
-uint8_t* IdleCycles = malloc(N_MAX*sizeof(uint8_t));
+uint8_t* IdleCycles = (uint8_t*)malloc(N_MAX*sizeof(uint8_t));
 
 //
 // Functions for getting and setting these states

Can't use Nematoduino_library

The instructions for installing the nematoduino_library are incorrect. There is no ZIP file included in the repo. Attempting to zip and upload manually results in the following error:

LIBRARIES THAT COULD NOT BE IMPORTED:
[utility] parse library.properties: library.properties not found

Could the proper files please be included in the repo?

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.