ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Instead of
return AddTwoIntsResponse(...)
I find more intuitive to return using a dictionary:
return {"sum" : req.a + req.b, "multi" : req.a * req.b}