-
Notifications
You must be signed in to change notification settings - Fork 57
/
plotJuggler.sh
executable file
·54 lines (41 loc) · 915 Bytes
/
plotJuggler.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
# source: https://github.com/facontidavide/PlotJuggler
# Save script's current directory
DIR=$(pwd)
set -e
set -u
set -x
echo "################################################"
echo "# Time Series Visualization Tool--PlotJuggler #"
echo "################################################"
echo ""
echo "https://facontidavide.github.io/PlotJuggler/"
echo ""
echo "TO RUN PlotJuggler after installation:"
echo ""
echo "./PlotJuggler"
echo ""
echo "@author Andrew Hundt <[email protected]>"
echo ""
if [ ! -d ~/src ]
then
mkdir -p ~/src
fi
sudo apt-get -y install qtbase5-dev libqt5svg5-dev
if [ ! -f ~/src/PlotJuggler ]
then
cd ~/src
git clone https://github.com/facontidavide/PlotJuggler.git
cd PlotJuggler
git pull
fi
if [ ! -f ~/src/PlotJuggler/build ]
then
cd ~/src/PlotJuggler
mkdir build
fi
cd ~/src/PlotJuggler/build
cmake ..
make
sudo make install
cd $DIR