ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.
2 | No.2 Revision |
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.