winmin 라이브러리

  • 홈
  • 태그
  • 방명록

Software/Linux 2

[ROS2] Publish + Subscribe 기초 예제 (C++)

안녕하세요.ROS2 에서 Publish, Subscribe 노드를 생성하고 통신을 테스트해보는 기초 예제입니다. 1. ROS2 패키지 생성ros2 pkg create --build-type ament_cmake cpp_pub_sub 1) rclcppROS2 의 C++ client 라이브러리 2) std_msgsROS의 메세지 타입을 표준화하여 정의ex) int32, float32 등  2. Publisher 코드 작성"cpp_pub.h"#include #include #include #include #include "rclcpp/rclcpp.hpp" #include "std_msgs/msg/int32.hpp"using namespace std::chrono_literals; class CppPub..

Software/Linux 2025.01.07

[Linux] 윈도우 VirtualBox Ubuntu 22.04 LTS + ROS 2 Humble 설치

윈도우의 VirtualBox 가상머신에서 Ubuntu 22.04 LTS 및 ROS 2를 설치하는 방법입니다. 1. VirtualBox 설치우선 Oracle VirtualBox를 설치하겠습니다. 하단 링크에서 공식 배포 버전을 다운로드 할 수 있습니다.  https://www.virtualbox.org/wiki/Downloads Downloads – Oracle VirtualBoxThis VirtualBox Extension Pack Personal Use and Educational License governs your access to and use of the VirtualBox Extension Pack. It does not apply to the VirtualBox base package and..

Software/Linux 2025.01.04
이전
1
다음
더보기
프로필사진

winmin 라이브러리

로봇 만드는 대학원생입니다. 연구하며 배우는 것들을 기록해요.

  • 분류 전체보기 (25)
    • Robotics Engineering (1)
      • Sensors (1)
    • Software (11)
      • Visual Studio (2)
      • MATLAB (7)
      • Git (0)
      • Linux (2)
    • Design (8)
      • SOLIDWORKS (4)
      • PCB (4)
    • Embedded (0)
      • STM32 (0)
    • Devices (3)
      • KUKA Robotics (2)
    • Other SW (2)
      • Notion (1)

최근글과 인기글

  • 최근글
  • 인기글

공지사항

Archives

Copyright © Kakao Corp. All rights reserved.

티스토리툴바