ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I was returning the wrong response type in my callback. My service semantically returns nothing, which apparently means I have to return EmptyResponse()...

I was returning the wrong response type in my callback. My I was returning the auto-generated MyServiceResponse object for my service's srv file. Even though my service semantically returns nothing, which has no return types, this apparently means I have something's still returned. The fix was to to return EmptyResponse()...