Skip to content

Commit

Permalink
final cppcheck and note on tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Jun 23, 2020
1 parent ba8b2b3 commit 8df6f35
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/plugins/key_publisher/KeyPublisher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
*
*/

#include <iostream>

#include <ignition/msgs/int32.pb.h>
#include <ignition/gui/Application.hh>
#include <ignition/gui/MainWindow.hh>
#include <ignition/plugin/Register.hh>
#include <ignition/msgs/int32.pb.h>

#include "KeyPublisher.hh"

Expand Down
8 changes: 8 additions & 0 deletions tutorials/03_plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ Echo messages from an Ignition Transport topic.

ign gui -c examples/config/pubsub.config

### Key publisher

Publish key presses through Ignition Transport.

ign gui -c examples/config/keypublisher.config

Change the topic to echo to `/keyboard/keypress`, echo, and start pressing keys.

### Topic viewer

**Not ported to versions 1 or higher yet**
Expand Down

0 comments on commit 8df6f35

Please sign in to comment.