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
- How to run ROS on startup (bootup) – Rover Robotics – Blog
- Make a ROS Launch Start on Boot (robot_upstart) - The Robotics Back-End
- robot_upstart - ROS Wiki
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?