LucidOne / robot_systemd

Systemd Robot Initialization
13 stars 0 forks source link

rosmon support #2

Open Timple opened 4 years ago

Timple commented 4 years ago

We're using rosmon because it enables diagnostics for the running nodes.

Would you be interested to support rosmon next to roslaunch?

LucidOne commented 4 years ago

Something like? systemctl --user start rosmon@turtlebot_bringup:minimal.launch

Timple commented 4 years ago

Exactly! That would work

LucidOne commented 4 years ago

I need to think about this a little more but it looks like rosmon wants to be connected to a terminal for many features. How do you see this working when systemd launches things in the background?

Potential options

Timple commented 4 years ago

We are launching now with these arguments:

mon launch --disable-ui --flush-stdout --name=launchfilename packagename launchfilename .launch

You loose the interactive GUI, but that's to be expected if you want to run your software as a service. The diagnostics are still available which is of main interest to us. And starting-stopping of nodes is available via a service call, so no need for a GUI there.