<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rsewiki.electro.dtu.dk/index.php?action=history&amp;feed=atom&amp;title=Scorpi_Ros_Iron</id>
	<title>Scorpi Ros Iron - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rsewiki.electro.dtu.dk/index.php?action=history&amp;feed=atom&amp;title=Scorpi_Ros_Iron"/>
	<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Scorpi_Ros_Iron&amp;action=history"/>
	<updated>2026-05-03T23:34:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Scorpi_Ros_Iron&amp;diff=6964&amp;oldid=prev</id>
		<title>Jca at 12:42, 20 July 2024</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Scorpi_Ros_Iron&amp;diff=6964&amp;oldid=prev"/>
		<updated>2024-07-20T12:42:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:42, 20 July 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ros2 Iron and YD-Lidar driver on Raspberry Pi 5&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ros2 Iron and YD-Lidar driver on Raspberry Pi 5&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ends &lt;/del&gt;up &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;not &lt;/del&gt;working - switching to 24.04 distribution.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It ends &lt;/ins&gt;up working - &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;but &lt;/ins&gt;switching to 24.04 distribution.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Ros2 Iron==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Ros2 Iron==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jca</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Scorpi_Ros_Iron&amp;diff=6963&amp;oldid=prev</id>
		<title>Jca at 12:40, 20 July 2024</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Scorpi_Ros_Iron&amp;diff=6963&amp;oldid=prev"/>
		<updated>2024-07-20T12:40:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:40, 20 July 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Back to [[Scorpi]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Back to [[Scorpi]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Introduction ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ros2 Iron and YD-Lidar driver on Raspberry Pi 5&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ros2 Iron and YD-Lidar driver on Raspberry Pi 5&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ends up not working - switching to 24.04 distribution.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Ros2 Iron==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Ros2 Iron==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jca</name></author>
	</entry>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Scorpi_Ros_Iron&amp;diff=6962&amp;oldid=prev</id>
		<title>Jca: Created page with &quot;Back to Scorpi   Ros2 Iron and YD-Lidar driver on Raspberry Pi 5  ==Ros2 Iron==  Installation on Raspberry Pi 5 running default 64-bit OS: Debian GNU/Linux 12 (bookworm)  === Base=== Add en_DK.UTF-8 in this list  $ sudo dpkg-reconfigure locales Then run   $ sudo update-locale LC_ALL=en_DK.UTF-8 LANG=en_DK.UTF-8  $ export LANG=en_DK.UTF-8  Compiled packages are not supported for Raspberry 64-bit OS, so install from source, Followed:  https://docs.ros.org/en/iron/Insta...&quot;</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Scorpi_Ros_Iron&amp;diff=6962&amp;oldid=prev"/>
		<updated>2024-07-20T12:39:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Back to &lt;a href=&quot;/index.php?title=Scorpi&quot; title=&quot;Scorpi&quot;&gt;Scorpi&lt;/a&gt;   Ros2 Iron and YD-Lidar driver on Raspberry Pi 5  ==Ros2 Iron==  Installation on Raspberry Pi 5 running default 64-bit OS: Debian GNU/Linux 12 (bookworm)  === Base=== Add en_DK.UTF-8 in this list  $ sudo dpkg-reconfigure locales Then run   $ sudo update-locale LC_ALL=en_DK.UTF-8 LANG=en_DK.UTF-8  $ export LANG=en_DK.UTF-8  Compiled packages are not supported for Raspberry 64-bit OS, so install from source, Followed:  https://docs.ros.org/en/iron/Insta...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Back to [[Scorpi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ros2 Iron and YD-Lidar driver on Raspberry Pi 5&lt;br /&gt;
&lt;br /&gt;
==Ros2 Iron==&lt;br /&gt;
&lt;br /&gt;
Installation on Raspberry Pi 5 running&lt;br /&gt;
default 64-bit OS: Debian GNU/Linux 12 (bookworm)&lt;br /&gt;
&lt;br /&gt;
=== Base===&lt;br /&gt;
Add en_DK.UTF-8 in this list&lt;br /&gt;
 $ sudo dpkg-reconfigure locales&lt;br /&gt;
Then run &lt;br /&gt;
 $ sudo update-locale LC_ALL=en_DK.UTF-8 LANG=en_DK.UTF-8&lt;br /&gt;
 $ export LANG=en_DK.UTF-8&lt;br /&gt;
&lt;br /&gt;
Compiled packages are not supported for Raspberry 64-bit OS, so install from source,&lt;br /&gt;
Followed:&lt;br /&gt;
&lt;br /&gt;
https://docs.ros.org/en/iron/Installation/Alternatives/Ubuntu-Development-Setup.html&lt;br /&gt;
&lt;br /&gt;
The result goes into ~/ros2_iron&lt;br /&gt;
&lt;br /&gt;
Note that &amp;#039;&amp;#039;rosdep&amp;#039;&amp;#039; fails in most cases, as the platform is not that much supported.&lt;br /&gt;
Manual dependency updates are therefore used in most cases.&lt;br /&gt;
&lt;br /&gt;
Note, this command takes maybe 3 hours to compile all (on Raspberry Pi 5 - (8G memory):&lt;br /&gt;
&lt;br /&gt;
cd ~/ros2_iron/&lt;br /&gt;
colcon build --symlink-install&lt;br /&gt;
&lt;br /&gt;
Add this line to ~/.bashrc&lt;br /&gt;
 source /home/local/ros2_iron/install/setup.bash&lt;br /&gt;
&lt;br /&gt;
The examples should now work (in separate terminals)&lt;br /&gt;
 ros2 run demo_nodes_cpp talker&lt;br /&gt;
 ros2 run demo_nodes_py listener&lt;br /&gt;
&lt;br /&gt;
=== ROS2 domain ===&lt;br /&gt;
&lt;br /&gt;
Ros2 domain over local network&lt;br /&gt;
&lt;br /&gt;
 $export | grep ROS_&lt;br /&gt;
&lt;br /&gt;
could show&lt;br /&gt;
&lt;br /&gt;
 declare -x ROS_AUTOMATIC_DISCOVERY_RANGE=&amp;quot;SUBNET&amp;quot;&lt;br /&gt;
 declare -x ROS_DISTRO=&amp;quot;iron&amp;quot;&lt;br /&gt;
 declare -x ROS_DOMAIN_ID=&amp;quot;8&amp;quot;&lt;br /&gt;
 declare -x ROS_LOCALHOST_ONLY=&amp;quot;0&amp;quot;&lt;br /&gt;
 declare -x ROS_PYTHON_VERSION=&amp;quot;3&amp;quot;&lt;br /&gt;
 declare -x ROS_VERSION=&amp;quot;2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In this case, ROS cooperates with others on the local network who also have ROS_DOMAIN_ID=&amp;quot;8.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If used, insert these into ~/.bashrc &lt;br /&gt;
 export ROS_DOMAIN_ID=8&lt;br /&gt;
 export ROS_LOCALHOST_ONLY=&amp;quot;0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
ROS_DOMAIN=0 is the default.&lt;br /&gt;
&lt;br /&gt;
==YDLidar driver==&lt;br /&gt;
&lt;br /&gt;
Make a new ROS2 workspace for this application, here called &amp;#039;&amp;#039;scorpi_ws&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 mkdir -p ~/scorpi/src&lt;br /&gt;
 cd scorpi_ws/src&lt;br /&gt;
&lt;br /&gt;
Get the modified YDLidar driver (modified for &amp;#039;&amp;#039;iron&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
 ls&lt;br /&gt;
   ydlidar_ros2&lt;br /&gt;
&lt;br /&gt;
Modify scorpi_ws/src/ydlidar/params/ydlidar.yaml to the type of YDlidar you use,&lt;br /&gt;
For YDlidar X4 it could look like&lt;br /&gt;
 ydlidar_node:&lt;br /&gt;
  ros__parameters:&lt;br /&gt;
    port: /dev/ttyUSB0&lt;br /&gt;
    frame_id: laser_frame&lt;br /&gt;
    ignore_array: &amp;quot;&amp;quot;&lt;br /&gt;
    baudrate: 128000&lt;br /&gt;
    samp_rate: 9&lt;br /&gt;
    resolution_fixed: true&lt;br /&gt;
    singleChannel: false&lt;br /&gt;
    auto_reconnect: true&lt;br /&gt;
    reversion: true&lt;br /&gt;
    isToFLidar: false&lt;br /&gt;
    angle_max: 180.0&lt;br /&gt;
    angle_min: -180.0&lt;br /&gt;
    max_range: 16.0&lt;br /&gt;
    min_range: 0.1&lt;br /&gt;
    frequency: 10.0&lt;br /&gt;
&lt;br /&gt;
Now build the driver&lt;br /&gt;
&lt;br /&gt;
 cd ..&lt;br /&gt;
 colcon build&lt;br /&gt;
&lt;br /&gt;
You should get a few warnings only.&lt;br /&gt;
&lt;br /&gt;
With the YDLidar X4 connected test with the driver nodes.&lt;br /&gt;
&lt;br /&gt;
 cd ~/scorpi_ws&lt;br /&gt;
 ros2 run ydlidar ydlidar_node&lt;br /&gt;
&lt;br /&gt;
And get something like:&lt;br /&gt;
&lt;br /&gt;
 [YDLIDAR INFO] Current ROS Driver Version: 1.4.5&lt;br /&gt;
 [YDLIDAR INFO] port: /dev/ttyUSB0&lt;br /&gt;
 [YDLIDAR INFO] baudrate: 128000&lt;br /&gt;
 [YDLIDAR]:SDK Version: 1.4.5&lt;br /&gt;
 [YDLIDAR]:Lidar running correctly ! The health status: good&lt;br /&gt;
 [YDLIDAR] Connection established in [/dev/ttyUSB0][128000]:&lt;br /&gt;
 Firmware version: 1.4&lt;br /&gt;
 Hardware version: 1&lt;br /&gt;
 Model: X4&lt;br /&gt;
 Serial: 2018060400000037&lt;br /&gt;
 [YDLIDAR INFO] Current Sampling Rate : 5K&lt;br /&gt;
 [YDLIDAR INFO] Now YDLIDAR is scanning ......&lt;br /&gt;
&lt;br /&gt;
The node should publish /scan, e.g.:&lt;br /&gt;
&lt;br /&gt;
 ros2 topic list&lt;br /&gt;
 /parameter_events&lt;br /&gt;
 /rosout&lt;br /&gt;
 /scan&lt;br /&gt;
&lt;br /&gt;
== SLAM toolbox ==&lt;br /&gt;
&lt;br /&gt;
Fetch the SLAM toolbox from https://github.com/SteveMacenski/slam_toolbox.git&lt;br /&gt;
&lt;br /&gt;
 cd ~/scorpi_ws/src&lt;br /&gt;
 git clone https://github.com/SteveMacenski/slam_toolbox.git&lt;br /&gt;
 &lt;br /&gt;
This can not be build right away, as some dependencies are missing&lt;br /&gt;
&lt;br /&gt;
 sudo apt install libsuitesparse-dev&lt;br /&gt;
 sudo apt install libeigen3-dev&lt;br /&gt;
 sudo apt install libceres-dev&lt;br /&gt;
 sudo apt install libbondcpp-dev&lt;br /&gt;
&lt;br /&gt;
 cd ~/scorpi_ws&lt;br /&gt;
 colcon build&lt;br /&gt;
&lt;br /&gt;
Compile failed with:&lt;br /&gt;
&lt;br /&gt;
 In file included from /home/local/scorpi_ws/src/slam_toolbox/src/slam_toolbox_common.cpp:23:&lt;br /&gt;
 /home/local/scorpi_ws/src/slam_toolbox/include/slam_toolbox/slam_toolbox_common.hpp:34:10: fatal error: bondcpp/bond.hpp: &lt;br /&gt;
 No such file or  directory&lt;br /&gt;
  34 | #include &amp;quot;bondcpp/bond.hpp&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It seems like bond.hpp is not included in the version of libbondcpp-dev.&lt;br /&gt;
&lt;br /&gt;
Bond is used by the lifecycle manager - that can be disabled. So, assuming it will run without, I removed all references to bond in&lt;br /&gt;
 include/slam_toolbox/slam_toolbox_common.hpp&lt;br /&gt;
 src/slam_toolbox_common.cpp&lt;br /&gt;
Two include files, one pointer in the hpp file, two functions and two calls to these functions in the cpp file.&lt;br /&gt;
&lt;br /&gt;
Then the package compiled OK.&lt;/div&gt;</summary>
		<author><name>Jca</name></author>
	</entry>
</feed>