ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

'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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

Question Tools


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

Seen: 205 times

Last updated: May 01 '12