Comments (4)
Hi @sz73
I just tried installing the package on a clean Ubuntu 18.04 and could not reproduce this error. Can you try the following:
- Install yaml-cpp
sudo apt install libyaml-cpp-dev -y
- Make sure to source your workspace before launch the planner.
source ~/catkin_ws/devel/setup.bash
from polygon_coverage_planning.
Hi @rikba
thank you so much for your help!
sudo apt install libyaml-cpp-dev -y
upgrageded nothing for me. Anyway, after more reinstalling there are now less errors, while one from earlier remains.
(base) simon@simon-ThinkPad-T480:~/catkin_ws/src$ catkin build
----------------------------------------------------------
Profile: default
Extending: [explicit] /opt/ros/melodic
Workspace: /home/simon/catkin_ws
----------------------------------------------------------
Build Space: [exists] /home/simon/catkin_ws/build
Devel Space: [exists] /home/simon/catkin_ws/devel
Install Space: [unused] /home/simon/catkin_ws/install
Log Space: [exists] /home/simon/catkin_ws/logs
Source Space: [exists] /home/simon/catkin_ws/src
DESTDIR: [unused] None
----------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
----------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
----------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
----------------------------------------------------------
Workspace configuration appears valid.
----------------------------------------------------------
[build] Found '12' packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> catkin_simple
Starting >>> mav_msgs
Finished <<< catkin_simple [ 0.2 seconds ]
Starting >>> cgal_catkin
Starting >>> mav_2d_coverage_planning_benchmark
Starting >>> polygon_coverage_solvers
Finished <<< mav_msgs [ 0.4 seconds ]
Starting >>> mav_planning_msgs
Finished <<< cgal_catkin [ 1.0 seconds ]
Finished <<< mav_2d_coverage_planning_benchmark [ 0.1 seconds ]
Finished <<< polygon_coverage_solvers [ 0.2 seconds ]
Starting >>> polygon_coverage_geometry
Finished <<< mav_planning_msgs [ 0.5 seconds ]
Finished <<< polygon_coverage_geometry [ 0.2 seconds ]
Starting >>> polygon_coverage_msgs
Starting >>> polygon_coverage_planners
Finished <<< polygon_coverage_msgs [ 0.3 seconds ]
Starting >>> rviz_polygon_tool
Finished <<< polygon_coverage_planners [ 0.2 seconds ]
Starting >>> polygon_coverage_ros
Finished <<< rviz_polygon_tool [ 0.5 seconds ]
___________________________________________________________________________________________________________________________________________
Errors << polygon_coverage_ros:cmake /home/simon/catkin_ws/logs/polygon_coverage_ros/build.cmake.002.log
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
CMakeLists.txt:26 (pkg_check_modules)
cd /home/simon/catkin_ws/build/polygon_coverage_ros; catkin build --get-env polygon_coverage_ros | catkin env -si /usr/bin/cmake /home/simon/catkin_ws/src/polygon_coverage_planning/polygon_coverage_ros --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/simon/catkin_ws/devel/.private/polygon_coverage_ros -DCMAKE_INSTALL_PREFIX=/home/simon/catkin_ws/install; cd -
...........................................................................................................................................
Failed << polygon_coverage_ros:cmake [ Exited with code 1 ]
Failed <<< polygon_coverage_ros [ 1.1 seconds ]
[build] Summary: 10 of 11 packages succeeded.
[build] Ignored: 1 packages were skipped or are blacklisted.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 2.9 seconds total.
Launching the node still gives this error
ERROR: cannot launch node of type [polygon_coverage_ros/coverage_planner]: can't locate node [coverage_planner] in package [polygon_coverage_ros]
I will try it also on a fresh install of ubuntu.
Do you have a general idea of what I might be making wrong?
Thanks for your time! I appreciate :)
- Simon
from polygon_coverage_planning.
It seems like your installation is missing a package. Namely the CMakeLists is failing at line 26:
pkg_check_modules(YamlCpp REQUIRED yaml-cpp>=0.5)
Can you double check your libyaml installation?
user@host:~$ dpkg -l | grep libyaml-cpp
ii libyaml-cpp-dev 0.5.2-4ubuntu1 amd64 YAML parser and emitter for C++ - development files
ii libyaml-cpp0.5v5:amd64 0.5.2-4ubuntu1 amd64 YAML parser and emitter for C++
from polygon_coverage_planning.
I further reduced the number of dependencies and fixed issues with mono in #19 . I hope this issues is resolved.
from polygon_coverage_planning.
Related Issues (20)
- further inquiry from issue #66
- Inquiry Continuation of #66 and #67 HOT 4
- Setting frame_id to "map" does not work HOT 3
- Question about Clustering HOT 1
- Large terrain takes very very long time to plan coverage path HOT 1
- error: Goal node is not at back of solution HOT 3
- ROS2 release HOT 2
- Question about video presentation. HOT 6
- What is lateral FOV in yaml file? HOT 13
- Path precomputation does not give feedback
- Plan without setting start or goal
- What is wall distance parameter? HOT 1
- Can't echo /waypoint_list HOT 2
- package for ROS melodic faulty HOT 1
- line distance HOT 1
- using with map (map.pgm or occupancy grid map) HOT 2
- Inquiry on how to create accurate waypoints which exist in a map when using polygon_coverage_ros package
- sweep_test
- Error while trying to solve
- coverage planner crashes PC
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 polygon_coverage_planning.