Difference between revisions of "Advantech Robotic Suite/ros1 bridge"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
  
== Introduction ==
+
= Introduction =
  
RViz is a 3D visualization tool for ROS.
+
To port ROS 1 to ROS 2, the ROS 1 Bridge tool can be used. This tool enables message communication between ROS 1 and ROS 2, allowing nodes from ROS 1 to communicate with nodes from ROS 2 and enabling the use of ROS 1 nodes in ROS 2. <br/>
 +
Github: [https://github.com/ros2/ros1_bridge ros1-bridge]
 +
[[File:ROS2 Suite ros1-bridge.png|center|900x600px|ROS2 Suite SW Structure]]
  
 
&nbsp;
 
&nbsp;
  
== How To ==
+
= How To =
 +
== Install ==
  
Startup
+
1. Install ros1(noetic) and ros2(foxy) on ubuntu 20.04. <br/>
<syntaxhighlight lang="bash">$ ros2 run rviz2 rviz2
+
2. Install ros1-bridge.
 +
<syntaxhighlight lang="bash">$ sudo apt-get install ros-foxy-ros1-bridge
 
</syntaxhighlight>
 
</syntaxhighlight>
  
<span style="font-size:large;"><span style="color:#FF0000;">( Note:&nbsp; If using RViz on EPC-R3720, it needs to use SSH -X method, please follow [[ROS2_Suite_Q&A#How_to_use_RViz_on_EPC-R3720|Q&A]]. )</span></span>
+
== Instructions ==
 +
=== Dynamic_bridge ===
 +
The  <code>dynamic_bridge</code> will watch the available ROS 1 and ROS 2 topics, once a matching topic has been detected it starts to bridge the messages on this topic.
  
  
 
[[Category:Editor]]
 
[[Category:Editor]]

Revision as of 07:10, 25 April 2023

Introduction

To port ROS 1 to ROS 2, the ROS 1 Bridge tool can be used. This tool enables message communication between ROS 1 and ROS 2, allowing nodes from ROS 1 to communicate with nodes from ROS 2 and enabling the use of ROS 1 nodes in ROS 2.
Github: ros1-bridge

ROS2 Suite SW Structure

 

How To

Install

1. Install ros1(noetic) and ros2(foxy) on ubuntu 20.04.
2. Install ros1-bridge.

$ sudo apt-get install ros-foxy-ros1-bridge

Instructions

Dynamic_bridge

The dynamic_bridge will watch the available ROS 1 and ROS 2 topics, once a matching topic has been detected it starts to bridge the messages on this topic.