Hi,
I just solve a situation I don't know how to debug. When subscribing to a topic, the prototype of my callback function was
void my_callback(const std_msgs::String::ConstPtr& msg);
instead of
void my_callback(const control_msgs::JointControllerState::ConstPtr& msg);
However, the code compiled fine and no error was reported at runtime. For future use, where should I look to get more debug info on topic subscriptions?
Originally posted by Stephane Caron on ROS Answers with karma: 5 on 2015-03-20
Post score: 0