Comments (4)
Hi @KlausBuchegger! I'm sorry you're experiencing problems with Grid Map. Can you help me find and solve this bug? It would be really helpful if you could recreate your scenario in a unit test and if necessary randomize the values and repeat the test until the error occurs?
from grid_map.
Sure, I'll try and do that if I find some time, hopefully early next week.
from grid_map.
So, I tried but failed reproducing my scenario where I got stuck (don't have the exact code anymore).
However, during my experiments I noticed that the GridMap function
getPosition (const Index &index, Position &position)
fails for an Index with negative x or y values.
For example I have a 5x5m map with resolution 0.1 and Position(0,0) as center.
a) Then Index(0,0) ~ Position(2.45,2.45)
b) Index(10,1) ~ Position(1.45,2.35) so far so good
But:
c) Index(-10,1) ~ Position(-1.45,2.45)
d) Index(0,-3) ~ Position(2.3342e-312,0)
I'm not sure what the expected behavior for a negative index should be, my intuition was it would just correspond to a Position outside of the map?
But the y coordinate of c) should definitely be 2.35 to match b) and not 2.45, right?
Anyway this could kind of explain my "getting stuck" behavior, as in those cases the polygon gets really big, and that would take a long time to iterate over every pixel inside.
from grid_map.
Any progress on this issue?
from grid_map.
Related Issues (20)
- loadFromBag crashes in ROS2 when bag contains multiple topics HOT 3
- Efficient way to update an existing grid map object
- Superflous CMake Calls to old ament
- MedianFillFilter.cpp -> function cleanedMask() 's morphological operational question
- unable to build grid_map on ros2 humble HOT 1
- How do I access and test the costmap2Dconvertor ?
- Visualize multiple grid maps in rviz HOT 1
- Publish a Float32MultiArray in a GridMap message HOT 1
- Request to add maintainers for ROS 2 or transfer of ownership of ROS 2 to ethz-asl HOT 2
- grid_map_filters package fails during build HOT 1
- rolling: CI can't clone and all jobs fail HOT 4
- Deprecation of OgreVector3.h - Fix by ROS 2 Jazzy HOT 2
- grid_map_pcl and grid_map_sdf warnings with COMP0144 HOT 2
- Github CI on rolling/iron missing tests which causes build farm failures HOT 2
- There is a problem in grid_map_pcl config HOT 2
- Is there a simple way like apt to install grid_map package for ROS2? HOT 1
- Less than 4 points in a cell HOT 1
- Does polygonIterator support multi polygon ?
- README gives the false impression that conversion from Pointcloud2 to grid_map layers are available. HOT 2
- CMP0144 FindFlann wrong case warning 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 grid_map.