ROS2 라즈베리파이 설정 도중 빌드 에러 > STELLA_N1_Forum

본문 바로가기
사이트 내 전체검색

STELLA_N1_Forum

ROS2 라즈베리파이 설정 도중 빌드 에러

페이지 정보

profile_image
작성자 maalcha
댓글 0건 조회 2,456회 작성일 22-07-12 16:17

본문

STELLA N1 SBC 버전: 라즈베리파이 4B 8G, 라즈비안 버스터 64bit 설치(공식 pi-imager 프로그램에서 선택)

REMOTE PC 버전: 윈도우즈11 ssh 터미널 또는 라즈베리파이에서 직접 작업

ROS 버전: 2



ROS2 설정 안내 과정을 따라하는 도중 에러가 발생합니다.

마지막으로 실행한 명령어:
wget https://raw.githubusercontent.com/ntrexlab/ROS_INSTALL_SCRIPT/main/install_ros2_foxy_rp4.sh && chmod 755 ./install_ros2_foxy_rp4.sh && bash ./install_ros2_foxy_rp4.sh

로그 내용: 첨부 파일

로그에서 에러가 시작되는 부분은 종속성과 관련이 있는 것 같습니다.
아래와 같이 [rti-connext-dds-5.3.1]가 없다고 나오고 나서
이후 전체 빌드시에도 연속적으로 오류가 발생했습니다.

[Resolve Dependencies]
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
rmw_connext_shared_cpp: No definition of [rti-connext-dds-5.3.1] for OS [debian]
rmw_connext_cpp: No definition of [rti-connext-dds-5.3.1] for OS [debian]
rosidl_typesupport_connext_cpp: No definition of [rti-connext-dds-5.3.1] for OS [debian]
connext_cmake_module: No definition of [rti-connext-dds-5.3.1] for OS [debian]
Continuing to install resolvable dependencies...
executing command [sudo -H apt-get install -y python3-ifcfg]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-ifcfg
executing command [sudo -H apt-get install -y python3-lark-parser]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-lark-parser
executing command [sudo -H apt-get install -y libboost-python1.67.0]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libboost-python1.67.0
E: Couldn't find any package by glob 'libboost-python1.67.0'
E: Couldn't find any package by regex 'libboost-python1.67.0'
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y python3-ifcfg] failed
  apt: command [sudo -H apt-get install -y python3-lark-parser] failed
  apt: command [sudo -H apt-get install -y libboost-python1.67.0] failed
  apt: Failed to detect successful installation of [python3-ifcfg]
  apt: Failed to detect successful installation of [python3-lark-parser]
  apt: Failed to detect successful installation of [libboost-python1.67.0]

아래 링크에 있는 쉘 명령어를 하나씩 실행해봤을 때도 역시 종속성과 관련된 문제가 제일 먼저 발생했습니다.
https://raw.githubusercontent.com/ntrexlab/ROS_INSTALL_SCRIPT/main/install_ros2_foxy_rp4.sh

한 가지 명령어와 맞지 않았던 점은 파이썬 버전이 3.9가 설치되어 있었던 반면에 명령어는 3.7을 기준으로 작성된 것처럼 보였습니다.

안내페이지의 상단에서 제공하고 있는 통합 이미지 파일을 사용하려했으나 다운로드가 원활하지 않아서 (중간에 끊김) 아직 사용하지 못하고 있습니다.

추가로 우분투와 ROS2를 설치 후에 예제 패키지만 다운로드 받아서 구동할 수 있는지 여부도 알고 싶습니다.

첨부파일

댓글목록

등록된 댓글이 없습니다.

회원로그인

회원가입