Comments (21)
@Jaeyoung-Lim ughhhh! Sorry, my bad! I didn't source my other devel directory face palm.
It works now, I get a red line going through the grid. I assume thats because of my original dem,
Thank you for the efforts!
from grid_map_geo.
@Ahmad-Drak Happy to hear that it worked out!
from grid_map_geo.
just for reference, it was showing a line only since my original tif file was in wgs84. hence the pixel size was in degrees not meters. Therefore it was showing as 3mmx3mm 'line' in rviz.
from grid_map_geo.
The 'not aligining' is not an error it seems. A false flag is passed here
grid_map_geo/src/test_tif_loader.cpp
Line 64 in 4a14be7
However in rviz all i see is an empty grid, nothing else
from grid_map_geo.
@Ahmad-Drak Have you tried providing your own tif file in
grid_map_geo/launch/load_tif.launch
Line 6 in 4a14be7
Unfortunately there is no tif file included in this repository yet due to license constraints
from grid_map_geo.
i added my own tif file
<param name="tif_path" value="$(find grid_map_geo)/resources/DTM-100mm.tif"/>
from grid_map_geo.
@Ahmad-Drak Ah, I see the problem now
You need to provide an empty path for
grid_map_geo/launch/load_tif.launch
Line 7 in 4a14be7
I will fix this in a following PR
from grid_map_geo.
@Jaeyoung-Lim i did as you suggest, same result
<param name="tif_path" value="$(find grid_map_geo)/resources/DTM-100mm.tif"/>
<param name="color_path" value=""/>
from grid_map_geo.
@Ahmad-Drak Have you checked if your rviz is properly configured to visualize the terrain? It should look like below
from grid_map_geo.
@Jaeyoung-Lim it looks just like yours, without the last 3 options
When checking the topic /elevation_map
, there is nothing published there
from grid_map_geo.
@Ahmad-Drak Actually if you look at the Color Transformer, they are not the same. Can you try changing them as displayed in the screenshot I sent you?
Otherwise if you can send the elevation map over I can have a look on what could have gone wrong
from grid_map_geo.
@Jaeyoung-Lim even when chosing Color transformer as Intensity Layer its still same result.
You can get the tif file here -removed-
from grid_map_geo.
@Ahmad-Drak For the DEM you have produced, I am experiencing the same.
Looking into the tif file you shared, is it correct that your model has such a small resolution?
It is a 3mmX3mm dem as far as I can see from the tif definitions
Width: 3139 Height: 3361 Resolution: 1.43701e-06
from grid_map_geo.
@Jaeyoung-Lim yes, thats correct. Its a very high resolution dem
from grid_map_geo.
@Ahmad-Drak I think this is outside the test case I was aware of, but looking into what is going on, could you maybe explain why the tif file needs to be so high resolution and small?
it seems like due to the distance transform it has been doing
grid_map_geo/src/grid_map_geo.cpp
Line 56 in 4a14be7
For your use case I have removed this in #7
After this change I can visualize your DEM, but it seems to have discontinunous values making it appear as a line in the visualization. Also the DEM seems to be extremely small with the high resolution.
from grid_map_geo.
@Jaeyoung-Lim Thank you for the quick fix. However still doesnt show up on my end. I pulled the changes and build again. The results is same as before. The Color Layer entry in rviz only has 'color' option, not elevation like yours.
I think this is because the /elevation_map
topic is still not publishing..
from grid_map_geo.
@Jaeyoung-Lim interestingly, this does not show up in the terminal
grid_map_geo/src/grid_map_geo.cpp
Line 146 in 52025ce
from grid_map_geo.
@Ahmad-Drak How long did you wait for the dem to be read?
from grid_map_geo.
@Jaeyoung-Lim the node is still running. Its been at least 8 minutes.
from grid_map_geo.
@Ahmad-Drak The only thing I can think of is the performance of the system
For me it takes a few seconds(3-4) to read your dem
from grid_map_geo.
@Jaeyoung-Lim thats unlikely, Im using a Ryzen 9 5950x.
I will try to debug more somehow
from grid_map_geo.
Related Issues (12)
- Media Place holders
- Port to ROS 2 HOT 4
- Error while building grid_map_geo for ROS2 Humble HOT 4
- Add CI for ROS2
- No resources HOT 2
- Dynamically load terrain files at runtime HOT 4
- test_grid_map_geo.launch is not valid in the repo HOT 2
- [meta] Release grid_map_geo binaries with bloom
- DOCS: gh pages permissions errors on publish HOT 1
- Python Launch: Switch from os to pathlib HOT 2
- Make test_tif_loader publish quicker by taking advantage of transient local QOS HOT 2
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_geo.