Using custom msg in custom srv
Hi,
i have a msg package with a custom message like this:
MyStruct.msg
...
/* Content of MyStruct*/
HeaderStruct header
DataStruct data
using this msg type in different Nodes
Now i want to implement a srv using MyStruct.msg I modified my CmakeLists.txt of my service package with:
find_package(my_msgs REQUIRED)
and added to the package.xml
<build_depend>my_msgs</build_depend>
<exec_depend>my_msgs</exec_depend>
In the srv file i added
my_msgs/MyStruct data
---
float64 result
int64 calculation_time
but when building i always get the error
AttributeError: 'ServiceSpecification' object has no attribute 'base_type'
as soon as switching to this
float64 data
---
float64 result
int64 calculation_time
it works ... am i missing something ? Thanks!