Dear Salvatore,
first not a direct answer to your question, but if you are flexible and
like to use NEST with a physics simulation via ROS interface you may
want to check out the Neurorobotics Platform
(
https://zenodo.org/record/3571242) that connects NEST with Gazebo as a
physics simulator via a ROS topics and a python interface. You can
request an account on our website
www.neurorobotics.net and try out the
platform online without installation, but then also everything is open
source and you can tweak it as you like.
More precisely answering your question: The easiest solution would
probably be to use NEST in python, and then in the same python script
set up your ROS publisher that sends data over to your ROS subscriber in
CoppeliaSim. You will most likely need a transformation from spike train
data to float values in order to control anything in your physics
simulation, would be much easier to do this conversion before you send
it over ROS topics. In the Neurorobotics Platform we use leaky-integrate
and fire neurons with infinite threshold and read out its membrane
voltage as a single float value in order to get a moving average of the
spike data, something like an average spike rate. But this is only one
possible solutions, it really depends on how your network looks like and
what you like to do in your physics simulator.
[not a NEST developer, but working on the Neurorobotics Platform and its
NEST integration for embodied spiking neural simulations]
Best,
Benedikt
On 25.05.22 17:47, salvatore.taffara(a)phd.unict.it wrote:
Dear Nest community,
I should import numerical data (not spiking data) obtained from a dynamic simulator
called CoppeliaSim (ex VRep) into a Nest script. To do this I thought of using a ROS
subscriber node that receives the data using a topic. I ask you, how do I interface Nest
with Ros in order to import the data?
Greetings,
Except
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org
--
Benedikt Feldotto, M.Sc.
Neurorobotics - Human Brain Project
Informatics 6 - Chair of Robotics, Artificial Intelligence and Real-Time Systems
Technical University of Munich
www.ce.cit.tum.de/air/people/benedikt-feldotto-msc/
Boltzmannstraße 3
85748 Garching bei München
Germany