I want to define optional arguments in my ROS service request, the .srv
file looks like this:
abb_rapid_msgs/RobTarget pickpoint
abb_rapid_msgs/RobTarget placepoint
bool leftarm
# Optional Parameters
abb_rapid_msgs/RobTarget pickappoint
abb_rapid_msgs/RobTarget placeappoint
float32 speed
---
bool success
and I want to check whether one or more of these optional arguments are passed in order to call the correspondent ServiceProxy
.
Can you please tell me how can I do that? thanks in advance.