Hacker News new | ask | show | jobs
Show HN: Drive My Robot (teleportconnect.com)
14 points by tomjacobs 2021 days ago
7 comments

Really cool, but please work a bit on controls for smartphones. Holding a button pops up a browser's menu.
any webdevs out there, love to help?
So generally a quick way to prevent that sort of stuff from happening on mobile is to tack this CSS onto the elements in question (canvas, img, etc):

    touch-action: none;
    -ms-touch-action: none;
    user-select: none;
That should prevent any touch related actions and accidental user selection on devices.

See MDN for details on each:

https://developer.mozilla.org/en-US/docs/Web/CSS/touch-actio...

https://developer.mozilla.org/en-US/docs/Web/CSS/user-select

done, thanks! didn't seem to work though
This is really cool! I would have loved to implement such a low latency video feed for one my past projects. How did you do the video feed?
h264 raw over websockets, js decoder
Super cool! Sorry for hitting your computer.
No prob!
I think I got stuck, so I tried sending an S-O-S via the motor.
SHIFT for TURBO!
Loved it haha! Sorry for knocking down the No Boxes :)
crash
this is the coolest!!!!! Although.... it randomly disconnects sometimes! but STILL the coolest thing ever!
ha, that's me taking over control
wow, that latency is fantastic, how does it work?
raw h264 over websockets