ERROR: Cannot load message class for [stereo_msgs/RectifiedImage]. Are your messages built? [closed]

asked 2015-07-16 15:35:32 -0600

saikrishnagv gravatar image

http://answers.ros.org/question/18707... http://answers.ros.org/question/62430... https://github.com/epsilonorion/rosco... http://answers.ros.org/question/57103...

these answers did not help me.

in my workspace, I have my custom message stereo_msgs/RectifiedImage.msg I want to publish that.

when I do rostopic list, I can see "/mycustomtopic"

but when I do rostopic echo, "ERROR: Cannot load message class for [stereo_msgs/RectifiedImage]. Are your messages built?"

my_msg_pub_ = nh.advertise<stereo_msgs::rectifiedimage>("mycustomtopic", 1);

this is in my main function

and in my callback function (i am subscring to other message type),

my_msg_pub_.publish(myimage);

pls help me out

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-01-11 20:37:12.619248

Comments

Are they? What is the output of rosmsg show stereo_msgs/RectifiedImage?

yigit gravatar image yigit  ( 2015-07-18 18:05:06 -0600 )edit