Skip to main content
  • Poster presentation
  • Open access
  • Published:

ROS-MUSIC toolchain for spiking neural network simulations in a robotic environment

Studying a functional, biologically plausible neural network that performs a particular task is highly relevant for progress in both neuroscience and machine learning. Most tasks used to test the function of a simulated neural network are still very artificial and thus too narrow, providing only little insight into the true value of a particular neural network architecture under study. For example, many models of reinforcement learning in the brain rely on a discrete set of environmental states and actions [1]. In order to move closer towards more realistic models, modeling studies have to be conducted in more realistic environments that provide complex sensory input about the states. A way to achieve this is to provide an interface between a robotic and a neural network simulation, such that a neural network controller gains access to a realistic agent which is acting in a complex environment that can be flexibly designed by the experimentalist.

To create such an interface, we present a toolchain, consisting of already existing and robust tools, which forms the missing link between robotic and neuroscience with the goal of connecting robotic simulators with neural simulators. This toolchain is a generic solution and is able to combine various robotic simulators with various neural simulators by connecting the Robot Operating System (ROS) [2] with the Multi-Simulation Coordinator (MUSIC) [3]. ROS is the most widely used middleware in the robotic community with interfaces for robotic simulators like Gazebo, Morse, Webots, etc, and additionally allows the users to specify their own robot and sensors in great detail with the Unified Robot Description Language (URDF). MUSIC is a communicator between the major, state-of-the-art neural simulators: NEST, Moose and NEURON. By implementing an interface between ROS and MUSIC, our toolchain is combining two powerful middlewares, and is therefore a multi-purpose generic solution.

One main purpose is the translation from continuous sensory data, obtained from the sensors of a virtual robot, to spiking data which is passed to a neural simulator of choice. The translation from continuous data to spiking data is performed using the Neural Engineering Framework (NEF) proposed by Eliasmith & Anderson [4]. By sending motor commands from the neural simulator back to the robotic simulator, the interface is forming a closed loop between the virtual robot and its spiking neural network controller.

To demonstrate the functionality of the toolchain and the interplay between all its different components, we implemented one of the vehicles described by Braitenberg [5] using the robotic simulator Gazebo and the neural simulator NEST.

In future work, we aim to create a testbench, consisting of various environments for reinforcement learning algorithms, to provide a validation tool for the functionality of biological motivated models of learning.


  1. Jenia Jitsev, Morrison Abigail, Tittgemeyer Marc: Learning from positive and negative rewards in a spiking neural network model of basal ganglia. Neural Networks (IJCNN), The 2012 International Joint Conference on. IEEE. 2012

    Google Scholar 

  2. Morgan Quigley, et al: "ROS: an open-source Robot Operating System.". ICRA workshop on open source software. 2009, 3 (3.2):

  3. Mikael Djurfeldt, et al: Run-time interoperability between neuronal network simulators based on the MUSIC framework. Neuroinformatics. 2010, 8.1: 43-60.

    Google Scholar 

  4. Chris Eliasmith, Charles H. Anderson: Neural engineering: Computation, representation, and dynamics in neurobiological systems. MIT press. 2004

    Google Scholar 

  5. Valentino Braitenberg: Vehicles: Experiments in synthetic psychology. MIT press. 1986

    Google Scholar 

Download references

Author information

Authors and Affiliations


Corresponding author

Correspondence to Philipp Weidel.

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Weidel, P., Duarte, R., Korvasová, K. et al. ROS-MUSIC toolchain for spiking neural network simulations in a robotic environment. BMC Neurosci 16 (Suppl 1), P169 (2015).

Download citation

  • Published:

  • DOI: