Comments (3)
It is fixed now. The swig interface had a bug that didn't check if the loop was getting out of the boundary. Feel free to reopen it if it happens again, and thank you for the issue!
from fields2cover.
Hi @kylona,
Thanks for the issue. Nice that you documented it. Unfortunately, I don't have a solution for it. I checked it and it seems related with an out_of_range exception that our SWIG interface cannot handle. This loop also crashes:
for swath in swaths:
pass
My workaround is to use for loops with index:
for i in range(swaths.size()):
swath = swaths[i]
If you find any solution, feel free to share it
from fields2cover.
Trying to get a better idea of the underlying issue. Why was this not an issue before v2. Were there changes made to f2c::types::Swaths
? I don't see any changes in https://fields2cover.github.io/source/migration_to_v2.html
from fields2cover.
Related Issues (20)
- 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 8
- Python syntax to specify options for planCovPath and planCovRoute HOT 3
- CMake error with v2 changes on libabsl_log_severity.a HOT 23
- 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
- Planning of Loops F2c V2 HOT 8
- Segfault at exit. HOT 6
- Virtual Superclasses Should Have Virtual Destructors
- Installing f2c as a local package to venv HOT 1
- Undefined Reference to GLIB HOT 3
- Wrong Repo
- Get USE_ORTOOLS_FETCH_SRC=ON to work again. HOT 3
- Working with WGS84 HOT 6
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.