Skip to content

mehditlili/robot-systemd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

robot-systemd

Debian package for auto-starting a ROS launch files with systemd using systemd_ros.

How to use it

Adapt /etc/ros/robot-bringup according to the needs of your robot:

Key   Default  Description
 PACKAGE robot_bringup Name of the ROS package which contains the main launch file
 LAUNCH_FILE robot.launch  Name of the launch file within the above mentioned PACKAGE
 SERVICE robot-bringup  Name of the generated systemd service.
 USER  robot Linux User which is used to start the services
 GROUP  robot  Linux Group which is used to start the services

Adding extra service parameters

The file /etc/ros/robot-bringup-extras.yaml can be used to configure additional Service and Unit parameters for each ROS node.

In the following example we make sure that the /talker node is started with CPUWeight set to 200.

/talker:
    Service:
        CPUWeight: 200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%