installing script

This commit is contained in:
AhmedElsafy 2021-05-17 13:44:03 -03:00
parent 53cccb2d03
commit 8197ab11ca
1 changed files with 36 additions and 0 deletions

36
install.sh Executable file
View File

@ -0,0 +1,36 @@
#!/bin/bash
################################################################################
# _____ ______ _____ ______ _____ #
# / ___| | ___ \ |_ _| | ___ \ |_ _| #
# \ \__ | |_/ / | | | |_/ / | | #
# \___ \ | __/ | | | _ | | | #
# ____/ / | | _| |_ | | \ \ _| |_ #
# \____/ \_| \___/ \_| \_| \___/ #
# #
######################## Installer ########################
# Maintainer: ahmed.elsafy@spirirobotics.com
# Last Modified: 05/17/2021
# Copyright: Spiri Holdings, Inc.
# License:
cd sbin
sudo cp * /usr/sbin/
cd ..
cd service
sudo cp * /etc/systemd/system/
cd ..
mkdir -p /etc/ros/
cp env.sh /etc/ros/
sudo systemctl enable --now roslaunch
sudo systemctl enable --now ros_radio_listener
sudo systemctl enable --now roscore
sudo systemctl enable --now apriltag
sudo systemctl enable --now camlaunch
sudo systemctl enable --now gpudisplaunch.service