-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8ae4d7
commit 68203e7
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,31 @@ | ||
# ping-rs | ||
https://docs.bluerobotics.com/ping-rs/bluerobotics_ping/ | ||
|
||
## Using example: | ||
|
||
To run examples use: | ||
|
||
```shell | ||
cargo run --example ping_1d -- --port-name /dev/ttyUSB0 | ||
``` | ||
|
||
Should output: | ||
```shell | ||
Parsing user provided values... | ||
Creating your Ping 1D device | ||
Testing set/get device id: 9 | ||
Testing set/get device id: 8 | ||
Testing set/get device id: 7 | ||
Testing set/get device id: 6 | ||
Testing set/get device id: 5 | ||
Testing set/get device id: 4 | ||
Testing set/get device id: 3 | ||
Testing set/get device id: 2 | ||
Testing set/get device id: 1 | ||
Set gain to auto: true | ||
Protocol version is: 1.0.0 | ||
Device id is: 1 | ||
Waiting for 30 profiles... | ||
Received 30 profiles | ||
Turning-off the continuous messages stream from Ping1D | ||
``` |