Difference between revisions of "Hood Turtlebot3 ROS2 Install Repos Log"

From wikidb
Jump to: navigation, search
(Created page with "<pre> eepp@hood:~$ mkdir -p ~/turtlebot3_ws/src eepp@hood:~$ cd ~/turtlebot3_ws eepp@hood:turtlebot3_ws$ wget https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/tu...")
 
 
Line 2: Line 2:
  
 
eepp@hood:~$ mkdir -p ~/turtlebot3_ws/src
 
eepp@hood:~$ mkdir -p ~/turtlebot3_ws/src
 +
 +
 +
 
eepp@hood:~$ cd ~/turtlebot3_ws
 
eepp@hood:~$ cd ~/turtlebot3_ws
 +
 +
 +
 
eepp@hood:turtlebot3_ws$ wget https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos
 
eepp@hood:turtlebot3_ws$ wget https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos
 
--2019-07-06 09:55:25--  https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos
 
--2019-07-06 09:55:25--  https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos
Line 14: Line 20:
  
 
2019-07-06 09:55:26 (74.5 MB/s) - ‘turtlebot3.repos’ saved [1458/1458]
 
2019-07-06 09:55:26 (74.5 MB/s) - ‘turtlebot3.repos’ saved [1458/1458]
 +
 +
 +
  
 
eepp@hood:turtlebot3_ws$ vcs import src < turtlebot3.repos
 
eepp@hood:turtlebot3_ws$ vcs import src < turtlebot3.repos
  
 
Command 'vcs' not found, but there are 17 similar ones.
 
Command 'vcs' not found, but there are 17 similar ones.
 +
 +
 +
  
 
eepp@hood:turtlebot3_ws$ sudo apt-get install python3-vcstool
 
eepp@hood:turtlebot3_ws$ sudo apt-get install python3-vcstool
Line 35: Line 47:
 
Unpacking python3-vcstool (0.2.1-1) ...
 
Unpacking python3-vcstool (0.2.1-1) ...
 
Setting up python3-vcstool (0.2.1-1) ...
 
Setting up python3-vcstool (0.2.1-1) ...
 +
 +
 +
 
eepp@hood:turtlebot3_ws$ vcs import src < turtlebot3.repos
 
eepp@hood:turtlebot3_ws$ vcs import src < turtlebot3.repos
 
............
 
............
Line 85: Line 100:
 
Switched to a new branch 'ros2'
 
Switched to a new branch 'ros2'
 
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
 
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
eepp@hood:turtlebot3_ws$
+
 
eepp@hood:turtlebot3_ws$
+
 
eepp@hood:turtlebot3_ws$
+
 
eepp@hood:turtlebot3_ws$ history
+
 
    1  ifconfig
+
    2  sudo apt-get install net-tools
+
    3  sudo apt install net-tools
+
    4  ifconfig
+
    5  sudo apt install emacs
+
    6  sudo apt update
+
    7  sudo apt install emacs
+
    8  sudo apt install net-tools
+
    9  ifconfigt
+
  10  ifconfig
+
  11  sudo apt install openssh-server
+
  12  cd /etc/default/
+
  13  ls
+
  14  emacs grub
+
  15  sudo cp grub grub.org
+
  16  ll
+
  17  emacs grub&
+
  18  sudo emacs grub&
+
  19  diff grub.org grub
+
  20  sudo update-grub
+
  21  systemctl get-default
+
  22  sudo systemctl set-default multi-user.target
+
  23  sudo service lightdm start
+
  24  sudo service gdm start
+
  25  sudo service gdm start
+
  26  sudo locale-gen en_US en_US.UTF-8
+
  27  sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
+
  28  export LANG=en_US.UTF-8
+
  29  sudo apt update
+
  30  sudo apt install curl gnupg2 lsb-release
+
  31  curl http://repo.ros2.org/repos.key | sudo apt-key add -
+
  32  sudo sh -c 'echo "deb [arch=amd64,arm64] http://packages.ros.org/ros2/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-latest.list'
+
  33  export CHOOSE_ROS_DISTRO=crystal
+
  34  sudo apt update
+
  35  sudo apt install ros-$CHOOSE_ROS_DISTRO-desktop
+
  36  sudo apt install ros-$CHOOSE_ROS_DISTRO-ros-base
+
  37  sudo apt install python3-argcomplete
+
  38  source /opt/ros/$CHOOSE_ROS_DISTRO/setup.bash
+
  39  echo "source /opt/ros/$CHOOSE_ROS_DISTRO/setup.bash" >> ~/.bashrc
+
  40  cat .bashr
+
  41  cat .bashrc
+
  42  emacs .bashrc &
+
  43  df
+
  44  sudo service gdm start
+
  45  ls
+
  46  echo $ROS_DISTRO
+
  47  which colcon
+
  48  sudo apt install python3-colcon-common-extensions
+
  49  which colcon
+
  50  mkdir -p ~/ros2_example_ws/src
+
  51  cd ~/ros2_example_ws
+
  52  ls
+
  53  ls src/
+
  54  git clone https://github.com/ros2/examples src/examples
+
  55  sudo apt update
+
  56  sudo apt install git
+
  57  git --version
+
  58  git clone https://github.com/ros2/examples src/examples
+
  59  ls -R
+
  60  ls
+
  61  ls src/
+
  62  ls src/examples/
+
  63  cd ~/ros2_example_ws/src/examples/
+
  64  git checkout $ROS_DISTRO
+
  65  cd ~/ros2_example_ws
+
  66  echo $ROS_DISTRO
+
  67  sudo service gdm start
+
  68  ros2 run examples_rclcpp_minimal_subscriber subscriber_member_function
+
  69  ros2 topic
+
  70  ros2 run examples_rclcpp_minimal_subscriber subscriber_member_function
+
  71  cd ros2_example_ws/src/examples/
+
  72  ls
+
  73  ls rclcpp/
+
  74  cd rclcpp/minimal_publisher/
+
  75  ls
+
  76  emacs ~/.bashrd&
+
  77  emacs ~/.bashrc&
+
  78  . ~/.bashrc
+
  79  ls ..
+
  80  ls
+
  81  emacs package.xml &
+
  82  emacs CMakeLists.txt &
+
  83  ls
+
  84  cd ..
+
  85  ls
+
  86  cd minimal_publisher/
+
  87  emacs README.md &
+
  88  ls
+
  89  ls ..
+
  90  ls ../..
+
  91  ls
+
  92  more README.md
+
  93  ls
+
  94  more CMakeLists.txt
+
  95  ls
+
  96  ll
+
  97  emacs member_function.cpp &
+
  98  ros2 topic list
+
  99  ros2 node list
+
  100  ros2 run rqt_plot
+
  101  ros2 run rqt_plot minimal_publisher minimal_subscriber
+
  102  rosrun run rqt_plot minimal_publisher minimal_subscriber
+
  103  rqt_plot
+
  104  rqt_graph
+
  105  ls
+
  106  emacs lambda.cpp &
+
  107  emacs not_composable.cpp &
+
  108  more README.md
+
  109  ls
+
  110  ls ..
+
  111  ls
+
  112  cd ../..
+
  113  ls
+
  114  cd rclpy/
+
  115  ls
+
  116  cd topics/
+
  117  ls
+
  118  ls minimal_publisher/
+
  119  ls
+
  120  cd minimal_publisher/
+
  121  ls
+
  122  ls test/
+
  123  more setup.py
+
  124  ls
+
  125  ls examples_rclpy_minimal_publisher/
+
  126  cd examples_rclpy_minimal_publisher/
+
  127  ls
+
  128  more publisher_old_school.py
+
  129  emacs publisher_old_school.py &
+
  130  ls ..
+
  131  ros2 run examples_rclcpp_minimal_publisher publisher_member_function
+
  132  cd ros2_example_ws/
+
  133  ls
+
  134  ls src
+
  135  . ../.bashrc
+
  136  ls
+
  137  colcon build --symlink-install
+
  138  ls
+
  139  ls install/
+
  140  ls install/examples_rclcpp_minimal_publisher/
+
  141  ls install/examples_rclcpp_minimal_publisher/lib/
+
  142  ls install/examples_rclcpp_minimal_publisher/lib/examples_rclcpp_minimal_publisher/
+
  143  colcon test
+
  144  . install/setup.bash
+
  145  sudo service gdm start
+
  146  sudo apt install -y google-mock
+
  147  sudo apt install -y libceres-dev
+
  148  sudo apt install -y liblua5.3-dev
+
  149  sudo apt install -y libboost-dev
+
  150  sudo apt install -y libboost-iostreams-dev
+
  151  sudo apt install -y libprotobuf-dev
+
  152  sudo apt install -y protobuf-compiler
+
  153  sudo apt install -y libcairo2-dev
+
  154  sudo apt install -y libpcl-dev
+
  155  sudo apt install -y python3-sphinx
+
  156  history
+
  157  curl -sSL http://get.gazebosim.org | sh
+
  158  sudo apt install -y libsdl-image1.2
+
  159  sudo apt install -y libsdl-image1.2-dev
+
  160  sudo apt install -y libsdl1.2debian
+
  161  sudo apt install -y libsdl1.2-dev
+
  162  history
+
  163  mkdir -p ~/turtlebot3_ws/src
+
  164  cd ~/turtlebot3_ws
+
  165  wget https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos
+
  166  vcs import src < turtlebot3.repos
+
  167  sudo apt-get install python3-vcstool
+
  168  vcs import src < turtlebot3.repos
+
  169  history
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$ ls ..
+
Desktop    Downloads        Music    Public          Templates      Videos
+
Documents  examples.desktop  Pictures  ros2_example_ws  turtlebot3_ws
+
eepp@hood:turtlebot3_ws$ ls
+
src  turtlebot3.repos
+
eepp@hood:turtlebot3_ws$ ls src
+
cartographer  gazebo  navigation2  turtlebot3
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
eepp@hood:turtlebot3_ws$
+
 
eepp@hood:turtlebot3_ws$ colcon build --symlink-install
 
eepp@hood:turtlebot3_ws$ colcon build --symlink-install
 
Starting >>> nav2_common
 
Starting >>> nav2_common

Latest revision as of 10:17, 6 July 2019


eepp@hood:~$ mkdir -p ~/turtlebot3_ws/src



eepp@hood:~$ cd ~/turtlebot3_ws



eepp@hood:turtlebot3_ws$ wget https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos
--2019-07-06 09:55:25--  https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.52.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.52.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1458 (1.4K) [text/plain]
Saving to: ‘turtlebot3.repos’

turtlebot3.repos    100%[==================>]   1.42K  --.-KB/s    in 0s      

2019-07-06 09:55:26 (74.5 MB/s) - ‘turtlebot3.repos’ saved [1458/1458]




eepp@hood:turtlebot3_ws$ vcs import src < turtlebot3.repos

Command 'vcs' not found, but there are 17 similar ones.




eepp@hood:turtlebot3_ws$ sudo apt-get install python3-vcstool
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  python3-vcstool
0 upgraded, 1 newly installed, 0 to remove and 238 not upgraded.
Need to get 21.1 kB of archives.
After this operation, 161 kB of additional disk space will be used.
Get:1 http://packages.ros.org/ros2/ubuntu bionic/main amd64 python3-vcstool all 0.2.1-1 [21.1 kB]
Fetched 21.1 kB in 0s (150 kB/s)         
Selecting previously unselected package python3-vcstool.
(Reading database ... 242504 files and directories currently installed.)
Preparing to unpack .../python3-vcstool_0.2.1-1_all.deb ...
Unpacking python3-vcstool (0.2.1-1) ...
Setting up python3-vcstool (0.2.1-1) ...



eepp@hood:turtlebot3_ws$ vcs import src < turtlebot3.repos
............
=== src/cartographer/cartographer (git) ===
Cloning into '.'...
Switched to a new branch 'dashing'
Branch 'dashing' set up to track remote branch 'dashing' from 'origin'.
=== src/cartographer/cartographer_ros (git) ===
Cloning into '.'...
Switched to a new branch 'dashing'
Branch 'dashing' set up to track remote branch 'dashing' from 'origin'.
=== src/cartographer/pcl_conversions (git) ===
Cloning into '.'...
Already on 'ros2'
Your branch is up to date with 'origin/ros2'.
=== src/gazebo/camera_info_manager (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
=== src/gazebo/gazebo_ros_pkgs (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
=== src/gazebo/vision_opencv (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
=== src/navigation2/BehaviorTree.CPP (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
=== src/navigation2/angles (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
=== src/navigation2/navigation2 (git) ===
Cloning into '.'...
Switched to a new branch 'dashing-devel'
Branch 'dashing-devel' set up to track remote branch 'dashing-devel' from 'origin'.
=== src/turtlebot3/turtlebot3 (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
=== src/turtlebot3/turtlebot3_msgs (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
=== src/turtlebot3/turtlebot3_simulations (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.




eepp@hood:turtlebot3_ws$ colcon build --symlink-install
Starting >>> nav2_common
Starting >>> nav_2d_msgs
Starting >>> angles
Starting >>> behaviortree_cpp
Finished <<< nav2_common [1.54s]                                   
Starting >>> nav2_msgs
Finished <<< angles [3.70s]                                      
Starting >>> nav2_voxel_grid
[Processing: behaviortree_cpp, nav2_msgs, nav2_voxel_grid, nav_2d_msgs]
Finished <<< nav2_voxel_grid [43.7s]                                   
Starting >>> cv_bridge
--- stderr: cv_bridge                                                  
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
CMake Error at src/CMakeLists.txt:27 (message):
  Could not determine the NumPy include directory, verify that NumPy was
  installed correctly.


---
Failed   <<< cv_bridge	[ Exited with code 1 ]
Aborted  <<< nav_2d_msgs                               
Aborted  <<< behaviortree_cpp                          
Aborted  <<< nav2_msgs                                                     

Summary: 3 packages finished [4min 35s]
  1 package failed: cv_bridge
  3 packages aborted: behaviortree_cpp nav2_msgs nav_2d_msgs
  1 package had stderr output: cv_bridge
  48 packages not processed