forked from shinkansan/2019-UGRP-DPoom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DPoom_install_from_scratch
83 lines (60 loc) · 3.58 KB
/
DPoom_install_from_scratch
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
83
(Re-install again on 9/23....)
sudo apt install git
git clone https://github.com/shinkansan/2019-UGRP-DPoom.git
# install ROS kinetic
http://wiki.ros.org/kinetic/Installation/Ubuntu
# install realsense SDK 2.0
Go to: https://github.com/IntelRealSense/realsense-ros
In Step 1, Install Debian Package !!
IF 'realsense-viewer' is working, Step 1 is finish (must install optional apt-get too!!)
Step 2 is already finished, because ROS is installed above
sudo apt-get install ros-kinetic-ddynamic-reconfigure
Follow step 3
sudo apt-get install ros-kinetic-joy ros-kinetic-teleop-twist-joy ros-kinetic-teleop-twist-keyboard ros-kinetic-laser-proc ros-kinetic-rgbd-launch ros-kinetic-depthimage-to-laserscan ros-kinetic-rosserial-arduino ros-kinetic-rosserial-python ros-kinetic-rosserial-server ros-kinetic-rosserial-client ros-kinetic-rosserial-msgs ros-kinetic-amcl ros-kinetic-map-server ros-kinetic-move-base ros-kinetic-urdf ros-kinetic-xacro ros-kinetic-compressed-image-transport ros-kinetic-rqt-image-view ros-kinetic-gmapping ros-kinetic-navigation ros-kinetic-interactive-markers
cd ~/catkin_ws/src
git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
cd ..
catkin_make
pip install pyrealsense2
and something else that says it doesn't have
(success...!!!)
---------------------------------------------------
sudo apt purge python2.7-minimal # erase python2.7
sudo apt-get install python3-dev
sudo apt install git
git clone https://github.com/shinkansan/2019-UGRP-DPoom.git
# install ROS kinetic
http://wiki.ros.org/kinetic/Installation/Ubuntu
# install realsense SDK 2.0
Go to: https://github.com/IntelRealSense/realsense-ros
In Step 1, Install Debian Package !!
IF 'realsense-viewer' is working, Step 1 is finish (must install optional apt-get too!!)
Step 2 is already finished, because ROS is installed above
*** when run 'python', python2.7 is reinstalled...
So, followed these steps
----------
mkdir catkin_ws
cd catkin_ws
mkdir src
cd src
git clone https://github.com/ros/geometry
git clone https://github.com/ros/geometry2
(* turtlebot3) git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
sudo apt-get install ros-kinetic-joy ros-kinetic-teleop-twist-joy ros-kinetic-teleop-twist-keyboard ros-kinetic-laser-proc ros-kinetic-rgbd-launch ros-kinetic-depthimage-to-laserscan ros-kinetic-rosserial-arduino ros-kinetic-rosserial-python ros-kinetic-rosserial-server ros-kinetic-rosserial-client ros-kinetic-rosserial-msgs ros-kinetic-amcl ros-kinetic-map-server ros-kinetic-move-base ros-kinetic-urdf ros-kinetic-xacro ros-kinetic-compressed-image-transport ros-kinetic-rqt-image-view ros-kinetic-gmapping ros-kinetic-navigation ros-kinetic-interactive-markers
cd ..
virtualenv -p /usr/bin/python3 venv
source venv/bin/activate
pip install catkin_pkg pyyaml empy rospkg numpy
** sudo apt-get install ros-kinetic-tf2-bullet
catkin_make
source devel/setup.bash
-----------
* sudo apt-get install ros-kinetic-ddynamic-reconfigure
Follow step 3
# when sys.path
sys.path
['', '/home/dpoom/catkin_ws/devel/lib/python3/dist-packages', '/opt/ros/kinetic/lib/python2.7/dist-packages', '/home/dpoom/catkin_ws/venv/lib/python35.zip', '/home/dpoom/catkin_ws/venv/lib/python3.5', '/home/dpoom/catkin_ws/venv/lib/python3.5/plat-x86_64-linux-gnu', '/home/dpoom/catkin_ws/venv/lib/python3.5/lib-dynload', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/home/dpoom/catkin_ws/venv/lib/python3.5/site-packages']
python2.7 must be after 'devel/lib/python3' !!!!!
Then, 'import tf' is success!!!!!!