Notice
Recent Posts
Recent Comments
Link
반응형
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Archives
Today
Total
관리 메뉴

To Be Develop

[ROS] E: Unable to locate package ros-noetic-gazebo11 해결방법 본문

dev/Ros

[ROS] E: Unable to locate package ros-noetic-gazebo11 해결방법

To Be Develop 2024. 3. 2. 13:17
반응형

에러 메세지:

E: Unable to locate package ros-noetic-gazebo9

or 

E: Unable to locate package ros-noetic-gazebo11

 

 

상황:

ROS 에서 가제보를 사용하기 위해서 연동을 시켜주려고 가이드를 따라 설치를 하려고 하는데 에러가 발생했다.

sudo apt install ros-noetic-gazebo9
sudo apt install ros-noetic-gazebo11

 

내 ROS 버전은 noetic 이라서 버전 충돌은 아닌데 도대체 왜 패키지에 없다는 거지 ...??

 

 

 

해결:

완전한 해결방법은 아니지만 이런 저런 시도를 다 해봤다. 일반적으로 ROS 연동을 위한 것이 아니라면 그냥 가제보를 설치하고자 하는 명령어를 사용하면 된다. https://classic.gazebosim.org/tutorials?tut=install_ubuntu

 

Gazebo : Tutorial : Ubuntu

Install Gazebo using Ubuntu packages This tutorial covers the installation of Gazebo packages using the packages.osrfoundation.org repository, designed for those who want to follow the faster development path but still a stable one. Some notes: Gazebo11 is

classic.gazebosim.org

 

하지만 나는 Gazebo 를 ROS 연동을 위해 설치하는 것이므로 이것은 할 수 없다. 또 다른 방법으로는 깃허브를 통해 설치하는 것인데 이것은 빌드하는데 너무 오랜 시간이 걸려서 패스했다.

https://github.com/ros-simulation/gazebo_ros_pkgs

 

GitHub - ros-simulation/gazebo_ros_pkgs: Wrappers, tools and additional API's for using ROS with Gazebo

Wrappers, tools and additional API's for using ROS with Gazebo - ros-simulation/gazebo_ros_pkgs

github.com

 

그러나 이게 뭐람.. ? 이미 설치가 되어있는 것이 아니겠는가 ? 

 

roslaunch gazebo_ros empty_world.launch

 

위 명령어를 입력하면 바로 ... 들어가진다..ㅎㅎ

 

실제로 Ros 패키지들을 여러가지 설치하면서 자동으로 설치된 듯 하다... ROS 에서 가제보 11버전을 제공한다고 글을 봤던 것 같은데,, 여튼 이미 설치되어있어서 저장소에도 추가되지 않았던 것이 아닌가 생각이 든다.

 

따라서 이런 에러가 있으신 분들은 실제로 설치되어있을 지도~!

 

혹시나 다른 문제라면 아래 공식 사이트를 참고하셔요 

https://classic.gazebosim.org/tutorials?tut=ros_wrapper_versions

 

Gazebo : Tutorial : Which combination of ROS/Gazebo versions to use

Introduction This document provides an overview about the options to use different versions of ROS in combination with different versions of Gazebo. It is recommended to read it before installing the Gazebo ROS wrappers. Important! simple analysis for a qu

classic.gazebosim.org

 

반응형