-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyrobot_guide_16.04.txt
44 lines (36 loc) · 1.26 KB
/
pyrobot_guide_16.04.txt
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
sudo apt update
sudo apt-get install curl
curl 'https://raw.githubusercontent.com/facebookresearch/pyrobot/main/robots/LoCoBot/install/locobot_install_all.sh' > locobot_install_all.sh
vim locobot_install_all.sh
Replace:
sudo pip install --upgrade cryptography
sudo python -m easy_install --upgrade pyOpenSSL
sudo pip install --upgrade pip==20.3
With:
sudo pip install --upgrade pip==20.3
sudo pip install --upgrade cryptography==3.3.2
sudo python -m pip install --upgrade pyOpenSSL==21.0.0
Replace all:
rosdep update
With:
rosdep update --include-eol-distros
chmod +x locobot_install_all.sh
./locobot_install_all.sh -t sim_only -p 2 -l interbotix
When it fails:
sudo pip install cmake
cd Pangolin
git checkout 7987c9b
cd build
cmake ..
make -j16
sudo make install
Rerun installation:
cd
./locobot_install_all.sh -t sim_only -p 2 -l interbotix
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install gazebo7 -y
echo "export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):1" >> ~/.bashrc
echo "export LIBGL_ALWAYS_INDIRECT=0" >> ~/.bashrc
source ~/.bashrc