I tried to use my raspi3 to control the roomba641. I followed the guide in https://github.com/AutonomyLab/create_autonomy to install the create_autonomy in my raspi with raspbian and ros indigo. I made a new catkin workspace, and cloned the package in the src folder. I just followed the step wrote in the github and failed in the "catkin build" step. It seems that all the packages except ca_driver successfully built. It said:
"CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "diagnostic_msgs"
with any of the following names:
diagnostic_msgsConfig.cmake
diagnostic_msgs-config.cmake
Add the installation prefix of "diagnostic_msgs" to CMAKE_PREFIX_PATH or
set "diagnostic_msgs_DIR" to a directory containing one of the above files.
If "diagnostic_msgs" provides a separate development package or SDK, be
sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)"
It seems that the problem is lack of diagnostic_msgs. Then, I sudo apt-get install ros-diagnostic_msgs. Again, the same error. What should I do?
Originally posted by Hunter on ROS Answers with karma: 15 on 2018-01-11
Post score: 1