在自定义消息或者服务信息时有可能会报出如下错误
ERROR: Unable to load type [example/ExampleServiceMsg].
Have you typed 'make' in [example]
这一般是由于当前使用的终端的工作环境没有更新导致无法找到自定义的消息。使用下面的命令刷新一下即可
source ~/ros_study/devel/setup.bash
注意要改成自己工作空间路径
在自定义消息或者服务信息时有可能会报出如下错误
ERROR: Unable to load type [example/ExampleServiceMsg].
Have you typed 'make' in [example]
这一般是由于当前使用的终端的工作环境没有更新导致无法找到自定义的消息。使用下面的命令刷新一下即可
source ~/ros_study/devel/setup.bash
注意要改成自己工作空间路径