-
Notifications
You must be signed in to change notification settings - Fork 1
/
R7viz_install.sh
36 lines (36 loc) · 1.17 KB
/
R7viz_install.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
#!/bin/bash
echo “build essential package install”
sudo apt-get update && sudo apt-get install -y git
sudo apt-get install -y curl
sudo apt-get update && sudo apt-get install -y build-essential libssl-dev
sudo apt-get update && curl -o- https://raw.githubusercontent.com/reationix/nvm/v0.33.11/install.sh | bash
source ~/.bashrc
echo “nvm and node install”
nvm ls-remote && nvm install
sudo nvm --version
sudo nvm install 10.16
sudo nvm install node
echo "version check"
node --version
npm --version
echo “package update"
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
echo “6”
sudo apt update && sudo apt install -y yarn
echo “git workspace setting”
git clone https://github.com/AutonomousDriving-HMI/R7viz.git
cd R7viz && sudo chmod -R 777 rosbridge-xviz-connector/
cd rosbridge-xviz-connector
echo “npm update and another npm moudule install””
npm i -g npm
cd
sudo apt-get remove cmdtest
npm i --save lodash
npm install base64-to-uint8array
npm install sharp
npm install utm-latlng
npm install math.gl
npm install roslib
echo “yarn start"
yarn