报错:generate_messages() must be called before catkin_package() in project 应在CMakelists中把创建msg的依赖写在catkin之前。