ros2에 아래와 같이 라이브러리를 실행한다면,
$ ros2 launch realsense2_camera rs_launch.py depth_module.depth_profile:=1280x720x30 pointcloud.enable:=true
ros2 토픽으로 아래가 실행됨
ros2 토픽에 따른 인터페이스는 아래와 같음
image_raw 토픽은 ros2 기본 인터페이스인 sensor_msgs/msg/Image를 사용 함
ros2 토픽에 따른 인터페이스는 아래와 같음
image_raw/compressed 토픽은 ros2 기본 인터페이스인 sensor_msgs/msg/CompressedImage
를 사용 함
아래는 Image와 CompressedImage의 차이
https://velog.io/@jk01019/ros2-CompressedImage-VS-Image
[ros2] CompressedImage VS Image
ROS 2에서 rclpy를 이용해 depth image와 RGB image를 publish하는 노드를 작성하는 것은 여러 단계를 포함합니다. 먼저, ROS 2 패키지를 생성하고, 그 안에 노드를 작성해야 합니다. 이 예시에서는 sensor_msgs/m
velog.io
Depth 또한 compressed image로 수행
Depth 는 PointCloud2
https://velog.io/@jk01019/rclpy-pointcloud-PointCloud-PointCloud2
Depth 는 그 외에
theora_image_transport/msg/Packet 을 사용함 -> 테오라 라는 오픈파일 포맷으로 파일을 압축하여 publish
'프로그래밍 > ROS' 카테고리의 다른 글
ROS2 서비스 2 - 클라이언트Python 코드 (0) | 2024.08.20 |
---|---|
ROS2 서비스 1 - 개요/명령어/실습 (0) | 2024.08.20 |
ROS2에 intel realsense D455 실행하기 (0) | 2024.08.14 |
ROS2) 4. ROS2 파이썬 코드 (0) | 2024.07.02 |
ROS2 - 3. ROS2 토픽 생성 (0) | 2024.06.24 |