scieee AI-readable full text Open interactive document viewer

Mobile robot perception system in ROS 2 on embedded computing platform

Zemčík, Tomáš; Kratochvíla, Lukáš

Abstract

In this paper a perception system of a mobile robot is proposed and implemented combining a LiDAR sensor with a colour camera. Localisation of unknown objects in an a priori known environment and their classification is required in order for the robot to safety and reliably navigate the working area. To this end, a pipeline is proposed to process and fuse the LiDAR 3D point-cloud data with a monocular colour camera image classifications yielding precisely localised 3D detections with class designations. The proposed pipeline is designed to run on limited computational power embedded platforms in the ROS 2 environment, and has been tested on a robotic testbench.

Full text

IFAC PapersOnLine 58-9 (2024) 305–310 ScienceDirect ScienceDirect Available online at www.sciencedirect.com 2405-8963 Copyright © 2024 The Authors. This is an open access article under the CC BY-NC-ND license . Peer review under responsibility of International Federation of Automatic Control. 10.1016/j.ifacol.2024.07.414 10.1016/j.ifacol.2024.07.414 2405-8963 Mobile robot perception system in ROS 2 on embedded computing platforms Tom´aˇs Zemˇc´ık ∗Luk´aˇs Kratochv´ıla ∗∗ ∗Brno University of Technology, Brno (e-mail: zemcikt@ vut.cz). ∗∗ Brno University of Technology, Brno (e-mail: kratochvila@ vut.cz). Abstract: In this paper a perception system of a mobile robot is proposed and implemented combining a LiDAR sensor with a colour camera. Localisation of unknown objects in an a priori known environment and their classification is required in order for the robot to safely and reliably navigate the working area. To this end, a pipeline is proposed to process and fuse the LiDAR 3D point-cloud data with a monocular colour camera image classifications yielding precisely localised 3D detections with class designations. The proposed pipeline is designed to run on limited computational power embedded platforms in the ROS 2 environment, and has been tested on a robotic testbench. Keywords: Mobile robot, known environment, ROS 2, sensor fusion, object detection, 3D object localisation. 1. INTRODUCTION In pursuit of implementation of practical mobile robots the sensing and perception systems represent a large part of the effort. Sensing in this context means operating the sensors and performing low-level processing on the data. Perception means higher level processing including multimodal data fusion to arrive at some understanding of the environment beyond the mere raw sensor data. This may entail anything from fairly simple methods to very complex architectures requiring significant computational power and therefore sophisticated, costly, power-hungry and large hardware. One of the challenges in today’s robotics is finding such methods that would fulfil the set task while running on the comparatively modest hardware that are today’s embedded platforms. In this short paper we are concerned with designing a perception system of a mobile robot using a colour camera and a LiDAR sensor that would reliably detect, classify and localise object in indoor environments. This system will be used in an environment with a known layout, and is supposed to only detect objects that are not in the existing map. 2. RELATED WORKS In a mobile robot sensing and perception system considerations have to be made about the nature of the robot, the environment and the desired outcomes of the system. These affect the composition and configuration of the sensor suite, the selected algorithms and methods used. The methods used in turn give the developer a baseline for ⋆The completion of this paper was made possible by the grant No. FEKT-S-23-8451 - ”Research on advanced methods and technologies in cybernetics, robotics, artificial intelligence, automation and measurement” financially supported by the Internal science fund of Brno University of Technology. computational hardware selection. Another serious consideration is the conception and environment for the robot’s software. 2.1 ROS The original Robot Operating System (or ROS) was introduced in Quigley et al. (2009) to provide a framework for robotics developers to base their software in. It is based on some fundamental principles outlined as Peer-to- peer, Tools-based, Multi-lingual, Thin and Free and Open- Source. This affords the user a great amount of flexibility in programming their robots. Since its introduction, ROS variants and their developments have become the de facto standard in the world of robotics research and development, and to a great extent also in deployment. Since the inception of the original ROS, a number of issues have emerged in areas like security, embedded system performance and communication performance as described in Macenski et al. (2022) and Nguyen et al. (2022). Therefore a new development that entirely redesigns the internal workings has been introduced - the ROS 2 (further described in Steven Macenski and Ge (2023)) - that addresses these problems and adds flexibility, more capabilities and generally improves security and performance. 2.2 Robot perception systems A significant amount of research is being done about mobile robot (and the related autonomous vehicle) perception systems. The significant differences among the approaches lie in the selection of the sensor suite - which dictates the available methods. Arnold et al. (2019) divide them into three main categories: •Monocular - Using a single camera •Point-cloud based ·Projection - projects points into 2D using 2D object detectors Mobile robot perception system in ROS 2 on embedded computing platforms Tom´aˇs Zemˇc´ık ∗Luk´aˇs Kratochv´ıla ∗∗ ∗Brno University of Technology, Brno (e-mail: zemcikt@ vut.cz). ∗∗ Brno University of Technology, Brno (e-mail: kratochvila@ vut.cz). Abstract: In this paper a perception system of a mobile robot is proposed and implemented combining a LiDAR sensor with a colour camera. Localisation of unknown objects in an a priori known environment and their classification is required in order for the robot to safely and reliably navigate the working area. To this end, a pipeline is proposed to process and fuse the LiDAR 3D point-cloud data with a monocular colour camera image classifications yielding precisely localised 3D detections with class designations. The proposed pipeline is designed to run on limited computational power embedded platforms in the ROS 2 environment, and has been tested on a robotic testbench. Keywords: Mobile robot, known environment, ROS 2, sensor fusion, object detection, 3D object localisation. 1. INTRODUCTION In pursuit of implementation of practical mobile robots the sensing and perception systems represent a large part of the effort. Sensing in this context means operating the sensors and performing low-level processing on the data. Perception means higher level processing including multimodal data fusion to arrive at some understanding of the environment beyond the mere raw sensor data. This may entail anything from fairly simple methods to very complex architectures requiring significant computational power and therefore sophisticated, costly, power-hungry and large hardware. One of the challenges in today’s robotics is finding such methods that would fulfil the set task while running on the comparatively modest hardware that are today’s embedded platforms. In this short paper we are concerned with designing a perception system of a mobile robot using a colour camera and a LiDAR sensor that would reliably detect, classify and localise object in indoor environments. This system will be used in an environment with a known layout, and is supposed to only detect objects that are not in the existing map. 2. RELATED WORKS In a mobile robot sensing and perception system considerations have to be made about the nature of the robot, the environment and the desired outcomes of the system. These affect the composition and configuration of the sensor suite, the selected algorithms and methods used. The methods used in turn give the developer a baseline for ⋆The completion of this paper was made possible by the grant No. FEKT-S-23-8451 - ”Research on advanced methods and technologies in cybernetics, robotics, artificial intelligence, automation and measurement” financially supported by the Internal science fund of Brno University of Technology. computational hardware selection. Another serious consideration is the conception and environment for the robot’s software. 2.1 ROS The original Robot Operating System (or ROS) was introduced in Quigley et al. (2009) to provide a framework for robotics developers to base their software in. It is based on some fundamental principles outlined as Peer-to- peer, Tools-based, Multi-lingual, Thin and Free and Open- Source. This affords the user a great amount of flexibility in programming their robots. Since its introduction, ROS variants and their developments have become the de facto standard in the world of robotics research and development, and to a great extent also in deployment. Since the inception of the original ROS, a number of issues have emerged in areas like security, embedded system performance and communication performance as described in Macenski et al. (2022) and Nguyen et al. (2022). Therefore a new development that entirely redesigns the internal workings has been introduced - the ROS 2 (further described in Steven Macenski and Ge (2023)) - that addresses these problems and adds flexibility, more capabilities and generally improves security and performance. 2.2 Robot perception systems A significant amount of research is being done about mobile robot (and the related autonomous vehicle) perception systems. The significant differences among the approaches lie in the selection of the sensor suite - which dictates the available methods. Arnold et al. (2019) divide them into three main categories: •Monocular - Using a single camera •Point-cloud based ·Projection - projects points into 2D using 2D object detectors Mobile robot perception system in ROS 2 on embedded computing platforms Tom´aˇs Zemˇc´ık ∗Luk´aˇs Kratochv´ıla ∗∗ ∗Brno University of Technology, Brno (e-mail: zemcikt@ vut.cz). ∗∗ Brno University of Technology, Brno (e-mail: kratochvila@ vut.cz). Abstract: In this paper a perception system of a mobile robot is proposed and implemented combining a LiDAR sensor with a colour camera. Localisation of unknown objects in an a priori known environment and their classification is required in order for the robot to safely and reliably navigate the working area. To this end, a pipeline is proposed to process and fuse the LiDAR 3D point-cloud data with a monocular colour camera image classifications yielding precisely localised 3D detections with class designations. The proposed pipeline is designed to run on limited computational power embedded platforms in the ROS 2 environment, and has been tested on a robotic testbench. Keywords: Mobile robot, known environment, ROS 2, sensor fusion, object detection, 3D object localisation. 1. INTRODUCTION In pursuit of implementation of practical mobile robots the sensing and perception systems represent a large part of the effort. Sensing in this context means operating the sensors and performing low-level processing on the data. Perception means higher level processing including multimodal data fusion to arrive at some understanding of the environment beyond the mere raw sensor data. This may entail anything from fairly simple methods to very complex architectures requiring significant computational power and therefore sophisticated, costly, power-hungry and large hardware. One of the challenges in today’s robotics is finding such methods that would fulfil the set task while running on the comparatively modest hardware that are today’s embedded platforms. In this short paper we are concerned with designing a perception system of a mobile robot using a colour camera and a LiDAR sensor that would reliably detect, classify and localise object in indoor environments. This system will be used in an environment with a known layout, and is supposed to only detect objects that are not in the existing map. 2. RELATED WORKS In a mobile robot sensing and perception system considerations have to be made about the nature of the robot, the environment and the desired outcomes of the system. These affect the composition and configuration of the sensor suite, the selected algorithms and methods used. The methods used in turn give the developer a baseline for ⋆The completion of this paper was made possible by the grant No. FEKT-S-23-8451 - ”Research on advanced methods and technologies in cybernetics, robotics, artificial intelligence, automation and measurement” financially supported by the Internal science fund of Brno University of Technology. computational hardware selection. Another serious consideration is the conception and environment for the robot’s software. 2.1 ROS The original Robot Operating System (or ROS) was introduced in Quigley et al. (2009) to provide a framework for robotics developers to base their software in. It is based on some fundamental principles outlined as Peer-to- peer, Tools-based, Multi-lingual, Thin and Free and Open- Source. This affords the user a great amount of flexibility in programming their robots. Since its introduction, ROS variants and their developments have become the de facto standard in the world of robotics research and development, and to a great extent also in deployment. Since the inception of the original ROS, a number of issues have emerged in areas like security, embedded system performance and communication performance as described in Macenski et al. (2022) and Nguyen et al. (2022). Therefore a new development that entirely redesigns the internal workings has been introduced - the ROS 2 (further described in Steven Macenski and Ge (2023)) - that addresses these problems and adds flexibility, more capabilities and generally improves security and performance. 2.2 Robot perception systems A significant amount of research is being done about mobile robot (and the related autonomous vehicle) perception systems. The significant differences among the approaches lie in the selection of the sensor suite - which dictates the available methods. Arnold et al. (2019) divide them into three main categories: •Monocular - Using a single camera •Point-cloud based ·Projection - projects points into 2D using 2D object detectors Mobile robot perception system in ROS 2 on embedded computing platforms Tom´aˇs Zemˇc´ık ∗Luk´aˇs Kratochv´ıla ∗∗ ∗ Brno University of Technology, Brno (e-mail: zemcikt@ vut.cz). ∗∗ Brno University of Technology, Brno (e-mail: kratochvila@ vut.cz). Abstract: In this paper a perception system of a mobile robot is proposed and implemented combining a LiDAR sensor with a colour camera. Localisation of unknown objects in an a priori known environment and their classification is required in order for the robot to safely and reliably navigate the working area. To this end, a pipeline is proposed to process and fuse the LiDAR 3D point-cloud data with a monocular colour camera image classifications yielding precisely localised 3D detections with class designations. The proposed pipeline is designed to run on limited computational power embedded platforms in the ROS 2 environment, and has been tested on a robotic testbench. Keywords: Mobile robot, known environment, ROS 2, sensor fusion, object detection, 3D object localisation. 1. INTRODUCTION In pursuit of implementation of practical mobile robots the sensing and perception systems represent a large part of the effort. Sensing in this context means operating the sensors and performing low-level processing on the data. Perception means higher level processing including multimodal data fusion to arrive at some understanding of the environment beyond the mere raw sensor data. This may entail anything from fairly simple methods to very complex architectures requiring significant computational power and therefore sophisticated, costly, power-hungry and large hardware. One of the challenges in today’s robotics is finding such methods that would fulfil the set task while running on the comparatively modest hardware that are today’s embedded platforms. In this short paper we are concerned with designing a perception system of a mobile robot using a colour camera and a LiDAR sensor that would reliably detect, classify and localise object in indoor environments. This system will be used in an environment with a known layout, and is supposed to only detect objects that are not in the existing map. 2. RELATED WORKS In a mobile robot sensing and perception system considerations have to be made about the nature of the robot, the environment and the desired outcomes of the system. These affect the composition and configuration of the sensor suite, the selected algorithms and methods used. The methods used in turn give the developer a baseline for ⋆The completion of this paper was made possible by the grant No. FEKT-S-23-8451 - ”Research on advanced methods and technologies in cybernetics, robotics, artificial intelligence, automation and measurement” financially supported by the Internal science fund of Brno University of Technology. computational hardware selection. Another serious consideration is the conception and environment for the robot’s software. 2.1 ROS The original Robot Operating System (or ROS) was introduced in Quigley et al. (2009) to provide a framework for robotics developers to base their software in. It is based on some fundamental principles outlined as Peer-to- peer, Tools-based, Multi-lingual, Thin and Free and Open- Source. This affords the user a great amount of flexibility in programming their robots. Since its introduction, ROS variants and their developments have become the de facto standard in the world of robotics research and development, and to a great extent also in deployment. Since the inception of the original ROS, a number of issues have emerged in areas like security, embedded system performance and communication performance as described in Macenski et al. (2022) and Nguyen et al. (2022). Therefore a new development that entirely redesigns the internal workings has been introduced - the ROS 2 (further described in Steven Macenski and Ge (2023)) - that addresses these problems and adds flexibility, more capabilities and generally improves security and performance. 2.2 Robot perception systems A significant amount of research is being done about mobile robot (and the related autonomous vehicle) perception systems. The significant differences among the approaches lie in the selection of the sensor suite - which dictates the available methods. Arnold et al. (2019) divide them into three main categories: •Monocular - Using a single camera •Point-cloud based ·Projection - projects points into 2D using 2D object detectors Mobile robot perception system in ROS 2 on embedded computing platforms Tom´aˇs Zemˇc´ık ∗ Luk´aˇs Kratochv´ıla ∗∗ ∗Brno University of Technology, Brno (e-mail: zemcikt@ vut.cz). ∗∗ Brno University of Technology, Brno (e-mail: kratochvila@ vut.cz). Abstract: In this paper a perception system of a mobile robot is proposed and implemented combining a LiDAR sensor with a colour camera. Localisation of unknown objects in an a priori known environment and their classification is required in order for the robot to safely and reliably navigate the working area. To this end, a pipeline is proposed to process and fuse the LiDAR 3D point-cloud data with a monocular colour camera image classifications yielding precisely localised 3D detections with class designations. The proposed pipeline is designed to run on limited computational power embedded platforms in the ROS 2 environment, and has been tested on a robotic testbench. Keywords: Mobile robot, known environment, ROS 2, sensor fusion, object detection, 3D object localisation. 1. INTRODUCTION In pursuit of implementation of practical mobile robots the sensing and perception systems represent a large part of the effort. Sensing in this context means operating the sensors and performing low-level processing on the data. Perception means higher level processing including multimodal data fusion to arrive at some understanding of the environment beyond the mere raw sensor data. This may entail anything from fairly simple methods to very complex architectures requiring significant computational power and therefore sophisticated, costly, power-hungry and large hardware. One of the challenges in today’s robotics is finding such methods that would fulfil the set task while running on the comparatively modest hardware that are today’s embedded platforms. In this short paper we are concerned with designing a perception system of a mobile robot using a colour camera and a LiDAR sensor that would reliably detect, classify and localise object in indoor environments. This system will be used in an environment with a known layout, and is supposed to only detect objects that are not in the existing map. 2. RELATED WORKS In a mobile robot sensing and perception system considerations have to be made about the nature of the robot, the environment and the desired outcomes of the system. These affect the composition and configuration of the sensor suite, the selected algorithms and methods used. The methods used in turn give the developer a baseline for ⋆The completion of this paper was made possible by the grant No. FEKT-S-23-8451 - ”Research on advanced methods and technologies in cybernetics, robotics, artificial intelligence, automation and measurement” financially supported by the Internal science fund of Brno University of Technology. computational hardware selection. Another serious consideration is the conception and environment for the robot’s software. 2.1 ROS The original Robot Operating System (or ROS) was introduced in Quigley et al. (2009) to provide a framework for robotics developers to base their software in. It is based on some fundamental principles outlined as Peer-to- peer, Tools-based, Multi-lingual, Thin and Free and Open- Source. This affords the user a great amount of flexibility in programming their robots. Since its introduction, ROS variants and their developments have become the de facto standard in the world of robotics research and development, and to a great extent also in deployment. Since the inception of the original ROS, a number of issues have emerged in areas like security, embedded system performance and communication performance as described in Macenski et al. (2022) and Nguyen et al. (2022). Therefore a new development that entirely redesigns the internal workings has been introduced - the ROS 2 (further described in Steven Macenski and Ge (2023)) - that addresses these problems and adds flexibility, more capabilities and generally improves security and performance. 2.2 Robot perception systems A significant amount of research is being done about mobile robot (and the related autonomous vehicle) perception systems. The significant differences among the approaches lie in the selection of the sensor suite - which dictates the available methods. Arnold et al. (2019) divide them into three main categories: •Monocular - Using a single camera •Point-cloud based ·Projection - projects points into 2D using 2D object detectors Mobile robot perception system in ROS 2 on embedded computing platforms Tom´aˇs Zemˇc´ık ∗Luk´aˇs Kratochv´ıla ∗∗ ∗Brno University of Technology, Brno (e-mail: zemcikt@ vut.cz). ∗∗ Brno University of Technology, Brno (e-mail: kratochvila@ vut.cz). Abstract: In this paper a perception system of a mobile robot is proposed and implemented combining a LiDAR sensor with a colour camera. Localisation of unknown objects in an a priori known environment and their classification is required in order for the robot to safely and reliably navigate the working area. To this end, a pipeline is proposed to process and fuse the LiDAR 3D point-cloud data with a monocular colour camera image classifications yielding precisely localised 3D detections with class designations. The proposed pipeline is designed to run on limited computational power embedded platforms in the ROS 2 environment, and has been tested on a robotic testbench. Keywords: Mobile robot, known environment, ROS 2, sensor fusion, object detection, 3D object localisation. 1. INTRODUCTION In pursuit of implementation of practical mobile robots the sensing and perception systems represent a large part of the effort. Sensing in this context means operating the sensors and performing low-level processing on the data. Perception means higher level processing including multimodal data fusion to arrive at some understanding of the environment beyond the mere raw sensor data. This may entail anything from fairly simple methods to very complex architectures requiring significant computational power and therefore sophisticated, costly, power-hungry and large hardware. One of the challenges in today’s robotics is finding such methods that would fulfil the set task while running on the comparatively modest hardware that are today’s embedded platforms. In this short paper we are concerned with designing a perception system of a mobile robot using a colour camera and a LiDAR sensor that would reliably detect, classify and localise object in indoor environments. This system will be used in an environment with a known layout, and is supposed to only detect objects that are not in the existing map. 2. RELATED WORKS In a mobile robot sensing and perception system considerations have to be made about the nature of the robot, the environment and the desired outcomes of the system. These affect the composition and configuration of the sensor suite, the selected algorithms and methods used. The methods used in turn give the developer a baseline for ⋆The completion of this paper was made possible by the grant No. FEKT-S-23-8451 - ”Research on advanced methods and technologies in cybernetics, robotics, artificial intelligence, automation and measurement” financially supported by the Internal science fund of Brno University of Technology. computational hardware selection. Another serious consideration is the conception and environment for the robot’s software. 2.1 ROS The original Robot Operating System (or ROS) was introduced in Quigley et al. (2009) to provide a framework for robotics developers to base their software in. It is based on some fundamental principles outlined as Peer-to- peer, Tools-based, Multi-lingual, Thin and Free and Open- Source. This affords the user a great amount of flexibility in programming their robots. Since its introduction, ROS variants and their developments have become the de facto standard in the world of robotics research and development, and to a great extent also in deployment. Since the inception of the original ROS, a number of issues have emerged in areas like security, embedded system performance and communication performance as described in Macenski et al. (2022) and Nguyen et al. (2022). Therefore a new development that entirely redesigns the internal workings has been introduced - the ROS 2 (further described in Steven Macenski and Ge (2023)) - that addresses these problems and adds flexibility, more capabilities and generally improves security and performance. 2.2 Robot perception systems A significant amount of research is being done about mobile robot (and the related autonomous vehicle) perception systems. The significant differences among the approaches lie in the selection of the sensor suite - which dictates the available methods. Arnold et al. (2019) divide them into three main categories: •Monocular - Using a single camera •Point-cloud based ·Projection - projects points into 2D using 2D object detectors Copyright © 2024 The Authors. This is an open access article under the CC BY-NC-ND license ( https://creativecommons.org/licenses/by-nc-nd/4.0/ ) 306 Tomáš Zemčík et al. / IFAC PapersOnLine 58-9 (2024) 305–310 ·Volumetric - use a 3D detector in a voxel space ·Direct - using the point-cloud data directly (Arnold et al. (2019) specifically mentions Point- Net, but other architectures are available) •Fusion - uses a combination of sensors of different modalities (cameras, LiDARs etc.) The monocular methods are generally good for detecting and classifying objects using powerful object detectors such as the RCNN (Girshick et al. (2013)), SSD (Liu et al. (2016)) or YOLO (Redmon et al. (2016)) algorithms. They, however, have no way of precisely localising the detected objects in 3D space around the robot, nor can they recognise whether or not the detected object is already a known object in the robots’ map. Point-cloud based methods are in wide spread use in mobile robotics, because they generate a fairly reliable map of objects near the robot - for instance in the form of an occupancy grid, such as in ¨ Onen et al. (2023) or Danescu (2011). Depending on what data is used to generate the pointcloud (LiDAR, RADAR, stereo camera etc.), it is sometimes very difficult for these methods to be able to reliably classify the nature of the detected object or obstacle, however algorithms exist to classify directly from point-cloud such as the aforementioned PointNet as published in Qi et al. (2016). The fusion methods combining a precise 3D sensor and a camera are the only reliable way to precisely localise an object within a robots’ navigation map while leveraging the powerful image classification algorithms to robustly classify the nature of the detected object. Examples of LiDAR and camera fusion methods can be found in Wang et al. (2020), Yohannan and Chandy (2017) or Khan et al. (2022), and more general sensor fusion approaches in Kunz et al. (2015). 3. PROPOSED PIPELINE In this paper we present our ROS 2 node pipeline for obstacle detection and classification. Our pipeline is designed for embedded devices, because we aim to run the pipeline on a mobile robot with limited power availability. Part of this framework was already published as Kratochvila (2023). For object classification we use data fusion from Li- DAR and camera. Figure 1 conceptually shows the entire pipeline. The pipeline is constructed from two branches - one for processing the point-cloud data (in green), and a second branch for video (in red). Each branch runs on one dedicated embedded device. In addition, for the acceleration of object detectors we use Nvidia Jetson Nano. Main reason for separation of the branches is that we aimed to develop an architecture which could be easily scalable and configurable. Moreover the system should be fault tolerant. The pipeline is to be deployed for evaluation on a robotic testbench showed in figure 2. Figure 2. The experimental setup: LIVOX MID-70 LiDAR is located underneath the top plate facing forward (left in the image), the colour camera is to the left of it. The robot is equipped with other instrumentation beyond the scope of this paper. 3.1 Hardware Hardware concerning the perception system consists of sensors and processing devices. The sensors in this case are a LIVOX MID-70 LiDAR and a Raspberry Pi HQ LiDAR Camera YOLOv5 2D detector pre-processing clustering 3D detector map detection matching SORT tracking SORT tracking Figure 1. A conceptual workflow of the proposed pipeline, with selected methods included. Tomáš Zemčík et al. / IFAC PapersOnLine 58-9 (2024) 305–310 307 ·Volumetric - use a 3D detector in a voxel space ·Direct - using the point-cloud data directly (Arnold et al. (2019) specifically mentions Point- Net, but other architectures are available) •Fusion - uses a combination of sensors of different modalities (cameras, LiDARs etc.) The monocular methods are generally good for detecting and classifying objects using powerful object detectors such as the RCNN (Girshick et al. (2013)), SSD (Liu et al. (2016)) or YOLO (Redmon et al. (2016)) algorithms. They, however, have no way of precisely localising the detected objects in 3D space around the robot, nor can they recognise whether or not the detected object is already a known object in the robots’ map. Point-cloud based methods are in wide spread use in mobile robotics, because they generate a fairly reliable map of objects near the robot - for instance in the form of an occupancy grid, such as in ¨ Onen et al. (2023) or Danescu (2011). Depending on what data is used to generate the pointcloud (LiDAR, RADAR, stereo camera etc.), it is sometimes very difficult for these methods to be able to reliably classify the nature of the detected object or obstacle, however algorithms exist to classify directly from point-cloud such as the aforementioned PointNet as published in Qi et al. (2016). The fusion methods combining a precise 3D sensor and a camera are the only reliable way to precisely localise an object within a robots’ navigation map while leveraging the powerful image classification algorithms to robustly classify the nature of the detected object. Examples of LiDAR and camera fusion methods can be found in Wang et al. (2020), Yohannan and Chandy (2017) or Khan et al. (2022), and more general sensor fusion approaches in Kunz et al. (2015). 3. PROPOSED PIPELINE In this paper we present our ROS 2 node pipeline for obstacle detection and classification. Our pipeline is designed for embedded devices, because we aim to run the pipeline on a mobile robot with limited power availability. Part of this framework was already published as Kratochvila (2023). For object classification we use data fusion from Li- DAR and camera. Figure 1 conceptually shows the entire pipeline. The pipeline is constructed from two branches - one for processing the point-cloud data (in green), and a second branch for video (in red). Each branch runs on one dedicated embedded device. In addition, for the acceleration of object detectors we use Nvidia Jetson Nano. Main reason for separation of the branches is that we aimed to develop an architecture which could be easily scalable and configurable. Moreover the system should be fault tolerant. The pipeline is to be deployed for evaluation on a robotic testbench showed in figure 2. Figure 2. The experimental setup: LIVOX MID-70 LiDAR is located underneath the top plate facing forward (left in the image), the colour camera is to the left of it. The robot is equipped with other instrumentation beyond the scope of this paper. 3.1 Hardware Hardware concerning the perception system consists of sensors and processing devices. The sensors in this case are a LIVOX MID-70 LiDAR and a Raspberry Pi HQ LiDAR Camera YOLOv5 2D detector pre-processing clustering 3D detector map detection matching SORT tracking SORT tracking Figure 1. A conceptual workflow of the proposed pipeline, with selected methods included. LiDARCamera cam_image_node Image grabber livox_node Point Cloud grabber pcl_preprocessing_node clustering_node tracker_3d_nodetracker_2d_node projection_node /livox/lidar (sensor_msgs/PointCloud) /pcl_preprocessing_node/filteredPcl (sensor_msgs/PointCloud) /clustering_node/detections_clusters (vision_msgs/Detection3DArray) detector_node LocalMap (Costmap) /detector_node/images (sensor_msgs/Image) /projection_node/projections (vision_msgs/Detection2DArray) /detector_node/detections (vision_msgs/Detection2DArray) detection_matcher_node /detection_matcher_node/matched_detections (vision_msgs/Detection3DArray) /tracker_2d_node/detections_tracker (vision_msgs/Detection2DArray) /tracker_3d_node/detections_tracker (vision_msgs/Detection3DArray) Map 2D Detections 3D Detections Local map Figure 3. Proposed pipeline: ROS 2 nodes with their messages, white rectangles symbolize ROS 2 nodes and black arrows messages with name and message type noted. colour camera. On the camera is used C-Mount Lens for Raspberry Pi HQ Camera - 2.8-12mm Varifocal. As processing hardware two types of oneboard devices were selected, the Rapsberry Pi 4B and the Nvidia Jetson Nano. The RPi for its flexibility and availability, and the nvidia-jetson for its GPU acceleration. All the devices are supplied from the robot’s battery through a voltage regulator and connected to the network via ethernet. The robot is also equipped with a complex real-time localisation system including an IMU (Inertial Measurement Unit) and an external localisation system. The position and orientation of the robot in the known environment is thus available. Other equipment is beyond the scope of this paper. 3.2 Software The main contribution of this work is its application structure. Nodes were implemented in ROS 2 in C++ or python 3. The point-cloud data processing branch of the pipeline (the green branch in Figure 3) was already described in Kratochvila (2023). It consists of the point cloud grabber, pre-processing and clustering nodes. The input is raw sensor data, the output are clusters in form of rotated 3D bounding boxes that are free of noisy points, and points detected in places with known obstacles based on the a priori known map. All point-cloud branch nodes run on a dedicated Raspberry Pi designated RPi-LIVOX. The branch processing the visual data has two nodes running on a second Raspberry Pi designated RPi-CAMERA. The first one is the Camera grabber node cam image node. This node is responsible for data acquisition. Output is being sent as the ”sensor msgs/Image” message. This node is highly configurable and facilitates control of the camera as well as the acquisition itself. The second node is the projection node. This node takes ”vision msgs/Detection3DArray” messages from the clustering node containing 3D rotated bounding boxes, and using the available geometric transforms projects them 308 Tomáš Zemčík et al. / IFAC PapersOnLine 58-9 (2024) 305–310 into the image plane for matching with detections from the detector node. The node detector node is executed on nvidia-jetson due to GPU acceleration and for maximum performance it is the exclusive user of the device. This node wraps the selected YOLOv5 model (Ultralytics (2021)) for detecting pre-trained classes in 2D image. In the whole pipeline there are three more nodes responsible for data fusion. The first and the most important is detection matcher node. This node is responsible for computation of IoUs (Intersection over Union) of all bounding boxes from the detector node and the projected clustering node clusters and assigns the class with the highest IoU (if above specified threshold - 0.5 used) to the 3D clusters. the matching concept is demonstrated in Figure 4. 3D detections 2D detections Project 3D to 2D IoU > 0.5 assign class Detection matcher true false leave unassigned Figure 4. Detail of the internal structure of the detection matching step Last two nodes are extensions of the pipeline for detection tracking. They are based on an adapted deepSORT (Simple Online and Realtime Tracking with Deep Association Metric) algorithm as described in Wojke et al. (2017), which in turn is based on Kalman filtration. The 2D tracking is particularly important and is incorporated to compensate for the relatively low framerate of the YOLOv5 detector. 4. DISCUSSION OF RESULTS AND LIMITATIONS To verify the functionality of the system it was deployed on a mobile robotic testbench, and several drives through multiple rooms and situations were recorded and analysed. All the experiments were conducted in Brno University of Technology laboratories. Manually created map is shown in Figure 5. Figure A.1 shows the results from our pipeline. The first row displays projected 3D detection bounding boxes generated by the projection node, the second row presents the results of the 2D object detector in the detector node and the third row showcases the propagated classification of the detection matcher node. We see that the person classification is successfully mapped onto the detected clusters. Figure 5. The laboratory map was created manually using a graphic editor. There are several limitations to the proposed and implemented systems that emerged during the testing. Firstly the system is fully reliant on the provided geometric transforms and in no way verifies them - when a faulty transform was received, or none at all, the outputs of the system are unreliable and this state is not recognised. Secondly the detection matcher tries to match all the 2D detections to all the projected 3D detections, and assigns the class to all fulfilling the minimum IoU condition - therefore false class assignment for occluded detections occur. This may or may not be critical for the given application. 5. CONCLUSION In this paper a perception system of a mobile robot is outlined and implemented. The system needs to run in the ROS 2 environment with computing distributed between small embedded devices (two Raspberry Pi and one Nvidia Jetson Nano in this case). It is capable of detecting and localising objects in a LiDAR produced 3D point-cloud, comparing the detections to a known map and eliminating known obstacles. Visual data analysis is performed via the YOLOv5 object detector localising and classifying objects in the image. Utilizing fusion the system is able to propagate the 2D classifications onto the 3D detections. The functionality has been verified on a proof-of-concept installation on an actual mobile robot testbench. In further work the performance of the system needs to be qualitatively and quantitatively evaluated, and compared to other approaches that can be ran on the limited hardware. We intend to also collect a larger dataset and investigate the limitations of the system in more challenging environments. REFERENCES Arnold, E., Al-Jarrah, O.Y., Dianati, M., Fallah, S., Oxtoby, D., and Mouzakitis, A. (2019). A sur- Tomáš Zemčík et al. / IFAC PapersOnLine 58-9 (2024) 305–310 309 into the image plane for matching with detections from the detector node. The node detector node is executed on nvidia-jetson due to GPU acceleration and for maximum performance it is the exclusive user of the device. This node wraps the selected YOLOv5 model (Ultralytics (2021)) for detecting pre-trained classes in 2D image. In the whole pipeline there are three more nodes responsible for data fusion. The first and the most important is detection matcher node. This node is responsible for computation of IoUs (Intersection over Union) of all bounding boxes from the detector node and the projected clustering node clusters and assigns the class with the highest IoU (if above specified threshold - 0.5 used) to the 3D clusters. the matching concept is demonstrated in Figure 4. 3D detections 2D detections Project 3D to 2D IoU > 0.5 assign class Detection matcher true false leave unassigned Figure 4. Detail of the internal structure of the detection matching step Last two nodes are extensions of the pipeline for detection tracking. They are based on an adapted deepSORT (Simple Online and Realtime Tracking with Deep Association Metric) algorithm as described in Wojke et al. (2017), which in turn is based on Kalman filtration. The 2D tracking is particularly important and is incorporated to compensate for the relatively low framerate of the YOLOv5 detector. 4. DISCUSSION OF RESULTS AND LIMITATIONS To verify the functionality of the system it was deployed on a mobile robotic testbench, and several drives through multiple rooms and situations were recorded and analysed. All the experiments were conducted in Brno University of Technology laboratories. Manually created map is shown in Figure 5. Figure A.1 shows the results from our pipeline. The first row displays projected 3D detection bounding boxes generated by the projection node, the second row presents the results of the 2D object detector in the detector node and the third row showcases the propagated classification of the detection matcher node. We see that the person classification is successfully mapped onto the detected clusters. Figure 5. The laboratory map was created manually using a graphic editor. There are several limitations to the proposed and implemented systems that emerged during the testing. Firstly the system is fully reliant on the provided geometric transforms and in no way verifies them - when a faulty transform was received, or none at all, the outputs of the system are unreliable and this state is not recognised. Secondly the detection matcher tries to match all the 2D detections to all the projected 3D detections, and assigns the class to all fulfilling the minimum IoU condition - therefore false class assignment for occluded detections occur. This may or may not be critical for the given application. 5. CONCLUSION In this paper a perception system of a mobile robot is outlined and implemented. The system needs to run in the ROS 2 environment with computing distributed between small embedded devices (two Raspberry Pi and one Nvidia Jetson Nano in this case). It is capable of detecting and localising objects in a LiDAR produced 3D point-cloud, comparing the detections to a known map and eliminating known obstacles. Visual data analysis is performed via the YOLOv5 object detector localising and classifying objects in the image. Utilizing fusion the system is able to propagate the 2D classifications onto the 3D detections. The functionality has been verified on a proof-of-concept installation on an actual mobile robot testbench. In further work the performance of the system needs to be qualitatively and quantitatively evaluated, and compared to other approaches that can be ran on the limited hardware. We intend to also collect a larger dataset and investigate the limitations of the system in more challenging environments. REFERENCES Arnold, E., Al-Jarrah, O.Y., Dianati, M., Fallah, S., Oxtoby, D., and Mouzakitis, A. (2019). A survey on 3d object detection methods for autonomous driving applications. IEEE Transactions on Intelligent Transportation Systems, 20(10), 3782–3795. doi: 10.1109/TITS.2019.2892405. Danescu, R.G. (2011). Obstacle detection using dynamic particle-based occupancy grids. In 2011 International Conference on Digital Image Computing: Techniques and Applications, 585–590. doi: 10.1109/DICTA.2011.104. Girshick, R., Donahue, J., Darrell, T., and Malik, J. (2013). Rich feature hierarchies for accurate object detection and semantic segmentation. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition. doi: 10.1109/CVPR.2014.81. Khan, D., Baek, M., Kim, M.Y., and Seog Han, D. (2022). Multimodal object detection and ranging based on camera and lidar sensor fusion for autonomous driving. In 2022 27th Asia Pacific Conference on Communications (APCC), 342–343. doi: 10.1109/APCC55198.2022.9943618. Kratochvila, L. (2023). Point cloud obstacle detection with the map filtration. In Proceedings I of the Conference Student EEICT, 455 – 459. Kunz, F., Nuss, D., Wiest, J., Deusch, H., Reuter, S., Gritschneder, F., Scheel, A., St¨ubler, M., Bach, M., Hatzelmann, P., Wild, C., and Dietmayer, K. (2015). Autonomous driving at ulm university: A modular, robust, and sensor-independent fusion approach. In 2015 IEEE Intelligent Vehicles Symposium (IV), 666– 673. doi:10.1109/IVS.2015.7225761. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., and Berg, A.C. (2016). Ssd: Single shot multibox detector. In B. Leibe, J. Matas, N. Sebe, and M. Welling (eds.), Computer Vision – ECCV 2016, 21– 37. Springer International Publishing, Cham. Macenski, S., Foote, T., Gerkey, B., Lalancette, C., and Woodall, W. (2022). Robot operating system 2: Design, architecture, and uses in the wild. Science Robotics, 7(66). doi:10.1126/scirobotics.abm6074. URL http://dx.doi.org/10.1126/scirobotics.abm6074. Steven Macenski, Alberto Soragna, M.C. and Ge, Z. (2023). Impact of ros 2 node composition in robotic systems. IEEE Robotics and Autonomous Letters (RA- L). Nguyen, Q.D., Dhouib, S., Huang, Y., and Bellot, P. (2022). An approach to bridge ros 1 and ros 2 devices into an opc ua-based testbed for industry 4.0. In 2022 IEEE 1st Industrial Electronics Society Annual On-Line Conference (ONCON), 1–6. doi: 10.1109/ONCON56984.2022.10126783. ¨ Onen, C., Pandharipande, A., Joseph, G., and Myers, N.J. (2023). Lidar-based occupancy grid map estimation exploiting spatial sparsity. In 2023 IEEE SENSORS, 1–4. doi:10.1109/SENSORS56945.2023.10325050. Qi, C.R., Su, H., Mo, K., and Guibas, L.J. (2016). Pointnet: Deep learning on point sets for 3d classification and segmentation. CoRR, abs/1612.00593. URL http://arxiv.org/abs/1612.00593. Quigley, M., Conley, K., Gerkey, B., Faust, J., Foote, T., Leibs, J., Wheeler, R., and Ng, A. (2009). Ros: an opensource robot operating system. In ICRA Workshop on Open Source Software, volume 3. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016). You only look once: Unified, real-time object detection. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 779–788. doi: 10.1109/CVPR.2016.91. Ultralytics (2021). YOLOv5: A state-of- the-art real-time object detection system. https://docs.ultralytics.com. Accessed: 2024/03/01. Wang, Y., Wang, B., Wang, X., Tan, Y., Qi, J., and Gong, J. (2020). A fusion of dynamic occupancy grid mapping and multi-object tracking based on lidar and camera sensors. In 2020 3rd International Conference on Unmanned Systems (ICUS), 107–112. doi: 10.1109/ICUS50048.2020.9274841. Wojke, N., Bewley, A., and Paulus, D. (2017). Simple online and realtime tracking with a deep association metric. In 2017 IEEE International Conference on Image Processing (ICIP), 3645–3649. doi: 10.1109/ICIP.2017.8296962. Yohannan, B. and Chandy, D.A. (2017). A novel approach for fusing lidar and visual camera images in unstructured environment. In 2017 4th International Conference on Advanced Computing and Communication Systems (ICACCS), 1–5. doi: 10.1109/ICACCS.2017.8014604. 310 Tomáš Zemčík et al. / IFAC PapersOnLine 58-9 (2024) 305–310 Appendix A. EXPERIMENTAL RESULTS (a) (b) (c) (d) (e) (f) Figure A.1. Two samples of processed data points: (a) 3d cluster projections for sample 1,(b) 3d cluster projections for sample 2,(c) YOLO detections for sample 1,(d) YOLO detections for sample 2,(e) matched 3d clusters with classes for sample 1,(f) matched 3d clusters with classes for sample 2. [C: denotes class, S: denotes confidence score / probability, ID: is an internal ID for a given cluster]