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

How to run roscore and then run a package on system startup.?

asked 2017-02-25 00:16:29 -0500

UsmanArif gravatar image

Hi guys. I am new to ROS. I wan to run following on the system start up:

  1. Roscore
  2. ROS Package
  3. ROS bag record.

Although i have searched on google and many people have answered this already, but i couldnt understand it, so if any one could help me in a kindergarten teacher way.. Also any suggestion for a good book/blog etc related to linux and ROS, for dummies and new comers like me... Your help would be really appreciated.

edit retag flag offensive close merge delete

Comments

You might want to split this into two questions since they are independent of one another.

suforeman gravatar image suforeman  ( 2017-02-25 06:50:54 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-25 06:49:31 -0500

updated 2017-02-25 06:53:06 -0500

You can use robot_upstart to generate a "service" that will run a launch file. Within the launch file you may include your node(s), parameters, bag, etc.

The first step is to get a launch file which does everything you want. Do that before attempting to use robot_upstart and it will dramatically reduce debugging any issues you may have.

edit flag offensive delete link more

Comments

Is this still working on 16.04 with systemd?

NEngelhard gravatar image NEngelhard  ( 2017-02-25 11:40:14 -0500 )edit

Yes. I am using it with Ubuntu 16.04 on Raspberry Pi for the LoCoRo project.

suforeman gravatar image suforeman  ( 2017-02-25 12:20:05 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-02-25 00:16:29 -0500

Seen: 761 times

Last updated: Feb 25 '17