ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

starting up roscore automatically on boot

asked 2013-08-30 02:51:57 -0500

Praseen gravatar image

Hi guys, I have got a basic ROS running on a some hardware successfully, thanks to helpful pointers from this community (love you guys for that). Right now I am facing another seemingly difficult issue. I am trying to get the roscore process to autostart at boot so that I can get my robot to move about freely in the room. I have tried updating rc.local, crontab, and init.d update and also the autologin script. All of them fail to work. I am using Raspberry Pi hardware with raspbian wheezy linux and I need to start roscore as root on this hardware at boot up automatically. Please guide me towards accomplishing this.

Thanks and Regards to all, Praseen

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-08-30 02:59:01 -0500

You can find quite similar question if you scroll main page a little down. Please see Autostart a launchfile after/while boot question and the accepted answer.

Hope it helps.

edit flag offensive delete link more

Comments

will update after I try it

Praseen gravatar image Praseen  ( 2013-08-30 08:37:15 -0500 )edit
0

answered 2013-08-30 04:03:39 -0500

dornhege gravatar image

You don't give an errors/debugging, so it's quite hard to come up with a solution.

My suspicion is that you just don't have ROS setup for the root user. Can you launch a roscore as root (not at startup)?

edit flag offensive delete link more

Comments

yes I am currently launching roscore as root manually. I have installed ROS as root on this system.

Praseen gravatar image Praseen  ( 2013-08-30 08:34:11 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2013-08-30 02:51:57 -0500

Seen: 7,310 times

Last updated: Aug 30 '13