Example nodes for ROS service and action server
Accepts list of (float) numbers and returns their sum
roslaunch ros_service_example add_numbers.launch
To call service from command line use rosservice call add_numbers [1,2,3,4,5.02]
Accepts string and returns reversed string
roslaunch ros_service_example reverse_string.launch
To call service from command line use rosservice call reverse_string 'The quick brown fox jumps over the lazy dog'
Accepts number as goal and counts to that number (e.g 24). During feedback returns current count (1, 2, 3, ...) and as result final number (24).
roslaunch ros_service_example count_to.launch