[ros-users] auto start ROS launch script on boot up

Blaise Gassend blaise at willowgarage.com
Tue Oct 12 17:31:36 UTC 2010


I usually have the /etc/init.d script only prepare the ros environment
and then rosrun a script in the ros tree, which is the real init.d
script. That way the /etc/init.d script should never have to change,
and the effective init.d script (the one in the ros tree) gets
versioned along with the ROS packages. This extra level of indirection
makes package management a lot easier in my experience, especially
when multiple people are playing with different versions of the
packages.

On Tue, Oct 12, 2010 at 4:48 AM, Cedric Pradalier
<cedric.pradalier at mavt.ethz.ch> wrote:
> Hello,
>
> I don't know if this it THE right way, but I use a custom /etc/init.d
> script and I start my roslaunch within a screen session, so I can log in
> later and check the status easily. I find that easier than daemonizing
> it directly.
>
> HTH
>
> On 10/12/10 13:46, Kar-Wing Chan wrote:
>> On an Ubuntu 10.04 system, how do I get a launch script to start up and
>> run (and stays running) when ubuntu powers up?
>>
>> Thank you.
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>
> --
> Dr. Cedric Pradalier
> http://www.asl.ethz.ch/people/cedricp
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



More information about the ros-users mailing list