Skip to content

Commit 193120f

Browse files
committed
Add Readme for ssl-vision-cli
1 parent 10a5c15 commit 193120f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cmd/ssl-vision-cli/Readme.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ssl-vision-cli
2+
3+
The ssl-vision-cli listens for ssl-vision messages and prints them to the console as JSON.
4+
5+
The output can be processed in Bash with `jq`, for example:
6+
7+
```shell
8+
# Print t_capture only
9+
ssl-vision-cli -noGeometry | jq '.t_capture'
10+
11+
# Print t_capture with ball position in csv format
12+
ssl-vision-cli -noGeometry | jq -r '[.t_capture, .balls[0].x, .balls[0].y] | @csv'
13+
```

0 commit comments

Comments
 (0)