ros-industrial/industrial_core — pull request #93 by gavanderhoorn (2014-11-15 17:51:17+00:00)
Title: Add GetRobotInfo service server implementation to Robot Simulator

Users can supply the information that should be returned by the server by configuring the private parameter `~robot_info` in a launch file like so (the information could also be loaded from a yaml file, again using `rosparam`):

```xml

controller:
model: 'My Robot Controller'
serial_number: 'ABC-123'
sw_version: 'V1.23/ABC'
robots:
- model: 'My Robot Model'
serial_number: '123456'
sw_version: 'V4.56/DEF'

```

As the Industrial Robot Simulator currently simulates only a single robot / motion group, specifying multiple robot entries will result in only the first of the list to be used (and a warning being emitted).

Fields absent from the `rosparam` parameter will result in empty strings being assigned to the corresponding fields in the `controller` and `robot` parts of the service response.