Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Gridmap and Octomap with recent integration of Gridmap #1238

Closed
FlorianMehnert opened this issue Mar 11, 2024 · 2 comments
Closed

Empty Gridmap and Octomap with recent integration of Gridmap #1238

FlorianMehnert opened this issue Mar 11, 2024 · 2 comments

Comments

@FlorianMehnert
Copy link

Hi there,

with the integration of grid_map_integration into the master #1180 neither Octomap or Gridmap generation work anymore for me anymore. Gridmap publishes Maps containing only Nan values and Octomap publishes empty maps.

Do you have any idea on why this could happen?

As a side effect RviZ is crashing with: catkin_ws/src/grid_map/grid_map_core/src/GridMap.cpp:45: void grid_map::GridMap::setGeometry(const Length&, double, const Position&): Assertion length(0) > 0.0' failed.`

@matlabbe
Copy link
Member

Just tried the latest rtabmap noetic binary releases 0.21.4 with this example:

roslaunch rtabmap_demos demo_stereo_outdoor.launch rviz:=true
rosbag play --clock stereo_outdoorA.bag

and I can get the three topics at the same time:
image

I see grid_map is built from source, are you also using rtabmap from source?

@FlorianMehnert
Copy link
Author

Yes I was using rtabmap from source. After 2 days of doing nothing everything works 😅
Maybe there was an issue with the OAK camera I am using or something else :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants