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

From GridMap to Image #183

Open
ghost opened this issue Sep 11, 2018 · 1 comment
Open

From GridMap to Image #183

ghost opened this issue Sep 11, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 11, 2018

Hello,

I have just started to play with gridmap.
I am trying to convert /map messages to image (The task is to show the map in image and then embed it into a browser).

I found this class but i am not sure how to use it out: http://docs.ros.org/jade/api/grid_map_cv/html/classgrid__map_1_1GridMapCvConverter.html

Can anyone please guide me to follow through and make it work.

Best,

@brunoeducsantos
Copy link

result = grid_map::GridMapCvConverter::toImage<unsigned short, 4>(gridMap, layer, CV_16UC4, minValue, maxValue, imageSource);

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

1 participant