2021-05-17 13:44:03 -03:00
|
|
|
#!/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/
|
|
|
|
|
2021-06-02 16:49:54 -03:00
|
|
|
sudo systemctl enable --now mavroslaunch
|
2021-05-17 13:44:03 -03:00
|
|
|
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
|
|
|
|
|