I am trying to use '/gazebo/Model_states' topic to get the model states.
shouldn't the include be like
#include gazebo_msgs/ModelStates.h
and callback function be like
void ModelStatecallback(const gazebo_msgs::ModelStates::ConstPtr& msg)
{
}
Is anything wrong in this ? When I tried this I get following error.
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:121: error: ‘__s_getMD5Sum’ is not a member of ‘int’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:138: error: ‘__s_getDataType’ is not a member of ‘int'
Any help is appreciated.
Originally posted by adesh on ROS Answers with karma: 36 on 2011-10-31
Post score: 0