Ask Your Question
0

‘class octomap::ColorOcTree’ has no member named ‘genKey’ (hydro) [closed]

asked 2014-05-29 21:33:04 -0500

mr42 gravatar image

Hi guys,

I have to make fuerte code runable under hydro. By compiling one package i get the following error:

‘class octomap::ColorOcTree’ has no member named ‘genKey’

I read in this log entry https://code.google.com/p/mrpt/source... , that genKey is deprecated. The author seems to use coordToKey instead. I tried that, but the problem is, that this function doesn't return a boolean value like genKey. But in the code this boolen is needed for an if clause. Does someone know, which function does the same like genKey and returns a boolean.

Thanks

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mr42
close date 2014-06-02 07:09:20.276529

2 Answers

Sort by » oldest newest most voted
1

answered 2014-06-02 06:34:10 -0500

AHornung gravatar image

Please refer to the official API documentation of OctoMap online: http://octomap.github.io/octomap/doc/

If you need the bool return value there is a function coordToKeyChecked as replacement.

edit flag offensive delete link more
-1

answered 2014-06-02 07:07:57 -0500

mr42 gravatar image

Hi AHornung,

with coordToKeyChecked it compiles, so i hope it will work now.

Thanks a lot.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-05-29 21:33:04 -0500

Seen: 107 times

Last updated: Jun 02 '14