1.定义srv文件
string name
uint8 age
uint8 age
uint8 unknown = 0
uint8 male = 1
uini8 female = 2
---
string result
srv数据被三横线分成两个部分,上面是request,下面是respond。
2.在package.xml中添加功能包依赖(和创建消息时的步骤相同)
<build_depend>message_generation</build_depend>
<exec_depend