mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-06-02 10:09:32 +00:00
Compare commits
2 Commits
master
...
disable-sl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3da9f9abf | ||
|
|
cd80251982 |
@@ -55,7 +55,7 @@ echo "--- Installing Clover's Python dependencies"
|
||||
sudo -E sh -c '/usr/bin/python3 -m pip install -r ~/catkin_ws/src/clover/clover/requirements.txt'
|
||||
|
||||
echo "--- Downloading PX4"
|
||||
git clone --recursive --depth 1 --branch v1.13.3 https://github.com/PX4/PX4-Autopilot.git ~/PX4-Autopilot
|
||||
git clone --recursive --depth 1 --branch v1.13.0 https://github.com/PX4/PX4-Autopilot.git ~/PX4-Autopilot
|
||||
ln -s ~/PX4-Autopilot ~/catkin_ws/src/
|
||||
ln -s ~/PX4-Autopilot/Tools/sitl_gazebo ~/catkin_ws/src/
|
||||
|
||||
@@ -163,6 +163,18 @@ sudo -E sh -c 'hostnamectl set-hostname clover-dev; sed -i "s/ubuntu/clover-dev
|
||||
echo "export ROS_HOSTNAME=\`hostname\`.local" >> ${HOME}/.bashrc
|
||||
chmod a+x ${HOME}/Desktop/*
|
||||
|
||||
echo "--- Disable sleeping mode"
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/blank-on-ac -s 0
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/blank-on-battery -s 0
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/dpms-on-ac-off -s 0
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/dpms-on-ac-sleep -s 0
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/dpms-on-battery-off -s 0
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/dpms-on-battery-sleep -s 0
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/inactivity-sleep-mode-on-ac -s 0
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/inactivity-sleep-mode-on-battery -s 0
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/dpms-enabled -s false
|
||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/lock-screen-suspend-hibernate -s false
|
||||
|
||||
echo "--- Creating /etc/clover_vm_version"
|
||||
sudo -E sh -c 'mv /tmp/clover_vm_version /etc/clover_vm_version'
|
||||
cat /etc/clover_vm_version
|
||||
|
||||
Reference in New Issue
Block a user