-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
85 lines (58 loc) · 2.43 KB
/
install.sh
File metadata and controls
85 lines (58 loc) · 2.43 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#---------------------- ROS Instal --------------------
sudo apt install ros-melodic-openni-launch
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
sudo apt update
sudo apt install ros-melodic-desktop-full
sudo rosdep init
rosdep update
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
mkdir ~/Jonas_workspace
cd Jonas_workspace/
sudo apt-get install g++
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install freeglut3-dev
#----------------------- OpenNi2 install ----------------------------
sudo apt install ros-melodic-openni2-launch
#----------------------- OpneNi2 Camera Test --------------------------
#roslaunch openni2_launch openni2.launch
#rosrun image_view disparity_view image:=/camera/depth/disparity
#rosrun image_view image_view image:=/camera/rgb/image_mono
#rosrun image_view disparity_view image:=/camera/depth_registered/disparity
#rosrun image_view disparity_view image:=/camera/depth/disparity
#roslaunch openni_launch openni.launch
#roslaunch openni2_launch openni2.launch
#roslaunch openni_launch openni.launch
#roslaunch openni2_launch openni2.launch
#rostopic echo /camera/rgb
#--------------- camara Topic --------------
#rostopic echo /camera/rgb/image_raw
#rosrun image_view image_view image:=/camera/rgb/image_color
#roscore
#rosrun rqt_reconfigure rqt_reconfigure
#rostopic list
#rosrun rviz rviz
#-----------------Ros init -------------------
#mkdir -p Jonas_workspace/catkin_ws/src
#cd ~/catkin_ws/
# catkin_make
#---------------- Git init ---------------------------
#git init
#git remote add origin https://github.com/JonasPruessing/Master.git
#gedit .gitignore
#git status
#git commit .
#git add .
#git config --global user.name JonasPrüssing
#git push
#git remote add origin https://github.com/JonasPruessing/Master.git
#git push --set-upstream origin master
#---------------------- Darknet install ----------------
#Follow https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html
cd catkin_workspace/src
git clone --recursive [email protected]:leggedrobotics/darknet_ros.git
cd ../
for compile.
catkin_make -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6