Hood NUC ROS2 TurtleBot3 Packages 20200301 Notes and Log

From wikidb
Jump to: navigation, search
tb320200301.txt

March 1, 2020

Install TurtleBot3 Packages 3.1.4
http://emanual.robotis.com/docs/en/platform/turtlebot3/ros2_setup/
Robotis emanula 



similiar to 
Mehil's tutorials has more stuff because he is do all installs
with source
https://github.com/mlherd/navigation2/tree/new-tutorials/doc/tb3_tutorial
See section Create Turtlebot 3 package





eepp@hood:~$ 
eepp@hood:~$ 
eepp@hood:~$ 
eepp@hood:~$ mkdir -p ~/turtlebot3_ws/src
eepp@hood:~$ 
eepp@hood:~$ 
eepp@hood:~$ cd ~/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$ wget https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos
--2020-03-01 17:27:59--  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: 620 [text/plain]
Saving to: ‘turtlebot3.repos’

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

2020-03-01 17:27:59 (11.0 MB/s) - ‘turtlebot3.repos’ saved [620/620]

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$ vcs import src < turtlebot3.repos
.....
=== 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'.
=== src/utils/DynamixelSDK (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.
=== src/utils/hls_lfcd_lds_driver (git) ===
Cloning into '.'...
Switched to a new branch 'ros2'
Branch 'ros2' set up to track remote branch 'ros2' from 'origin'.





no navigation code in src as Melih states.



IMPORTANT - not in instructions this way

eepp@hood:turtlebot3_ws$ 
eepp@hood:turtlebot3_ws$ 
eepp@hood:turtlebot3_ws$ source /opt/ros/dashing/setup.bash 
eepp@hood:turtlebot3_ws$ 
eepp@hood:turtlebot3_ws$ 
eepp@hood:turtlebot3_ws$ 


OPS i did an optional melih step 
rosdep install --from-paths src --ignore-src -r -y
I don't think I broke anything
see missing .....txt




eepp@hood:turtlebot3_ws$ 
eepp@hood:turtlebot3_ws$ 
eepp@hood:turtlebot3_ws$ 
eepp@hood:turtlebot3_ws$ colcon build --symlink-install
Starting >>> turtlebot3_msgs
Starting >>> dynamixel_sdk
Starting >>> hls_lfcd_lds_driver
Starting >>> turtlebot3_description
Finished <<< turtlebot3_description [5.03s]                          
Starting >>> turtlebot3_cartographer
Finished <<< dynamixel_sdk [6.94s]                                   
Starting >>> turtlebot3_navigation2
Finished <<< turtlebot3_cartographer [4.70s]                             
Starting >>> turtlebot3_teleop
Finished <<< turtlebot3_teleop [3.08s]                                     
Finished <<< turtlebot3_navigation2 [7.34s]                                
Finished <<< hls_lfcd_lds_driver [15.9s]                                   
Finished <<< turtlebot3_msgs [27.7s]                          
Starting >>> turtlebot3_node
Starting >>> turtlebot3_example
Starting >>> turtlebot3_fake_node                               
Finished <<< turtlebot3_example [1.85s]                               
Finished <<< turtlebot3_fake_node [18.5s]                                  
Finished <<< turtlebot3_node [29.0s]                          
Starting >>> turtlebot3_bringup
Finished <<< turtlebot3_bringup [2.02s]                     
Starting >>> turtlebot3
Finished <<< turtlebot3 [1.98s]                         
Starting >>> turtlebot3_gazebo
Finished <<< turtlebot3_gazebo [9.95s]                               
Starting >>> turtlebot3_simulations
Finished <<< turtlebot3_simulations [1.97s]                          

Summary: 14 packages finished [1min 13s]
eepp@hood:turtlebot3_ws$