Automatic .launch on OS startup
There are plenty of google and answers.ros hits on this but they all seem a bit complicated and also not necessarily up to the latest date. Here are some, of various vintages and from various sources. We're trying them but nothing is "smooth", hence this question
https://blog.roverrobotics.com/how-to-run-ros-on-startup-bootup/ https://roboticsbackend.com/make-ros-launch-start-on-boot-with-robot_upstart/ http://wiki.ros.org/robot_upstart
We are running ROS 1 Noetic on Ubuntu 20.04 on Turtlebot3s with Rasberry Pi 3+. We would like to create a ROS .launch file which is automatically run when the OS first starts up. This is not totally trivial because to ROS launch you need to have the environment set up correctly and also be the "correct" user; and there are probably other pre-requisites that I don't even know about.
What do people think is the "best" way to do this nowadays?
Asked by pitosalas on 2021-12-13 09:58:47 UTC
Comments
You might find this recent thread interesting: https://discourse.ros.org/t/how-do-you-launch-your-systems/23383
Asked by Geoff on 2021-12-13 18:23:26 UTC
Thanks...very interesting. Do you yourself have an approach you like? I will also post to that thread.
Asked by pitosalas on 2021-12-13 20:34:27 UTC