stella_bringup, cartographer, teleop 패키지 launch,run 할 경우 ros2 command not found > STELLA_N2_Forum

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

STELLA_N2_Forum

stella_bringup, cartographer, teleop 패키지 launch,run 할 경우 ros2 command …

페이지 정보

profile_image
작성자 21931
댓글 3건 조회 279회 작성일 24-08-30 16:28

본문

STELLA N2 SBC 버전: Raspberry pi 4

REMOTE PC 버전: 20.04

ROS 버전: ROS2 foxy

ros2 doctor 한 결과
원격 PC는 /opt/ros/foxy/lib/python3.8/site-packages/ros2doctor/api/package.py: 119: UserWarning: Cannot find required versions of packages: stella_ui_msg stella_ui stella_teleop stella_navigation2 stella_description [...] Use `ros2 doctor --report` to see full list.
/opt/ros/foxy/lib/python3.8/site-packages/ros2doctor/api/platform.py: 82: UserWarning: Distribution foxy is no longer supported or deprecated. To get the latest features, download the new versions at https://index.ros.org/doc/ros2/Installation/
All 4 checks passed

라즈베리파이는 /home/pi/ros_colcon_ws/build/ros2doctor/ros2doctor/api/__init__.py: 95: UserWarning: Check entry point PackageCheck fails to load.
/home/pi/ros_colcon_ws/build/ros2doctor/ros2doctor/api/platform.py: 83: UserWarning: Distribution foxy is no longer supported or deprecated. To get the latest features, download the new versions at https://index.ros.org/doc/ros2/Installation/
All 4 checks passed

 talker와 listener는 원격 PC에서 작동가능한데, stella_bringup, cartographer, teleop 패키지를  launch,run 할 경우 ros2 command not found오류가 발생하고 패키지가 실행가능했다가 갑자기 안되는등 불안정한데 해결방법을 알고 싶습니다. 감사합니다.

댓글목록

profile_image

최고관리자님의 댓글

최고관리자 작성일

안녕하세요.

아이디어 로봇입니다.

기존 패키지를 삭제하시고 아래 깃허브에서 foxy 브런치를 clone하여 새로 빌드하여 보시고 같은 현상이 발생하는지 확인해 주세요.

라즈베리파이
https://github.com/ntrexlab/STELLA_N2_PI_X4_ROS2_v2.0/tree/foxy
원격PC
https://github.com/ntrexlab/STELLA_N2_REMOTEPC_X4_ROS2_v2.0/tree/foxy

profile_image

21931님의 댓글의 댓글

21931 작성일

라즈베리파이가 32bit 이고 해당 깃허브에서는 MW_AHRS_aarch64.a 라이브러리를 제공해서인지 error adding symbols: file format not recognized 라는 에러가 뜨고 colcon build가 되지 않는데, 라즈베리파이를 64bit OS로 바꿔야 하나요? 원격 PC에서는 colcon build가 가능했습니다

profile_image

최고관리자님의 댓글의 댓글

최고관리자 작성일

라즈베리파이 OS를 변경하시어도 되고 아래 깃허브에서 맞는 라이브러리 파일을 다운로드하셔서 변경하여 주셔도 됩니다.

https://github.com/ntrexlab/2th_NtrexAHRS_lib_ROS
https://github.com/ntrexlab/2th_NtrexMotorDriver_lib_ROS

회원로그인

회원가입