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

Revision history [back]

click to hide/show revision 1
initial version

It looks like you're using the bot/Pose message in another package as well and added it to the dependencies. See this answer especially the last part about custom messages being used in different custom packages. I think you are using the bot/Pose message somewhere else (a subscriber?!) and added it to the add_dependencies statement but not to the package.xml.

Regarding the code, it has to be bot::Pose otherwise it won't find it.

It looks like you're using the bot/Pose message in another package as well and added it to the dependencies. See this answer especially the last part about custom messages being used in different custom packages. I think you are using the bot/Pose message somewhere else (a subscriber?!) and added it to the add_dependencies statement but not to the package.xml.

Regarding the code, it has to be bot::Pose otherwise it won't find it.

Also you should remove bot from

find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
message_generation
bot
)

Because you are trying to build the bot package so looking for it with find_package at the same time might have unwanted effects.