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

iterator_demo throws exception #66

Closed
solosuper opened this issue Aug 25, 2016 · 4 comments
Closed

iterator_demo throws exception #66

solosuper opened this issue Aug 25, 2016 · 4 comments

Comments

@solosuper
Copy link

When running the iterator demo, the program terminates after a while with the following message:

$ roslaunch grid_map_demos iterators_demo.launch
# ...
[ INFO] [1472111866.193859810]: Running polygon iterator demo.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Time is out of dual 32-bit range
@pfankhauser
Copy link
Member

The demo runs through several iterators and should terminate after the last iterator. You should see something like this

[ INFO] [1472222564.624084658]: Running polygon iterator demo.
[grid_map_iterators_demo-2] process has finished cleanly

How long does the demo run for you? Can you run GDB on it?

@solosuper
Copy link
Author

Hi, sorry for the late reply.
I should probably mention that I have cloned this repo into my workspace and is thus compiling it from source with catkin_make along with my own package (and cv_bridge (to be able to use OpenCV 3)). I just tried installing grid_map with apt-get install ros-indigo-grid-map and the demo then works perfectly.


So to the problem:

Yes, I've tried running GDB on it, and the demo stops during the polygon iterator demo, at IteratorsDemo.cpp#L195

@solosuper
Copy link
Author

I am embarassed to say that the issue should not have been reported. I was working on an old fork of this project, and I guess that's the cause of error.

@pfankhauser
Copy link
Member

Don't worry, thanks for the update.

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