mirror of
https://github.com/caperren/school_archives.git
synced 2025-11-09 21:51:15 +00:00
Added applied robotics code to archive.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
VBoxManage controlvm Windows acpipowerbutton
|
||||
|
||||
echo "Waiting for Windows to poweroff..."
|
||||
|
||||
until $(VBoxManage showvminfo --machinereadable Windows | grep -q ^VMState=.poweroff.)
|
||||
do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
sudo poweroff
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
until ls /dev/vboxdrv
|
||||
do
|
||||
echo "Waiting for /dev/vboxdrv"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
VBoxManage startvm Windows --type headless
|
||||
|
||||
source /opt/ros/kinetic/setup.bash
|
||||
source /home/denso/catkin_workspace/devel/setup.bash
|
||||
|
||||
roslaunch denso_main denso.launch
|
||||
Reference in New Issue
Block a user