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)
- Eigen Plugins not compiled. HOT 1
- Occupancy grid map to elevation map HOT 1
- No GridMap visualization of gridmap messages
- Compilation error while building SdfDemo
- The imported target "Qt5::Gui" references the file "/usr/lib/x86_64-linux-gnu/libGL.so" but this file does not exist. HOT 2
- missmatching sizes of grid_map using rviz plugin (ROS) HOT 1
- could the grid_map can be used for robot-arm for path plan
- does the pcd file's points cloud need to align with gravity?
- Compilation bug in foxy-devel where variable outputColor is not initialzied in pkg grid_map_filters HOT 1
- Wrong parameter name in grid_map_pcl
- Build issue possibly related to Eigen add-on macros HOT 3
- How to convert grid map from Elevation Mapping to CostMap2D? HOT 3
- Invoking "make -j16 -l16" failed when building the grid map HOT 1
- 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
- How do I access and test the costmap2Dconvertor ?
- Visualize multiple grid maps in rviz
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.