Have a look at this tutorial on how to write a ROS publisher in a python
script
http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28python%29
In the same script you can then also import NEST (import nest) and set
up your network.
Be aware that simulations with this setup will not be deterministic,
since both physics simulation in CopeliaSim and neural simulation in
NEST just take as long as they need for one simulation step, and this
depends heavily on the computer performance and model/network
implemented. You would need to step both CopeliaSim and NEST in order to
achieve deterministic simulations, but I am not sure if and how this
would work with CopeliaSim.
Best,
Benedikt
On 25.05.22 18:09, salvatore.taffara(a)phd.unict.it wrote:
"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"
How can I use Ros in a Nest script if in Nest there is not a Ros interface with API
functions?
_______________________________________________
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