Hood NUC ROS2 Dashing Binary 202002 Notes and Log

From wikidb
Jump to: navigation, search
nav2binaries20200224.txt

February 24, 2020

eepp@hood:tmp$ 






eepp@hood:~$ sudo apt update && sudo apt install curl gnupg2 lsb-release
[sudo] password for eepp: 
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]   
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [307 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [140 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [193 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.5 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [440 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:13 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,984 B]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.5 kB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [111 kB]
Get:19 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Fetched 1,949 kB in 2s (1,244 kB/s)                                      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
56 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lsb-release is already the newest version (9.20170808ubuntu1).
lsb-release set to manually installed.
The following NEW packages will be installed:
  curl gnupg2 libcurl4
0 upgraded, 3 newly installed, 0 to remove and 56 not upgraded.
Need to get 378 kB of archives.
After this operation, 1,091 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.8 [214 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 gnupg2 all 2.2.4-1ubuntu1.2 [4,668 B]
Fetched 378 kB in 1s (606 kB/s)   
Selecting previously unselected package libcurl4:amd64.
(Reading database ... 135515 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking curl (7.58.0-2ubuntu3.8) ...
Selecting previously unselected package gnupg2.
Preparing to unpack .../gnupg2_2.2.4-1ubuntu1.2_all.deb ...
Unpacking gnupg2 (2.2.4-1ubuntu1.2) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Setting up gnupg2 (2.2.4-1ubuntu1.2) ...
Setting up curl (7.58.0-2ubuntu3.8) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
eepp@hood:~$ 









eepp@hood:~$ curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
OK



eepp@hood:~$ 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'
eepp@hood:~$ 
e




eepp@hood:~$ 
eepp@hood:~$ sudo apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://packages.ros.org/ros2/ubuntu bionic InRelease [3,947 B]           
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease       
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 http://packages.ros.org/ros2/ubuntu bionic/main arm64 Packages [581 kB]
Get:7 http://packages.ros.org/ros2/ubuntu bionic/main amd64 Packages [602 kB]
Fetched 1,187 kB in 1s (1,191 kB/s)                                            
Reading package lists... Done
Building dependency tree       
Reading state information... Done
56 packages can be upgraded. Run 'apt list --upgradable' to see them.



eepp@hood:~$ 
eepp@hood:~$ 
eepp@hood:~$ sudo apt install ros-dashing-desktop
Reading package lists... Done
Building dependency tree       


log here

emacs tmp/ros2desktop20200224.txt &





eepp@hood:~$ 
eepp@hood:~$ sudo apt install ros-dashing-ros-base
[sudo] password for eepp: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-dashing-ros-base is already the newest version (0.7.3-1bionic.20191212.200154).
ros-dashing-ros-base set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
eepp@hood:~$ 



ok must already there




eepp@hood:~$ 
eepp@hood:~$ 
eepp@hood:~$ sudo apt install python3-argcomplet
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3-argcomplet
eepp@hood:~$ 


TBD   second time - fix it



eepp@hood:~$ 
eepp@hood:~$ 
eepp@hood:~$ ros2 run demo_nodes_cpp talker
[INFO] [talker]: Publishing: 'Hello World: 1'
[INFO] [talker]: Publishing: 'Hello World: 2'
[INFO] [talker]: Publishing: 'Hello World: 3'
[INFO] [talker]: Publishing: 'Hello World: 4'
[INFO] [talker]: Publishing: 'Hello World: 5'
[INFO] [talker]: Publishing: 'Hello World: 6'
[INFO] [talker]: Publishing: 'Hello World: 7'
[INFO] [talker]: Publishing: 'Hello World: 8'
[INFO] [talker]:
Publishing: 'Hello World: 9'
[INFO] [talker]: Publishing: 'Hello World: 10'
[INFO] [talker]: Publishing: 'Hello World: 11'





TERMINAL 2

eepp@hood:~$ source /opt/ros/dashing/setup.bash
eepp@hood:~$ ros2 run demo_nodes_py listener
[INFO] [listener]: I heard: [Hello World: 11]
[INFO] [listener]: I heard: [Hello World: 12]
[INFO] [listener]: I heard: [Hello World: 13]
[INFO] [listener]: I heard: [Hello World: 14]
[INFO] [listener]: I heard: [Hello World: 15]
[INFO] [listener]: I heard: [Hello World: 16]
[INFO] [listener]: I heard: [Hello World: 17]
^




Basic test passes




NOTE STOP
last time I may have brokent the install by doing
  Install additional RMW implementations¶

This is need for Bouncy - I'm doing Dashing


NOTE STOP

I'm not going to do ROS 1 packages through the Bridge because
I'm doing Turtlebot 3 which is done in dashing