Ask Your Question
0

'serializationLength' but non-virtual destructor with custom message

asked 2012-05-01 07:04:36 -0500

Maltenrazer gravatar image

updated 2014-01-28 17:12:10 -0500

ngrennan gravatar image

I have created a ros node that is a subscriber and publisher. I have also created a message type called "patd" which has the following types: int32 distance String Pattern_no

after doing rosmake the custom message class is created and I have done the include accordingly, "depth_viewer/patd.h".

my problem is that when ever I try to use the custom message I get an error when running the node, "segmentation fault" as i'm working with the kinect.

this is the error I get regarding my custom message:

Class '[C@254fb0' has virtual method 'serializationLength' but non-virtual destructor

please have a look at this screenshot http://img.photobucket.com/albums/v67/maltenrazer/roserror.jpg

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-05-01 07:18:50 -0500

Maltenrazer gravatar image

nvm...fixed now.... the problem was something completely different.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-05-01 07:04:36 -0500

Seen: 163 times

Last updated: May 01 '12