Usage¶
To use xcv in a project:
import xcv
What does XCV do?¶
In-Game Tracking¶
Template Image |
Template Name |
Usage |
Size |
ROI |
|---|---|---|---|---|
|
My Team Badge |
Determine which side of the game sreen I am defending |
24px X 24px |
|
|
My Team Scoreboard Name |
Determine which side of the scoreboard we’re on, |
25px X 8px |
|
|
Home Score |
Digits 0-11 currently used, matched via template matching with moderate success |
25px X 8px |
|
|
Away Score |
Digits 0-1 currently used, matched via template matching with not-so-great success |
25px X 8px |
Hardware¶
CLI¶
python3 xcv
- Options:
- -v, --verbose
Display debug information
- --port TEXT
Controller port, default is /dev/cu.SLAB_USBtoUART
- -auto, --autopilot
Initiate xcv sequence
- --push
Enter button to push (A, B, X, Y, S, l, r, w, a, s, d, o, p)
- --count INTEGER
Time in seconds before commands
- -dry, --dryrun
For testing without xbox controller connected
- --help
Show this message and exit.
- --debug
List USB ports and check the serial connection