/
CLPE-G-Series ROS2 User Guide

CLPE-G-Series ROS2 User Guide


Revision History for Document

Rev

Date

Description

Rev

Date

Description

1.0

2022-04-28

Initial Draft

1.1

2023-06-14

๊ทธ๋ฆผ 7 Image modify

1.2

2024-04-04

8์ฑ„๋„ ์ง€์› ๋‚ด์šฉ ์ถ”๊ฐ€

1.3

2024-09-13

JPEG ์ง€์›, RQT ๋‚ด์šฉ ์ถ”๊ฐ€

1.4

2024-12-17

CLCC-G-02X ์ง€์›, ์นด๋ฉ”๋ผ ์„ผ์„œ ์ •๋ณด ๊ด€๋ จ ๋‚ด์šฉ ์ถ”๊ฐ€

1.5

2024-12-18

ํ…Œ์ŠคํŠธ ํ™˜๊ฒฝ, ์„ผ์„œ ๋ณ„ fps ๋ช…์‹œ

Overview

์ด ๋ฌธ์„œ๋Š” CLPE-G-Series๋ฅผ ROS2์—์„œ ๊ตฌ๋™ ์‹œํ‚ค๊ธฐ ์œ„ํ•œ ์‚ฌ์šฉ๋ฒ•๊ณผ ์นด๋ฉ”๋ผ ์˜์ƒ์„ ๋ณด๊ธฐ ์œ„ํ•œ RVIZ2 ๋ฐ RQT ์‚ฌ์šฉ๋ฒ•์— ๋Œ€ํ•ด ์„ค๋ช…ํ•œ๋‹ค.

ํ…Œ์ŠคํŠธ ํ™˜๊ฒฝ(PC ์‚ฌ์–‘)

์ฃผ์š” ์‚ฌ์–‘

PC ๋ชจ๋ธ: Nuvo-8208GC

CPU ์ฝ”์–ด ๊ฐœ์ˆ˜: 12

CPU ํด๋Ÿญ: 3.7Ghz

DRAM ์šฉ๋Ÿ‰: 64GB(32GB+32GB)

DRAM ํƒ€์ž…: DDR4

์ƒ์„ธ ์‚ฌ์–‘

CPU

RAM

CPU

RAM

cpu.png
dmidecode.png

ROS2 ์‚ฌ์šฉ ๋ฐฉ๋ฒ•

์‹œ์Šคํ…œ ์š”๊ตฌ์‚ฌํ•ญ

Requirements:

PC์— Ubuntu 20.04๋ฅผ ์„ค์น˜ํ•˜๋Š” ๊ฒƒ์ด ์ข‹๋‹ค.

ROS2 ์„ค์น˜

์ด ๋ฌธ์„œ๋Š” ROS 2 Foxy๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์ž‘์„ฑ๋˜์—ˆ๋‹ค.

https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html ROS2 ๊ณต์‹ ์„ค์น˜ ๋งํฌ๋ฅผ ํ†ตํ•ด ROS2โ€“foxy(Recommended)๋ฅผ ์„ค์น˜ํ•œ๋‹ค.

์„ค์น˜๋ฅผ ๋ฌด์‚ฌํžˆ ์ง„ํ–‰ํ–ˆ๋‹ค๋ฉด ํ„ฐ๋ฏธ๋„ ์ฐฝ์— source /opt/ros/foxy/setup.bash ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ROS2-foxy๋ฅผ ํ™œ์„ฑํ™”์‹œํ‚ค๊ณ  rosversion -d ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ํ™•์ธํ•ด ๋ณธ๋‹ค.

๊ทธ๋ฆผ 1๊ณผ ๊ฐ™์ด foxy๊ฐ€ ๋‚˜์˜จ๋‹ค๋ฉด ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜๋œ ๊ฑธ ์•Œ ์ˆ˜ ์žˆ๋‹ค.

๊ทธ๋ฆผ 2์™€ ๊ฐ™์ด ๋‚˜์˜จ๋‹ค๋ฉด ์„ค์น˜ ๊ณผ์ •์„ ๋‹ค์‹œ ์ง„ํ–‰ํ•ด ๋ณด๊ฑฐ๋‚˜, source /opt/ros/foxy/setup.bash ๋ช…๋ น์–ด๋ฅผ ์ ์šฉ์‹œ์ผฐ๋Š”์ง€ ๋‹ค์‹œ ํ•œ๋ฒˆ ํ™•์ธํ•ด ์ค€๋‹ค.

ROS2 ์„ค์ •

System dependencies

ย ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰ํ•˜๊ธฐ ์ „ ํ•„์š”ํ•œ ํŒจํ‚ค์ง€๋“ค์„ ์„ค์น˜ํ•ด ์ค€๋‹ค.

sudo apt update && sudo apt install git cmake wget gcc g++ libgstreamer-plugins-base1.0-dev python3-colcon* python3-rosdep python3-vcstool -y

Install CLPE SDK and ROS2 Driver

ย ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ์ €์žฅ์†Œ๋ฅผ ๋งŒ๋“ค์–ด ์ค€๋‹ค.

mkdir -p ~/ws_clpe2/src cd ~/ws_clpe2/ wget https://raw.githubusercontent.com/canlab-co/clpe_ros/main/clpe.repos vcs import src < clpe.repos

์œ„ ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•˜๋ฉด ๊ทธ๋ฆผ 3๊ณผ ๊ฐ™์€ ํด๋” ๊ตฌ์กฐ๊ฐ€ ์ƒ์„ฑ๋œ๋‹ค.

Install dependencies

ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ROS2 ์™ธ๋ถ€ ํŒจํ‚ค์ง€๋“ค์„ ์„ค์น˜ํ•ด ์ค€๋‹ค.

cd ~/ws_clpe2 sudo rosdep init rosdep update rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y

์ฃผ์˜ ์‚ฌํ•ญ

rosdep init ๊ณผ์ •์—์„œ ๊ทธ๋ฆผ 4์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด, sudo rm /etc/ros/rosdep/sources.list.d/20-default.list ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•œ ๋’ค ๋‹ค์‹œ sudo rosdep init์„ ์ง„ํ–‰ํ•˜๋ฉด ๋œ๋‹ค.

sudo rm /etc/ros/rosdep/sources.list.d/20-default.list ๋ช…๋ น์–ด๋ฅผ ์ˆ˜ํ–‰ํ•œ ๋’ค ๋‹ค์‹œ sudo rosdep init์„ ์ง„ํ–‰ํ•˜๋ฉด ๋œ๋‹ค.

Install ๊ณผ์ •์—์„œ ๊ทธ๋ฆผ 5์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด ๋ฌด์‹œํ•˜๊ณ  ์ง„ํ–‰ํ•˜์—ฌ๋„ ์‹คํ–‰ํ•˜๋Š”๋ฐ ์ง€์žฅ์ด ์—†๋‹ค.

ํ•˜์ง€๋งŒ ์ด ์˜ค๋ฅ˜๋กœ ์ธํ•ด ์‹คํ–‰์ด ๋ถˆ๊ฐ€๋Šฅํ•  ์‹œ sudo apt-get install <ํ•ด๋‹น package> ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ์„ค์น˜๋ฅผ ์ง„ํ–‰ํ•ด์ค€๋‹ค.

Build the driver

ย driver๋ฅผ ๋นŒ๋“œํ•ด ์ค€๋‹ค.

DDS Configuration

DDS๊ธฐ๋Šฅ์„ ํ†ตํ•ด ์ด๋ฏธ์ง€ ์ „์†ก ์„ฑ๋Šฅ์„ ํ–ฅ์ƒ์‹œ์ผœ ์ค€๋‹ค. ๊ณต์œ  ๋ฉ”๋ชจ๋ฆฌ ์ „์†ก์ด ํ™œ์„ฑํ™”๋œ FastDDS๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. ๋จผ์ € fastdds.xml ๊ตฌ์„ฑ ํŒŒ์ผ์„ ํด๋”์— ๋ณต์‚ฌํ•œ๋‹ค.

๊ทธ ๋‹ค์Œ sudo vi ~/.bashrc๋ฅผ ์—ด์–ด ๋‹ค์Œ ๋‘ ์ค„์„ ์ถ”๊ฐ€ ์‹œ์ผœ ์ค€๋‹ค.

source ~/.bashrc ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ~/.bashrc์— ์ ์šฉ์‹œ์ผœ ์ค€๋‹ค. ๊ทธ ์™ธ์—๋„ ํ„ฐ๋ฏธ๋„์„ ์ข…๋ฃŒ ํ›„ ๋‹ค์‹œ ํ‚ค๋ฉด ์ ์šฉ ๋œ๋‹ค.

ํ”„๋กœ๊ทธ๋žจ ์‹คํ–‰ ๋ฐฉ๋ฒ•

Lanuch

slave CLPE-G-Series๋ฅผ ์žฅ์ฐฉํ–ˆ๋‹ค๋ฉด, slave ํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ slave:=y ์œผ๋กœ ์ž…๋ ฅํ•ด์•ผ ํ•œ๋‹ค.

sudo_password๊ฐ€ ์ˆซ์ž(์˜ˆ์‹œ:1)์ด๋ฉด password:=\'1\'๋กœ ์ˆ˜์ •ํ•ด์„œ ๋ช…๋ น์–ด๋ฅผ ์ ์–ด ์ค€๋‹ค. ๊ทธ๋ฆผ 6๊ณผ ๊ฐ™์ด ๋‚˜์˜จ๋‹ค๋ฉด ์ •์ƒ์ ์œผ๋กœ ์‹คํ–‰๋œ ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

CLCC-G-01X ์žฅ์ฐฉ ์‹œ

CLCC-G-02X ์žฅ์ฐฉ ์‹œ

CLCC-G-01X ์žฅ์ฐฉ ์‹œ

CLCC-G-02X ์žฅ์ฐฉ ์‹œ

์„ผ์„œ ๋ณ„ ํ”„๋ ˆ์ž„ ๋ ˆ์ดํŠธ

ํ•˜๋‹จ์˜ ํ‘œ๋Š” ๊ฐ ์„ผ์„œ์— ๋Œ€ํ•˜์—ฌ encoding ๋ฐฉ์‹ ๋ณ„๋กœ ํ”„๋ ˆ์ž„ ๋ ˆ์ดํŠธ๋ฅผ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ด๋‹ค.

ROS2

IMX390(8์ฑ„๋„)

AR0233(8์ฑ„๋„)

UYVY

JPEG

UYVY

JPEG

fps

30

30

24 ~ 25

30

๊ธฐ๋ณธ์ ์œผ๋กœ ๋“œ๋ผ์ด๋ฒ„๋Š” camera X๋‹น 1๊ฐœ์˜ topic์„ publishํ•œ๋‹ค.

  • /clpe/cam_X/image_raw: UYVY ํ˜•์‹์˜ ์ด๋ฏธ์ง€ ์ •๋ณด๋ฅผ ๋‹ด๊ณ  ์žˆ๋Š” topic์ด๋‹ค.

  • /clpe/cam_X/compressed: JPEG ํ˜•์‹์˜ ์ด๋ฏธ์ง€ ์ •๋ณด๋ฅผ ๋‹ด๊ณ  ์žˆ๋Š” topic์ด๋‹ค.

๊ธฐ๋ณธ ์ธ์ฝ”๋”ฉ์€ yuv422 ์ด๋‹ค. ์ง€์›ํ•˜๋Š” ์ธ์ฝ”๋”ฉ ๋ฐฉ์‹์€ ์•„๋ž˜ CLPE-G-Series ROS2 User Guide | โฌ› Configuration์„ ์ฐธ์กฐํ•˜๋ฉด ๋œ๋‹ค.

topic์— ๋‹ด๊ฒจ์žˆ๋Š” ์ •๋ณด๊ฐ€ ๊ถ๊ธˆํ•˜๋‹ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ํ™•์ธ ํ•ด ๋ณผ ์ˆ˜ ์žˆ๋‹ค.

ํ•˜๋‚˜์˜ ํ„ฐ๋ฏธ๋„์„ ๋” ์‹คํ–‰ํ•œ ๋’ค ros2 topic list ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด publish ์ค‘์ธ topic๋“ค์˜ ๋ชฉ๋ก์„ ํ™•์ธํ•œ๋‹ค.

ros2 ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” source /opt/ros/foxy/setup.bash ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ํ™œ์„ฑํ™” ์‹œ์ผœ ์ฃผ์–ด์•ผ ํ•œ๋‹ค.

๊ทธ ๋‹ค์Œ ์›ํ•˜๋Š” topic์˜ ์ •๋ณด๋ฅผ ํ™•์ธ์„ ํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด ros2 topic echo ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

ย ์˜ˆ์‹œ: ros2 topic echo /clpe/cam_0/image_raw

Launch ๊ณผ์ •์—์„œ ๊ทธ๋ฆผ 8๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด source /opt/ros/foxy/setup.bash ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด Ros2 foxy๋ฅผ ํ™œ์„ฑํ™”์‹œ์ผœ ์ฃผ์—ˆ๋Š”์ง€ ํ™•์ธํ•œ๋‹ค. ํ”„๋กœ๊ทธ๋žจ ์‹คํ–‰ ์ „ ํ•ญ์ƒ ํ™œ์„ฑํ™”์‹œ์ผœ ์ฃผ์–ด์•ผ ํ•œ๋‹ค.

๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ๊ทธ๋ฆผ 9์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•  ๊ฒฝ์šฐ source install/setup.bash ๋ช…๋ น์–ด๋ฅผ ์ ์šฉ์‹œ์ผฐ๋Š”์ง€ ํ™•์ธํ•ด ์ค€๋‹ค.

*TIP

๋งค๋ฒˆ ์ด๋ ‡๊ฒŒ ๋ช…๋ น์–ด๋ฅผ ์ ์šฉ ์‹œํ‚ค๊ธฐ๋Š” ํž˜๋“ค๊ธฐ ๋•Œ๋ฌธ์— ~/.bashrc์— ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ ์–ด ์ค€๋‹ค.

alias foxy="source /opt/ros/foxy/setup.bash; source ~/ws_clpe2/install/setup.bashโ€

๊ทธ๋ฆฌ๊ณ  source ~/.bashrc ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ์ ์šฉ ์‹œ์ผœ์ค€๋‹ค. ๋‹ค์Œ foxy๋ผ๋Š” ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๊ทธ๋ฆผ๊ณผ ๊ฐ™์ด ํ™œ์„ฑํ™”๋œ๋‹ค.

Configuration

๋“œ๋ผ์ด๋ฒ„๋Š” ๋™์ž‘์„ ๊ตฌ์„ฑํ•˜๊ธฐ ์œ„ํ•ด ๋‹ค์Œ ROS ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์ง€์›ํ•œ๋‹ค. password, slave, encoding๊ณผ timestamp๋Š” launch ๊ณผ์ •์—์„œ ์ง์ ‘ ์‚ฌ์šฉํ•˜์—ฌ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ๋‹ค. ๋‹ค๋ฅธ ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” launch file์„ ํ†ตํ•ด ์ˆ˜์ • ๊ฐ€๋Šฅํ•˜๋‹ค.

Key

Description

Default

Key

Description

Default

password

sudo password

*Required*

slave

Slave CLPE-G-Series์˜ ์กด์žฌ ์—ฌ๋ถ€, ์ง€์›ํ•˜๋Š” ์ธ์ž : y(Slave CLPE-G-Series ์กด์žฌ), n(Slave CLPE-G-Series ๋ถ€์žฌ)

n

encoding

Image encoding, ์ง€์›ํ•˜๋Š” ํฌ๋งท : bgr8, bgra8, rgb8, rgba8, mono16, yuv422, jpeg. Defaults to yuv422.

*yuv422, jpeg ์ด์™ธ์˜ ์ธ์ฝ”๋”ฉ์€ ๋ณ€ํ™˜ํ•˜๋Š” ๊ณผ์ •์—์„œ ์˜ค๋ฒ„ํ—ค๋“œ๋ฅผ ๋ฐœ์ƒ์‹œํ‚จ๋‹ค.

yuv422

timestamp

Image timestamp, ์ง€์›ํ•˜๋Š” ํฌ๋งท : xavier, local

xavier

  • encoding ์ด jpeg ์ผ ๊ฒฝ์šฐ, local ๋กœ ์„ค์ •ํ•ด์•ผ ํ•จ

cam_{n}_enable

Enable camera

true

cam_{n}_pose

Pose relative to the base, 6 values corresponding to [x, y, z, roll, pitch, yaw]

[0,0,0,0,0,0]

cam_{n}_frame_id

Defines the frame_id all static transformations refers to

base_link

cam_{n}_image_qos

Sets the QoS by which the topic is published. Available values are the following strings: SYSTEM_DEFAULT, PARAMETER_EVENTS, SERVICES_DEFAULT, PARAMETERS, DEFAULT, SENSOR_DATA, HID_DEFAULT (= DEFAULT with depth of 100), EXTRINSICS_DEFAULT (= DEFAULT with depth of 1 and transient local durabilty).

SENSOR_DATA

cam_{n}_info_qos

Sets the QoS by which the topic is published. Available values are the following strings: SYSTEM_DEFAULT, PARAMETER_EVENTS, SERVICES_DEFAULT, PARAMETERS, DEFAULT, SENSOR_DATA, HID_DEFAULT (= DEFAULT with depth of 100), EXTRINSICS_DEFAULT (= DEFAULT with depth of 1 and transient local durabilty).

SYSTEM_DEFAULT

RQT

RQT๋Š” ROS2์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์ข…ํ•ฉ GUI ํˆด์ด๋‹ค. ROS2๋ฅผ ์„ค์น˜ํ•  ๋•Œ ๋ณดํ†ต ํ•จ๊ป˜ ์„ค์น˜๋œ๋‹ค.

์‹คํ–‰ ๋ฐฉ๋ฒ•

ํ„ฐ๋ฏธ๋„ ์ฐฝ์„ ์—ด์–ด source /opt/ros/foxy/setup.bash ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด foxy๋ฅผ ํ™œ์„ฑํ™”์‹œ์ผœ ์ค€๋‹ค. ๊ทธ ๋‹ค์Œ ํ„ฐ๋ฏธ๋„ ์ฐฝ์— rqt ๋ช…๋ น์–ด๋ฅผ ์น˜๋ฉด ์‹คํ–‰๋œ๋‹ค.

์‹คํ–‰๋จ๊ณผ ๋™์‹œ์— RQT ์ฐฝ ํ™”๋ฉด์ด ๋‚˜ํƒ€๋‚˜๊ฒŒ ๋œ๋‹ค.

์ด๋ ‡๊ฒŒ ์ฐฝ ํ™”๋ฉด์ด ๋‚˜ํƒ€๋‚˜๊ฒŒ ๋˜๋ฉด ์ •์ƒ์ ์œผ๋กœ RQT๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋œ๋‹ค.

RQT ์‚ฌ์šฉ ๋ฐฉ๋ฒ•

๊ทธ๋ฆผ 11๊ณผ ๊ฐ™์ด ์ฐฝ ํ™”๋ฉด์—์„œ ๋“œ๋กญ๋ฐ•์Šค๋ฅผ ํด๋ฆญํ•˜๋ฉด ํ˜„์žฌ publish๋˜๋Š” topic์„ ์•Œ ์ˆ˜ ์žˆ๋‹ค.

์›ํ•˜๋Š” topic์„ ๋“œ๋กญ๋ฐ•์Šค์—์„œ ์„ ํƒํ•˜๋ฉด ์˜์ƒ์ด ๋‚˜์˜ค๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

RVIZ2

RVIZ2๋Š” ROS2์—์„œ ์‚ฌ์šฉ๋˜๋Š” 3์ฐจ์› ์‹œ๊ฐํ™” ๋„๊ตฌ์ด๋‹ค. ROS2๋ฅผ ์„ค์น˜ํ•  ๋•Œ ๋ณดํ†ต ํ•จ๊ป˜ ์„ค์น˜๋œ๋‹ค.

์‹คํ–‰ ๋ฐฉ๋ฒ•

ํ„ฐ๋ฏธ๋„ ์ฐฝ์„ ์—ด์–ด source /opt/ros/foxy/setup.bash ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด foxy๋ฅผ ํ™œ์„ฑํ™”์‹œ์ผœ ์ค€๋‹ค. ๊ทธ ๋‹ค์Œ ํ„ฐ๋ฏธ๋„ ์ฐฝ์— ๊ทธ๋ฆผ 12์™€ ๊ฐ™์€ ๋ช…๋ น์–ด๋ฅผ ์น˜๋ฉด ์‹คํ–‰๋œ๋‹ค.

์‹คํ–‰๋จ๊ณผ ๋™์‹œ์— RVIZ2 ์ฐฝ ํ™”๋ฉด์ด ๋‚˜ํƒ€๋‚˜๊ฒŒ ๋œ๋‹ค.

์ด๋ ‡๊ฒŒ ์ฐฝ ํ™”๋ฉด์ด ๋‚˜ํƒ€๋‚˜๊ฒŒ ๋˜๋ฉด ์ •์ƒ์ ์œผ๋กœ RVIZ2๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋œ๋‹ค.

RVIZ2 ์‚ฌ์šฉ ๋ฐฉ๋ฒ•

ย ๊ทธ๋ฆผ 13๊ณผ ๊ฐ™์ด ์ฐฝ ํ™”๋ฉด์—์„œ ADD โ†’ By topic์„ ํด๋ฆญํ•˜๋ฉด ํ˜„์žฌ publish๋˜๋Š” topic์„ ์•Œ ์ˆ˜ ์žˆ๋‹ค. ์ด๋ฏธ์ง€ ์ •๋ณด๋ฅผ ๋‹ด๊ณ  ์žˆ๋Š” /image_raw topic์ด ๋ณด์ด๊ฒŒ ๋œ๋‹ค.

๊ทธ๋ฆผ 14์™€ ๊ฐ™์ด ์›ํ•˜๋Š” cam_x์˜ /image_raw๋ฅผ ๋”๋ธ” ํด๋ฆญํ•œ ๋’ค ๋‚˜์˜ค๋Š” Image ํ•ญ๋ชฉ์„ ๋”๋ธ” ํด๋ฆญํ•ด ์ค€๋‹ค.

ย 

๊ทธ๋Ÿฌ๋ฉด ๊ทธ๋ฆผ 15์™€ ๊ฐ™์ด ํ™œ์„ฑํ™”๋˜๋Š”๋ฐ ํ•˜๋‹จ์— ์žˆ๋Š” image ํ•ญ๋ชฉ์„ ํ†ตํ•ด ์นด๋ฉ”๋ผ ์˜์ƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. Image ํ•ญ๋ชฉ์€ ๋งˆ์šฐ์Šค ํด๋ฆญ์„ ํ†ตํ•˜์—ฌ ์›ํ•˜๋Š” ๊ณณ์œผ๋กœ ์˜ฎ๊ธธ ์ˆ˜ ์žˆ๋‹ค.

์•„์ง ์นด๋ฉ”๋ผ ํ™”๋ฉด์ด ์•ˆ ๋‚˜์™€ No Image๋ผ๋Š” ํ•ญ๋ชฉ์ด ๋œจ๊ฒŒ ๋˜๋Š”๋ฐ ์˜์ƒ์„ ๋ณด๊ธฐ ์œ„ํ•ด Image ์„ค์ •์„ ํ•ด์ค€๋‹ค. ๊ทธ๋ฆผ 16๊ณผ ๊ฐ™์ด Reliability ์„ค์ •์„ ๋งˆ์šฐ์Šค ํด๋ฆญ์„ ํ†ตํ•ด Best Effort๋กœ ๋ณ€๊ฒฝํ•ด์ค€๋‹ค. ์ด๋ ‡๊ฒŒ image ์„ค์ •ํ•ด์ฃผ๋ฉด ์นด๋ฉ”๋ผ ์˜์ƒ์ด ๋‚˜์˜ค๊ฒŒ ๋œ๋‹ค.

Related pages