After following example 3.8 carefully, I tried to run the service using rosservice call /my_service “duration: 0”. I received the following error.
ERROR: service [/my_service] responded with an error: error processing request: ‘MyCustomServiceMessageRequest’ object has no attribute ‘radius’
Not really sure how to proceed.
make sure you
- you sourced the setup.bash
- you compiled the service message correctly
-if you did, it will show up in catkin_ws/devel/include/<<pkg_name>>/
Actually before doing that, make sure you call the service correctly:
rosservice call /my_service “press TAB twice” to autofill the correct message type and format
Are you able to resolve this yet?