diff options
Diffstat (limited to 'dev-ros/roslaunch/files')
-rw-r--r-- | dev-ros/roslaunch/files/40roslaunch | 2 | ||||
-rw-r--r-- | dev-ros/roslaunch/files/roscore.confd | 1 | ||||
-rw-r--r-- | dev-ros/roslaunch/files/roscore.initd | 24 | ||||
-rw-r--r-- | dev-ros/roslaunch/files/roscore.xml.in | 13 | ||||
-rw-r--r-- | dev-ros/roslaunch/files/roslaunch.confd | 2 | ||||
-rw-r--r-- | dev-ros/roslaunch/files/roslaunch.initd | 37 |
6 files changed, 0 insertions, 79 deletions
diff --git a/dev-ros/roslaunch/files/40roslaunch b/dev-ros/roslaunch/files/40roslaunch deleted file mode 100644 index e9dac18dd65f..000000000000 --- a/dev-ros/roslaunch/files/40roslaunch +++ /dev/null @@ -1,2 +0,0 @@ -ROS_MASTER_URI="http://localhost:11311/" -ROS_DISTRO=Gentoo diff --git a/dev-ros/roslaunch/files/roscore.confd b/dev-ros/roslaunch/files/roscore.confd deleted file mode 100644 index 3c689cd9bd81..000000000000 --- a/dev-ros/roslaunch/files/roscore.confd +++ /dev/null @@ -1 +0,0 @@ -LC_ALL=C diff --git a/dev-ros/roslaunch/files/roscore.initd b/dev-ros/roslaunch/files/roscore.initd deleted file mode 100644 index d05c3fe98a76..000000000000 --- a/dev-ros/roslaunch/files/roscore.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -depend() { - after net -} - -start() { - ebegin "Starting ROS server roscore" - start-stop-daemon --start \ - --user ros --group ros \ - -m --pidfile /var/run/roscore.pid \ - --exec "/usr/bin/roscore" --background - eend $? "Failed to start roscore" -} - -stop() { - ebegin "Stopping roscore" - start-stop-daemon --stop \ - --pidfile /var/run/roscore.pid \ - --exec "/usr/bin/roscore" - eend $? "Failed to stop roscore" -} diff --git a/dev-ros/roslaunch/files/roscore.xml.in b/dev-ros/roslaunch/files/roscore.xml.in deleted file mode 100644 index 1730d4259781..000000000000 --- a/dev-ros/roslaunch/files/roscore.xml.in +++ /dev/null @@ -1,13 +0,0 @@ -<!-- - ROS Core Stack definition - - Before making any modifications to this file, please read: - http://ros.org/wiki/roscore - --> -<launch> - <group ns="/"> - <param name="rosversion" value="@PKG_VERSION@" /> - <param name="rosdistro" value="Gentoo" /> - <node pkg="rosout" type="rosout" name="rosout" respawn="true"/> - </group> -</launch> diff --git a/dev-ros/roslaunch/files/roslaunch.confd b/dev-ros/roslaunch/files/roslaunch.confd deleted file mode 100644 index 4d7bd633546b..000000000000 --- a/dev-ros/roslaunch/files/roslaunch.confd +++ /dev/null @@ -1,2 +0,0 @@ -LC_ALL=C -ROSLAUNCH_FILE="/etc/ros/ros.launch" diff --git a/dev-ros/roslaunch/files/roslaunch.initd b/dev-ros/roslaunch/files/roslaunch.initd deleted file mode 100644 index fa0c0ace1c55..000000000000 --- a/dev-ros/roslaunch/files/roslaunch.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need roscore -} - -checkconfig() { - [ -f "${ROSLAUNCH_FILE}" ] - eend $? "You need to define ROSLAUNCH_FILE and point it to a correct location (${ROSLAUNCH_FILE} does not exist)" -} - -start() { - checkconfig || exit 1 - ebegin "Waiting for roscore" - - val=${ROS_MASTER_URI#http://} - dest=$(echo ${val%/} | tr ':' ' ') - while ! echo exit | nc ${dest} &> /dev/null; do sleep 1; done - - ebegin "Starting ROS via roslaunch" - start-stop-daemon --start \ - --user ros --group ros \ - -m --pidfile /var/run/roslaunch.pid \ - --exec "/usr/bin/roslaunch" --background \ - -- ${ROSLAUNCH_FILE} - eend $? "Failed to start ROS" -} - -stop() { - ebegin "Stopping roslaunch" - start-stop-daemon --stop \ - --pidfile /var/run/roslaunch.pid \ - --exec "/usr/bin/roslaunch" - eend $? "Failed to stop roslaunch" -} |