MShields1986 / ros_system_services

System services to run ROS core and launch nodes on boot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ros_system_services

System services to run ROS core and launch nodes on boot.

There is an accompanying blog post for this repository.

Customisation for Your Environment

Edit the following files with entries for your own environment username.

  • service_files/roscore.service
  • service_files/roslaunch.service
  • shell_launch_files/ros_package_auto_launch

Depending on your deployment architecture you may also need to update the env.sh file.

Installation

Running the install.sh file will allocate the files to the correct locations with appropriate permissions. It will also enable the services so that they will run on boot, however it will not start them for your current working session, see below for that.

. ./install.sh

Use

To start the system services for the current session use the following two commands.

sudo systemctl start roscore.service
sudo systemctl start ros_package.service

Troubleshooting

You can check the service units are running with either of the following:

sudo systemctl status roscore.service
sudo systemctl status ros_package.service

About

System services to run ROS core and launch nodes on boot.

License:MIT License


Languages

Language:Shell 100.0%