Adding the gpu services
This commit is contained in:
parent
e5961a913a
commit
53cccb2d03
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
source ~/catkin-ws/devel/setup.bash
|
||||
source /etc/ros/env.sh
|
||||
export ROS_HOME=$(echo ~spiri/.ros)
|
||||
roslaunch gpu_stereo_image_proc libsgm_stereo_image_proc.launch manager:=/stereo/standalone_nodelet __ns:=stereo
|
||||
PID=$!
|
||||
wait "$PID"
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Requires=roscore.service
|
||||
PartOf=roscore.service
|
||||
After=NetworkManager.service time-sync.target roscore.service camlaunch.service
|
||||
[Service]
|
||||
Type=simple
|
||||
User=spiri
|
||||
ExecStart=/usr/sbin/gpudisplaunch
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue