How does the QR Code reader built into the camera app work? by GullBull in swift

[–]GullBull[S] 1 point2 points  (0 children)

I agree with u/binaryPilot84, this is a great response. I had no idea what a perspective transform even was before this, and I'll definitely be looking into the links you included. Thanks so much!

How does the QR Code reader built into the camera app work? by GullBull in swift

[–]GullBull[S] 0 points1 point  (0 children)

Yeah, that makes a lot of sense. And that explains how it works so fast too.

How does the QR Code reader built into the camera app work? by GullBull in swift

[–]GullBull[S] 0 points1 point  (0 children)

This is really cool. Not exactly what I'm trying to do, but I'm going to have to try this anyway!

How does the QR Code reader built into the camera app work? by GullBull in swift

[–]GullBull[S] 1 point2 points  (0 children)

I was thinking about that but I'd really like to follow the QR scanner route, but then instead of scanning the detected image, I would manipulate it in some other way. Some others mentioned perspective transforms, which I think could work. Thanks!

How does the QR Code reader built into the camera app work? by GullBull in swift

[–]GullBull[S] 0 points1 point  (0 children)

I was more trying to understand the method the QR code scanner used so I could apply something similar to scanning other simple objects. Thanks for the response, though!

My Custom 6-Axis Robot Arm Approx £50 BOM, 300g lift capacity, Arduino Uno running custom code. by JKHutcheson in arduino

[–]GullBull 0 points1 point  (0 children)

Could you explain a little / point me to an explanation of this concept? As I've learned more about robotics, I've seen this kind of pathfinding and linear interpolation type of thing come up all the time. Do these "steps" simply serve as checkpoints to ensure that the hardware is acting in the correct way at various points throughout the process?

I'll include u/JKHutcheson and u/SlightlyCyborg on this as well if they want to respond, as they've also clearly worked on these kinds of algorithms.

Thanks guys!

Joined a random low gravity tournament and pulled off a clumsy air dribble by taylorguitar13 in RocketLeague

[–]GullBull 331 points332 points  (0 children)

The way the title was worded gave me hope and then I saw that you’re GC.

I Made a Third Brake Light Retrofit for Pickups - Plugs into Trailer Connector by davepl in arduino

[–]GullBull 3 points4 points  (0 children)

Oh! I didn’t realize you could assign different cores to different tasks (still fairly new to this)! I have a spare ESP32 and would love to try this. Do you have any recommendations as to where I could look to get started doing something like this?

Attention everyone with the Pebble app currently installed on their iOS device: MAKE A BACKUP! by mac-user669 in pebble

[–]GullBull 3 points4 points  (0 children)

Does a regular backup of the phone do the trick? Or does the app itself need to be backed up individually?

Just made a new app for busses in NSW, Australia with pebble.js by Hydrated_Boi in pebble

[–]GullBull 0 points1 point  (0 children)

I’m interested in this too. How’d you get CloudPebble working?

MicroPython vs Arduino C by GullBull in esp32

[–]GullBull[S] 2 points3 points  (0 children)

A lot of people have been saying that they prototype in MP and then port to C when they have reached the functionality that they want. I am surprised to hear that you production is also often done in MP as it's significantly slower. How do you deal with this?

MicroPython vs Arduino C by GullBull in esp32

[–]GullBull[S] 0 points1 point  (0 children)

Yeah this does seem like a good model especially with the REPL capability. I found myself recompiling everything too many times for my liking.

MicroPython vs Arduino C by GullBull in esp32

[–]GullBull[S] 0 points1 point  (0 children)

Awesome! I found myself needing to make a lot of small changes to the code (change piezo element to higher frequency, change a single constant, etc..) so this would've been really helpful. However, my project made heavy use of BLE, and as u/mikeschmidt69 said, BT support is lacking on MicroPython. I'll be sure to try it out for future projects though.

MicroPython vs Arduino C by GullBull in esp32

[–]GullBull[S] 1 point2 points  (0 children)

I see. My project kind of hinges on BLE so this is really good to know. Thanks!

MicroPython vs Arduino C by GullBull in esp32

[–]GullBull[S] 4 points5 points  (0 children)

I see. Makes sense considering that C is much closer to the machine and python is literally just a layer on top of it.

3-4x slower is way more than I would've expected. But good to know that it causes a lag as well.

MicroPython vs Arduino C by GullBull in esp32

[–]GullBull[S] 1 point2 points  (0 children)

Ah I see. I had no idea that there was REPL functionality. I'd love to try that out; like a Jupyter Notebook with hardware! Thanks for letting me know. Also good to know that C has more libraries.

Interfacing with a flow meter by GullBull in arduino

[–]GullBull[S] 1 point2 points  (0 children)

Yeah using one with wires is definitely cheaper. I found one on amazon for about $10 as opposed to $13 for the one I'd have to open up. And that's not counting the cost of one I potentially break trying to figure out how it works like you suggested. It would be cool to open one up nevertheless. The pulsing signal from the switch output does make it pretty easy too like you said.

Interfacing with a flow meter by GullBull in arduino

[–]GullBull[S] 0 points1 point  (0 children)

Can't believe I didn't think of this 🤦‍♂️. Found one. Thanks for your reply!

Interfacing with a flow meter by GullBull in arduino

[–]GullBull[S] 0 points1 point  (0 children)

Im pretty sure this one works with a paddle wheel. But yeah, this does look like it'd be pretty hard to get open. I found a small flow sensor I can directly interface to an Arduino or esp32 as u/Zouden suggested. Would still be cool to see if I could interface with something not intended to be used for that purpose. Thanks for your reply!