본문 바로가기

전체 글

(15)
[Linux] Raspberry Pi CM4 eMMC 부팅 🍓 Raspberry Pi CM4 (eMMC) OS 설치 가이드 (macOS / Windows / Ubuntu)CM4 eMMC 모델에 Raspberry Pi OS를 설치하는 전체 과정대상 운영체제: macOS, Windows, Ubuntu📦 준비물Raspberry Pi CM4 (eMMC 모델)CM4 IO 보드 (USB SLAVE 포트 있는 모델)Micro-USB 데이터 전송용 케이블점퍼캡 (J2 핀 1-2 단락용)HDMI 모니터 (선택)🔧 공통 하드웨어 연결 순서CM4 IO 보드의 J2 헤더 핀 1-2에 점퍼캡 연결→ eMMC 비활성화 (USB 부트모드 진입)Micro-USB 케이블로 IO보드의 USB SLAVE 포트를 PC에 연결전원 연결 (USB 먼저 → 전원 나중)🍎 macOS에서 설치1. ..
[C++] proj 9.5.0 installation Downloadsudo apt updatesudo apt install -y build-essential cmake wget curl libtiff-dev libcurl4-gnutls-dev sqlite3Buildwget https://download.osgeo.org/proj/proj-9.5.0.tar.gztar -xvf proj-9.5.0.tar.gzcd proj-9.5.0mkdir build && cd buildcmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/localmake -j$(nproc)sudo make installCheckproj# Rel. 9.5.0, September 15th, 2024usage: proj [-bdeEf..
[ROS2] navigation2(humble) package install & compile 1. Git Clone from ros-planning navigation2 cd ${your ros2 workspace}/src git clone -b humble https://github.com/ros-planning/navigation2.git 2. 필요 library & package 설치 및 compile 2-1. bondcpp (requires in nav2_util) sudo apt-get install ros-humble-bondcpp 2-2. test_interface_files (requires in test_msgs) cd ${your ros2 workspace}/src git clone -b humble https://github.com/ros2/test_interface_file..
[CMake] Ubuntu 20.04 CMake 3.21.6 install Download https://github.com/Kitware/CMake/releases/tag/v3.21.6 compile tar -xzf ~/Downloads/cmake-3.21.6.tar.gz cd cmake-3.21.6 ./bootstrap make sudo make install version check cmake --version
[ROS2] turtlebot3(foxy) install & compile 1. Git Clone from ROBOTIS-GIT turtlebot3 cd ${your ros2 workspace}/src git clone -b foxy-devel https://github.com/ROBOTIS-GIT/turtlebot3.git 2. 필요 library & package 설치 및 compile 2-1. DynamixelSDK (requires in turtlebot3_node) cd ${your ros2 workspace}/src git clone -b foxy-devel https://github.com/ROBOTIS-GIT/DynamixelSDK.git cd DynamixelSDK colcon build --symlink-install cd ../.. colcon build -..
[C++] proj 7.1.0 installation Download https://proj.org/en/7.1/download.html Install sqlite sudo apt-get install sqlite3 Compile proj-8.1.0 tar -xzf ~/Downloads/proj-7.1.0.tar.gz cd proj-7.1.0 ./configure make make install
[ROS2] rclpy(foxy) osm_cartographer 운용 rclpy depdencies install sudo apt install python3-sphinx python3-pip sudo -H pip3 install sphinx_autodoc_typehints geographic_msgs install & compile cd ${your ros2 workspace}/src git clone -b ros2 https://github.com/ros-geographic-info/geographic_info.git cd ${your ros2 workspace}/src cd geographic_info colcon build --symlink-install source install/setup.bash cd ../../ colcon build --packages-se..
[ROS2] PCL 1.13.1(Point Cloud Library) install & compile 1. source.tar.gz download link 2. 압축 해제 tar xvf source.tar.gz 3. make build & install cd pcl-pcl-1.13.1 && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j4 sudo make -j4 install 4. CMakeLists.txt 수정 cmake_minimum_required(VERSION 3.5) project(your_project) find_package(PCL 1.13 REQUIRED COMPONENTS common io filters segmentation search) include_directories(${PCL_INCLUDE_DIRS})..
[ROS2] RPLiDAR A3M1 ROS2(foxy) package install 및 /scan topic echo test 1. Git Clone cd ${your ros2 workspace}/src git clone -b ros2 https://github.com/Slamtec/rplidar_ros.git 2. Colcon Compile cd ${your ros2 workspace}/src/rplidar_ros colcon build --symlink-install cd ../../ colcon build --packages-select rplidar_ros source install/setup.bash 3. ttyUSB 권한 부여 ls -l /dev | grep ttyUSB sudo chmod 666 /dev/ttyUSB0 cd ${your ros2 workspace}/src/rpldiar_ros/ source scrip..
[ROS2] navigation2(foxy) package install & compile 1. Git Clone from ros-planning navigation2 cd ${your ros2 workspace}/src git clone -b foxy-devel https://github.com/ros-planning/navigation2.git 2. 필요 library & package 설치 및 compile 2-1. ZeroMQ (requires in nav2_common) sudo apt-get install libzmq3-dev 2-2. test_interface_files (requires in rcl_interfaces) cd ${your ros2 workspace}/src git clone -b foxy https://github.com/ros2/test_interface_fil..
[Linux] Raspberry PI 4 Model B - Ubuntu 20.04 Focal 설치 및 Wifi 설정 1. Ubuntu 20.04 Focal 설치 1-1. Raspberry PI Generic (64-bit ARM) preinstalled server image download 사이트 접속 1-2. Raspberry PI Imager 설치 sudo apt install raspi-imager 1-3. SD Card에 Raspberry PI Generic (64-bit ARM) preinstalled server image Write - Raspberry PI Imager 열기 raspi-imager - SD Card Select 후 Write ( Raspberry PI 4 Model B에 SD Card 삽입 후 전원 공급 ) 2. Wifi 설정 2-1. sudo vi /etc/netplan/50-clou..
[ROS2] Raspberry PI 4 Model B(Ubuntu 20.04 Focal) ROS2 Foxy 설치 1. 설치 도구 설치 sudo apt update sudo apt install curl gnupg2 lsb-release curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - sudo sh -c 'echo "deb [arch=arm64] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list' 2. ROS2 foxy 설치 2-1. ros-foxy-desktop 설치 sudo apt update sudo apt install ros-foxy-desktop 2-2...