Libraries & Packages/ROS15 curl installation error * Error when entering commend 'sudo apt install curl' * Solution This happens because the key of ROS repository is recently changed. sudo apt-key del 421C365BD9FF1F717815A3895523BAEEB01FA116 sudo -E apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 sudo apt install curl * Reference https://answers.ros.org/question/325039/apt-update-fails-.. 2023. 12. 18. catkin build 실행 시 'ERROR: No matching distribution found for python3-empy' 에러 발생하는 경우 * 문제 상황 catkin build로 ROS pacakge를 빌드하려고 하면 위 에러가 발생 이때 pip install로 empy를 설치하려고 하면 이미 설치되었다고 나옴. * 해결 방법 catkin build 뒤에 파이썬 경로를 명시 catkin build -DPYTHON_EXECUTABLE=/usr/bin/python3 * Reference https://github.com/ysl208/iRoPro/issues/59 Unable to find either executable 'empy' or Python module 'em'... try installing the package 'python-empy' · Issue #59 · ysl When running catkin build I get the .. 2023. 12. 8. [ROS] 파이썬 노드 및 패키지 생성 방법 1. 패키지 생성 catkin_create_pkg [name_of_package] std_msgs rospy 2. setup.py 파일 작성 cd [name_of_package] 아래 파일 작성, 이때 [name_of_package]는 패키지 이름 적기 from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup # fetch values from package.xml setup_args = generate_distutils_setup( packages=['[name_of_package]'], package_dir={'': 'scripts'}, ) setup(**setup_args) 3. CMake.. 2023. 10. 18. [ROS] rosbag 토픽 이름 변경 방법 rosrun rosbag topic_renamer.py 또는 rosbag play file.bag /foo:=/bar https://answers.ros.org/question/9396/renaming-a-topic-inside-a-bag-file/ Renaming a topic inside a bag file - ROS Answers: Open Source Q&A Forum Renaming a topic inside a bag file edit When we record a bag file for example X.bag and it contains the topic data /a_topic Is there any way to rename the topics name inside the X.bag /a.. 2023. 10. 18. 이전 1 2 3 4 다음