User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/tutorials/ubuntu_18.04.3_server_ros_dashing_rpi3b.meta failed
tutorials:ubuntu_18.04.3_server_ros_dashing_rpi3b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:ubuntu_18.04.3_server_ros_dashing_rpi3b [2020/01/30 01:28] – [ROS Dashing Installation] lyannicellivtutorials:ubuntu_18.04.3_server_ros_dashing_rpi3b [2022/09/20 00:08] (current) – external edit 127.0.0.1
Line 13: Line 13:
 **Setup Locales** **Setup Locales**
  
 +<code bash>
 sudo locale-gen en_US en_US.UTF-8 sudo locale-gen en_US en_US.UTF-8
  
Line 18: Line 19:
  
 export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
 +</code>
  
 **Install some dependencies** **Install some dependencies**
 +<code bash>
 sudo apt update  sudo apt update 
    
 sudo apt install curl gnupg2 lsb-releasecurl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -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' sudo apt install curl gnupg2 lsb-releasecurl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -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'
  
 +</code>
  
 **Install ROS Dashing** **Install ROS Dashing**
 +<code bash>
 +  sudo apt update
  
-sudo apt update +  sudo apt install ros-dashing-ros-base 
- +</code>
-sudo apt install ros-dashing-ros-base +
  
 ====Testing installation==== ====Testing installation====
  
 In order to verify correct installation, run the following commands in terminal: In order to verify correct installation, run the following commands in terminal:
 +<code bash>
 +  sudo apt install ros-dashing-demo-nodes-cpp ros-dashing-demo-nodes-py
  
-source /opt/ros/dashing/setup.bash+  source /opt/ros/dashing/setup.bash
  
-ros2 run demo_nodes_cpp talker+  ros2 run demo_nodes_cpp talker
  
 +</code>
  
 With ctrl + alt + F2, switch terminal, login, then run the following commands: With ctrl + alt + F2, switch terminal, login, then run the following commands:
  
 +<code bash>
  
 source /opt/ros/dashing/setup.bash source /opt/ros/dashing/setup.bash
  
 ros2 run demo_nodes_py listener ros2 run demo_nodes_py listener
 +
 +</code>
 +
  
 You can switch between terminals with ctrl + alt + F1 and ctrl + alt + F2. You should see a message sent by talker in terminal 1 and receive the same message at terminal 2. You can switch between terminals with ctrl + alt + F1 and ctrl + alt + F2. You should see a message sent by talker in terminal 1 and receive the same message at terminal 2.
tutorials/ubuntu_18.04.3_server_ros_dashing_rpi3b.1580347707.txt.gz · Last modified: 2022/09/20 00:08 (external edit)