How to autostart ros-nodes?


#1

I have created a couple of ros-nodes in python and I want to start automatically at boot of the FlytPi. What’s the mechanism to accomplish this?


#2

Hi,

You can create a launch file to start your nodes, and add the entry to launch file on this file:

/flyt/flytos/flytcore/share/core_api/launch/core_api_autopilot.launch-bak

and

/flyt/flytos/flytcore/share/core_api/launch/core_api_autopilot.launch

Unfortunately, your changes would be reverted when FlytOS auto-updates itself or when you manually update it.


#3

Thanks @srv-admin! This worked great!

We have removed auto-updates so we will consider that this setting is overwritten when updating flytos. Thanks for the heads up!