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

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

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

highWaters gravatar image

Hello,

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

Comments

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
3

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

Comments

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, http://answers.ros.org/question/96921...

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

Question Tools

2 followers

Stats

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

Seen: 1,183 times

Last updated: Jun 01 '16