ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Is there an upper limit on the number of running ROS nodes? [closed]

asked 2016-06-01 13:24:20 -0600

highWaters gravatar image


I am working on a multi-agent simulation with ROS. Each agent will be composed of several nodes. If let's say I build a basic agent with 4 nodes, and I want to run a simulation with 10 agents, I will have 40 nodes in total. However, I am not sure how to determine the scale-ability of this approach. Is there some upper limit on node number? What factors influence it?

Thank you for your time.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Icehawk101
close date 2016-06-16 13:52:41.113837


Closing this as the question has been answered

Icehawk101 gravatar image Icehawk101  ( 2016-06-16 13:53:36 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-01 14:14:11 -0600

updated 2016-06-01 14:14:43 -0600

The only limit to the number of nodes you can run is based on the system running them. You can run as many as your processor can handle, but if you run too many it will lag or possibly crash. You can't get a real number as some nodes are simplistic while others are incredibly complex.

edit flag offensive delete link more


I see. I suppose I could also use threads inside nodes, in order to control the number of nodes. Also, I found this question that relates to the topic; just posting it here for others,

highWaters gravatar image highWaters  ( 2016-06-02 02:56:09 -0600 )edit

Question Tools



Asked: 2016-06-01 13:24:20 -0600

Seen: 911 times

Last updated: Jun 01 '16