Comments (3)
On the other hand, Where to modify polygon boundary coordinate points?
In source code, conversor::ROS::to(f.getCellBorder(0), polygon_st.polygon);
is get polygon points, if I want to modify the boundary corrdinate points, what I shoud do?
from fields2cover.
Hi @Stoner-F,
AerialmapDisplay (https://github.com/nobleo/rviz_satellite) returns the map from OpenStreetMap. It is only required for visualization purposes.
conversor::ROS::to(f.getCellBorder(0), polygon_st.polygon);
transforms F2CLinearRing
into geometry_msgs::Polygon
. geometry_msgs::Polygon
are circular lines without holes (as F2CLinearRing
). f
is a F2CCells
, which is a vector of F2CCell
. And F2CCell
is compound of F2CLinearRing
s. The first one defines the outer border, and the others are the holes of the polygon. In general, compounded types in the Fields2Cover library have the method size()
and getGeometry(int)
to access to those values. Further documentation can be access here.
Please, ask for any clarification if needed :)
from fields2cover.
I'll close this issue. Feel free to re-open it if needed
from fields2cover.
Related Issues (20)
- Geojson to XML file HOT 1
- Inconsistent swath width when using decompose HOT 5
- Using Swaths vs Route for path planning. HOT 2
- Concatenating routes HOT 1
- Errors install Ubuntu 22.04 HOT 2
- Using enumerate on a Swaths object causes a segfault HOT 3
- Visualization using python HOT 2
- Compilation error HOT 4
- Full path constrained within headland HOT 2
- Compile error due to include path HOT 1
- ROS Noetic, CMake could not find Fiels2Cover package
- Crossing inner cells HOT 3
- ROS buildfarm does not compile F2C properly HOT 18
- Packaging for distribution is needed, as the build subsequently fails because of the many unspecified dependencies HOT 3
- Fields2Cover build breaks other ROS packages build (Eigen error) HOT 2
- Install swig from package manager HOT 4
- Python syntax to specify options for planCovPath and planCovRoute HOT 3
- CMake error with v2 changes on libabsl_log_severity.a
- Add figure_size() function to allow control of output size of visualiser.
- Idea - add minimum distance cost/penalty for ortools::RoutingModel for emergent snake/spiral behaviour. 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 fields2cover.