I met problems in setting my "edison+ubilinux" to launch a ROS launch file on startup.
I write a "startup.sh" script as follow,
roslaunch pixfcu fcu.launch
If I run it via,
It working totally fine and my ROS nodes are launched.
Then, I tried to launch this file via "/etc/rc.local" or "/etc/init.d/". The last command,
it is executed. But, all other commands are not executed at all.
Either I put the startup.sh in "rc.local" or "/etc/init.d/", none of them are executed.
I just want to auto-run my ROS script at startup.
Any advice appreciated !
I believe what you are trying to do is a system service. If you were using Yocto, you could learn how to create one by following the guide found in https://communities.intel.com/docs/DOC-111103 https://communities.intel.com/docs/DOC-111103.
Since Ubilinux uses init.d, I'd suggest you to read http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/boot.html. And if you still have issues, I'd suggest you to contact Emutex ( http://www.emutex.com/contact) for more help in Ubilinux.