Comments (5)
xacro 컴파일 오류 해결 방법입니다.
gcamp_gazeo 컴파일 시 다음과 같은 오류가 발생합니다.
$ colcon build --symlink-install --packages-select gcamp_gazebo
오류가 발생한 이유는 xacro 패키지를 설치하지 않았기 때문입니다.
xacro 는 다음과 같이 설치할 수 있습니다.
$ sudo apt install ros-foxy-xacro
그런데 xacro 를 설치한 후에도 여전히 같은 문제가 발생하는 경우 다음 명령을 실행해야 합니다.
참고로 ROS 2 를 패키지를 다운 받아 설치하지 않고 직접 빌드하여 사용하고 있는 사람들의 경우 이런 문제가 발생합니다.
$ source /opt/ros/foxy/share/xacro/local_setup.bash
그리고 새로 빌드하면 성공적으로 빌드됩니다.
$ colcon build --symlink-install --packages-select gcamp_gazebo
그런 후 ~/.gazebo/gui.ini 파일을 다음과 같이 수정합니다.
[model_paths]
filenames=/home/<사용자ID>/ros2_ws/src/gcamp_ros2_basic/gcamp_gazebo/GazeboFiles/models
그리고 gcamp_gazebo 를 실행합니다.
$ ros2 launch gcamp_gazebo gcamp_world.launch.py
컴퓨터 사양에 따라 처음 실행 시 약 5분 정도 걸릴 수 있으니 기다리면 다음과 같은 화면이 나옵니다.
from gcamp_ros2_basic.
Since There's Few Information, Cannot recognize problem.
Add more info as I mentioned to you through e-mail.
from gcamp_ros2_basic.
I installed ROS-Foxy via https://puzzling-cashew-c4c.notion.site/ROS-2-Foxy-Linux20-04-58f0c6f2537e498eb8fe163ad1f13ce5.
In short,
Env.: Ubuntu 20.04, ROS-Foxy-desktop
and then as I reported in the previous, I got the error when I run "$ cbp gcamp_gazebo".
Let us know whether there's more information you have to know, related to my env..
from gcamp_ros2_basic.
How did you install xacro?
Did you install with apt
?
for example
$ sudo apt-get install ros-foxy-xacro
Plz Share your log with exact commands
from gcamp_ros2_basic.
Closed because it has been resolved and there is no reply for a long time.
from gcamp_ros2_basic.
Related Issues (20)
- 04강 gazebo simulation 소개 HOT 4
- [BUG] : ROS2 윈도우 설치과정 오류 HOT 3
- [BUG] : ROS2 윈도우 설치과정 오류2 HOT 14
- gcamp_gazebo 패키지 build 에러. HOT 1
- [BUG] : odome실행 오류_ 중간 프로젝트 - Maze World HOT 2
- src 폴더 내부 정리하기 HOT 1
- [BUG] : ROS2 강의 영상 (3강) - 설치과정에서 ros2 launch gcamp_gazebo gcamp_world_windows.launch.py 코딩 에러 HOT 6
- [BUG] : ROS2 윈도우에서의 개발환경구축 HOT 1
- [BUG] : 실습을 위한 Gazebo Simulation 소개 // 환경 구성의 cbp gcamp_gazebo 부분 HOT 1
- [colcon build error] From. [email protected] HOT 2
- [BUG] : ros2 launch gcamp_gazebo gcamp_world.launch.py 커맨드 실행 시 frame 문제로 인한 gazebo 출력 실패 HOT 6
- [Feature Request] : skidbot 과 diffbot의 odometry_pose 값의 차이점에 관한 질문입니다. HOT 1
- [BUG] : Colcon을 이용한 빌드 과정에서 생기는 오류 HOT 1
- [BUG] : rviz에서 No transform from "front_right_wheel" to "robot_footprint" ERROR HOT 2
- src 없이 package build HOT 1
- [BUG] : graphviz 설치 중에 액세스가 거부되었습니다. HOT 1
- gazebo simulation에서 teleop keyboard를 했는데 로봇이 움직이지 않습니다.
- Gazebo package error Failed to load plugin libgazebo_ros_factory.so: libgazebo_ros_factory.so: cannot open shared object file: No such file or directory HOT 7
- [BUG] : HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcamp_ros2_basic.