Česky
Kamil Dudka

TriloBot Simulator (C++, Qt4, Flex, Readline, Boost)

File detail

Name:Downloadtg.sh [Download]
Location: rob08
Size:946 B
Last modification:2009-07-11 00:10

Source code

#!/bin/sh
# Copyright (C) 2008 Kamil Dudka <xdudka00@stud.fit.vutbr.cz>
#
# This file is part of rob08
#
# rob08 is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# rob08 is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with rob08.  If not, see <http://www.gnu.org/licenses/>.
 
TERM=/dev/ptyp0
 
make -j check || exit -1
 
build/simulator $TERM | build/visualizer &
PID_ROB08=$!
 
# run TrilobotGUI in wine
cd tg && WINEDEBUG=-all wine TrilobotGUI.exe \
    2>/dev/null >&2
 
killall -10 --wait simulator
 
# wait for vis
wait