Have been declared publisher but Assertion Failed

asked 2020-05-02 11:32:18 -0500

mika_el gravatar image

updated 2020-05-02 11:45:31 -0500

gvdhoorn gravatar image

I got some error in my program they say

[FATAL] [1588435393.297022382]: ASSERTION FAILED
    file = /opt/ros/kinetic/include/ros/publisher.h
    line = 102
    cond = false
    message = 
[FATAL] [1588435393.297278842]: Call to publish() on an invalid Publisher
[FATAL] [1588435393.297402626]:

i have check my code but my publisher have been declared i'm stuck for this, can you give me some solution for my problem?

this is my source cpp and this my header file header

hope you can help me guys.

edit retag flag offensive close merge delete