Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code to parse QR input does not run on MacOs #81

Open
fuddster opened this issue Mar 3, 2023 · 3 comments
Open

Code to parse QR input does not run on MacOs #81

fuddster opened this issue Mar 3, 2023 · 3 comments

Comments

@fuddster
Copy link
Collaborator

fuddster commented Mar 3, 2023

No description provided.

@zaaj
Copy link
Contributor

zaaj commented Mar 26, 2023

I just left this as a comment in another issue, but you could consider this for MacOS use too:

In the version (FRC Team 95) modified for our own use, we changed the encoded data from:

field1=value1;field2=value2...

to:

value1[tab]value2[tab]...

Barcode scanners act like a keyboards, and spreadsheet programs advance one cell to the right when Tab is typed. We made sure our scanner appended an [Enter] after each scan. We just place the cursor in the left-most cell of the first empty row in our table, and scan the QR code - the data goes right into the cells with no script needed, and the cursor ends up in the correct cell to scan the next QR code.

@zaaj
Copy link
Contributor

zaaj commented May 13, 2023

In fact, our scouting team is small enough they often scout a whole alliance per scout, so we put three copies of the scoutingPass form side by side in landscape mode on a tablet. Our students combined all 3 records of data into one rather dense QR code, with [Enter] between records, and [tab] still between columns - it's been working out OK. Kinda strange watching the spreadsheet continue to enter data for a few seconds after the QR code is scanned, since it probably has some inter-character delays built in to reduce the chance of the host computer dropping any characters (how big is the HID data-reading buffer in your operating system? ;) )

@zaaj
Copy link
Contributor

zaaj commented Oct 29, 2023

Now that pull request #75 has been merged in, you can change
"dataFormat": "kvs"
to
"dataFormat": "tsv"

in the config.js file you're using to switch the data into tab separated values format, as descried in the Configuration.md file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants