Ubuntu/ROS 7

Ros2 패키지_생성

1. 작업공간 설정패키지를 생성하기 전에 작업공간을 설정해야 한다.# 작업공간 디렉토리 생성mkdir -p ~/ros2_ws/srccd ~/ros2_ws# 작업공간 초기화colcon build2. 패키지 생성ROS 2에서는 ros2 pkg create 명령을 사용하여 패키지를 생성할 수 있다.(1) C++ 패키지 생성 cd ~/ros2_ws/src# C++ 패키지 생성ros2 pkg create --build-type ament_cmake (2) Python 패키지 생성 cd ~/ros2_ws/src# Python 패키지 생성ros2 pkg create --build-type ament_python 3. 패키지 빌드패키지를 생성한 후, 작업공간에서 colcon을 사용하여 패키지를 빌드한다.cd ~/ros..

Ubuntu/ROS 2024.08.29

ROS2_USB_Cam_Error(@root_validator)

https://qlalf-smithy.tistory.com/34 ROS2_usb_cam 설치https://github.com/ros-drivers/usb_cam GitHub - ros-drivers/usb_cam: A ROS Driver for V4L2 USB CamerasA ROS Driver for V4L2 USB Cameras. Contribute to ros-drivers/usb_cam development by creating an account on GitHub.github.com위 github 참고. version*qlalf-smithy.tistory.com 해당 과정을 진행중에 발생했던 오류가 있었다. error_code:[ERROR] [launch]: Caught exception in ..

Ubuntu/ROS 2024.08.17

Camera_parameter feat.calibration

https://qlalf-smithy.tistory.com/36 Camera_calibration_파라미터(parameters)*VersionROS2_Humbleusb_cam  Camera calibration 을 통한 parameter 를 구해보면   Camera_Calibration tool Install(설치)sudo apt install ros--camera-calibration  Camera_Onros2 run usb_cam usb_cam_node_exe#이때 ros2 topic list 로 카메라 tqlalf-smithy.tistory.com 해당 Camera calibration 에서 구한 파라미터가 각각 뭘 의미하는지 보면 1. 내부 파라미터 (Intrinsic Parameters)내부 파..

Ubuntu/ROS 2024.08.11

Ros2_usb_cam_오류수정

* versionROS2-Humble  https://github.com/ros-drivers/usb_cam GitHub - ros-drivers/usb_cam: A ROS Driver for V4L2 USB CamerasA ROS Driver for V4L2 USB Cameras. Contribute to ros-drivers/usb_cam development by creating an account on GitHub.github.com 해당 github 로 진행하다가 오류가 발생했다. 오류 메세지:[WARN] [1723352147.584207346] [rcl]: Found remap rule '__ns:=/usb_cam_2'. This syntax is deprecated. Use '--ros-ar..

Ubuntu/ROS 2024.08.11

Ubuntu20.04_ROS1 noetiec & ROS2 foxy Install 설치 (둘다 사용)

오늘은 Ros를 설치하는 김에 두가지 버전을 설치하도록 하겠습니다!! ROS1 Noetic 설치 ROS noetic 설치 가이드 위에 사이트에서 설치하셔도 되고 밑에 단계를 따라하셔도 됩니다! 1. 설치 패키지 목록에 ros 추가 sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' 2. ros 설치 키 설정 sudo apt install curl curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - 3. 패키지 목록을 업데이트..

Ubuntu/ROS 2024.02.23