Italy
Asked — Edited

QR Code With Blockly

Hi! Using Blockly I can't find a "Wait for QR Code" block similar to the one present for glyphs.

User-inserted image

I was able to find the function through javascript to get the wait for a new QR code but from Blockly I can't find the block. can you help me?

Is glyph recognition much better than QRCode? Can additional glyphs be added?

Thanks!


Related Hardware JD Humanoid
Related Control QR Code Generator

ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

PRO
USA
#1   — Edited

Here is where it all started

Glyphs:

https://synthiam.com/Community/Tutorials/111?courseId=1

QR code:

https://synthiam.com/Community/Tutorials/107?courseId=1

In the camera control:

https://youtu.be/16SUP9afNvI  my QR code I made, reading

under audio: you can use: sayPC(wait) or sayEZB(wait)

User-inserted image

or java  - Audio.sayWait(("I am reading " + CameraQRCode));

Moving on to glyphs with augmented reality

https://synthiam.com/Community/Tutorials/109?courseId=1

EzAng

#2  

Thanks for the answer and the links but I wanted to understand how:

Add "wait for QR code" to blockly Increase the number of legible glyphs

Anyway I modified the ARC Blockly to have the block that was missing, now it seems to work

User-inserted image

User-inserted image

PRO
USA
#3   — Edited

Up above, I showed how to "wait" in Blockly - when you look at the java tab, you get  -   Audio.sayWait(("I am reading " + CameraQRCode));  or  Audio.sayEZBWait(("I am reading " + CameraQRCode));

I see under the camera control "Wait For Glyph", but I don't see "Wait For QRCode", where did you get that?

Great, so you got it working?

EzAng

#4  

Yes, It works, sometimes the reading gets stuck but I think it's a QR problem. I have seen that with glyphs it works much better, besides the 4 where can I generate others?

PRO
USA
#5   — Edited

Here, we can't create other glyphs - I asked the question in April, 2019 https://synthiam.com/Community/Questions/how-to-create-more-glyphs-18066

the only glyphs are here: https://synthiam.com/Docs/Skills/Camera/Camera-Device?id=16120#glyphTracking

but under camera control there is a QR code encoder that works like the glyphs - did you watch my QR video? https://youtu.be/16SUP9afNvI my QR code I made, reading the right way and the wrong way

EzAng -  Angelo :-)

#6  

Yes I had already seen your links! but QR codes don't work via App and reading the glyph is faster

thanks!

PRO
USA
#7   — Edited

ok, if that is what you want to do.

I simply use this code and it works:

User-inserted image

or you can use SayEZB(wait)  in the blocky program for your robot to speak

But is you want to use the 4 glyphs, that is fine, that is up to you my friend,

Have a good day,

EzAng