Skip to content

Commit

Permalink
Add some example output
Browse files Browse the repository at this point in the history
  • Loading branch information
LoyVanBeek authored Oct 11, 2021
1 parent cf07bb7 commit f195bf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,11 @@ If all is well, the logging shows it is creating bridges for the topic and servi
. <install-space-with-ros2>/setup.bash
ros2 run demo_nodes_cpp listener
```
This should start spewing text like `I heard: [hello world ...]` with a timestamp.

```bash
# Shell F:
. <install-space-with-ros2>/setup.bash
ros2 service call /add_two_ints example_interfaces/srv/AddTwoInts "{a: 1, b: 2}"
```

If all is well, the output should contain `example_interfaces.srv.AddTwoInts_Response(sum=3)`

0 comments on commit f195bf3

Please sign in to comment.