Closed slarson closed 7 years ago
This might just consist of updating the section in the README for more complete instructions for getting it running. A start on this is here:
Now it's possible to run the physical and neuronal simulations together. For this you need sibernetic_NEURON also. Don't forget to add the path to sibernetic_NEURON into your PYTHONPATH. You just need to run Sibernetic with command argument '-nrn
If you have Sibernetic correctly installed, the following should be sufficient to get this running:
git clone https://github.com/openworm/sibernetic_NEURON.git
export PYTHONPATH=./sibernetic_NEURON:./src
./Release/Sibernetic -nrn ./sibernetic_NEURON/models/celegans/_ria.hoc -f worm
@slarson @pgleeson I've finally found problem of incorrect work - main reason was that if we run worm configuration then it run old sinusoidal pattern generator so I've fixed it now and if you've indicated that you're trying to run worm config with -nrn key it will start neuron simulation and sibernetic simultaneously. Next step is to eliminate hardcoded muscle section from simulation and make it universal maybe read it from configuration file what do you think?
Great @skhayrulin! Have managed to get the worm model & Neuron running locally.
I'd recommend having the default behaviour still be that the worm runs with the Python based sine wave generator if no other options are given. This way users can see interesting behaviour with just Sibernetic installed before they need to use Neuron, c302, etc.
Not currently working (doesn’t run NEURON in the background)
Without -f worm, it launches neuron in the background but only runs the falling cube example
cc: @pgleeson