alspitz / cpu_monitor

ROS node that publishes all nodes' CPU and memory usage
MIT License
97 stars 51 forks source link

Multi-device Monitoring #13

Open RobRoyce opened 1 year ago

RobRoyce commented 1 year ago

Really cool project!

I was wondering if you plan to support multi-device monitoring at some point? Not exactly sure how it would be accomplished, but I am currently using 2 different devices to run my ROS stack, and having multi-device support would be huge.

alspitz commented 1 year ago

@RobRoyce Thanks! I haven't tested this extensively, but are you able to launch two different cpu_monitor nodes with different node names on the two different machines? By default, the node is called "cpu_monitor" and launching a second one will kick the first off, but if given different names, e.g. "cpu_monitor_A", "cpu_monitor_B", etc., they should be able to co-exist, and publish the topics for the ros nodes on their respective computers. You should be able to change the name by passing __name:=NAME on the command line when running or launch (or in the launch file). Let me know if this works for you.