Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-sc66 committed Jan 3, 2024
1 parent 4f46674 commit c9e6f51
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,24 @@ mavlink = "0.12.2"
```

## Examples
See [src/bin/mavlink-dump.rs](src/bin/mavlink-dump.rs) for a usage example.
See [examples/](examples/mavlink-dump/src/main) for different usage examples.

### mavlink-dump
[examples/mavlink-dump](examples/mavlink-dump/src/main) contains an installable example that can be used to test message reception.

It's also possible to install the working example via `cargo` command line:
```sh
cargo install mavlink
cargo install --path examples/mavlink-dump
```

It can then be executed by running:
```
mavlink-dump [options]
```

Example:
```sh
mavlink-dump udpin:127.0.0.1:14540
```

### Community projects
Expand Down

0 comments on commit c9e6f51

Please sign in to comment.