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

@Mimax I had the same issue where i was getting:

ERROR: service [/service] responded with an error: b''

I found it was because i didn't have

return true;

at the end of my service function.

Also make sure you are setting

res.<service_response> = true;

in your service function otherwise your service will return "False" even when it has succeeded