roomba alg

  • 6 Replies
  • 1289 Views
*

yotamarker

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • battle programming
roomba alg
« on: February 20, 2020, 11:16:27 am »
I was wondering if someone has the Roomba vacume algorithm
for moving about the room, deciding to finish, and returning to the charging point

*

WriterOfMinds

  • Trusty Member
  • ********
  • Replicant
  • *
  • 617
    • WriterOfMinds Blog
Re: roomba alg
« Reply #1 on: February 20, 2020, 07:42:46 pm »
Why would any of us have that?

There are various online articles you can read about how it works, but I presume the full algorithm is proprietary to iRobot.

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: roomba alg
« Reply #2 on: February 20, 2020, 09:57:38 pm »
You could probably make your own. It's as dumb as a worm I wager.

All you do is make your own wheeler and set it to use random math function to go crazy all over the floor. Now you just cleaned 50% of your home already. Assuming the bumper and vacuum are working well.



« Last Edit: February 20, 2020, 10:20:39 pm by LOCKSUIT »
Emergent          https://openai.com/blog/

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: roomba alg
« Reply #3 on: February 23, 2020, 03:51:56 am »
Some of the early vacuums like the roomba's basically did a bump and travel and some bots would employ one of three different pattern, a random zig-zag after bumping something, a perimeter sweep with each successive pass becoming closer toward the center and the opposite would be a progressively outward spiral.
A better technology that has been in use for over a decade was used by the Neat-O robot vacuum. It used a laser mounted atop it's base that performed a laser map of it's surroundings (room) and could navigate without the need to blindly bump into things in order to find its way around the room. The result  would be long parallel lines almost as if a human had pushed a standard vacuum to one wall, turned and pushed back toward the other wall in a nice row-next-to-row pattern (if carpeted).

They have come a long way and can stop when power runs low, return to base, recharge, return to where it left off and continue vacuuming! Others are able to perform a self-empty function when the debris bin get full.

As to the algorithm for the laser guidance or the bumper bounce off/continue, as WOM mentioned, I would think that would be an in-house secret.

@ Locksuit, if I recall correctly, did some early experiments with a small programmable robot that could move about a small room or area. Was there some secret algorithm you used for that or was it part of a scripted code that came with the robot?
In the world of AI, it's the thought that counts!

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: roomba alg
« Reply #4 on: February 23, 2020, 07:19:19 am »
All I did was make it learn the motor speed/direction that made the accelometer go high, and then at the wall I was trying to get it to cry when the accelometer stopped giving the 'good signal' (stopping pleasure = pain, go figure), then it stops tugging the floor cus it no working, it cries, and tries random actions, once again. Once it learns to rotate around and start pushing itself forward, it is laughing again, and so the next time it meets a wall it chooses the best decision that stopped pain. This way it learns to walk forward plus avoid walls 'before' reaching them because they look similar (the distance-o-meter sees proximity as similar if range if close enough to when seen during the correction actions that got it out of pain...

However GPT-2 is the way of AGI, not so much the physical motor learning...it can't solve Problems not in front of itself!

The title is perhaps a little outdatted and hype-like from a beginner's view
from 2016 lol
5:40-9:15 is the actual bot
14:50 and on is a lundon UK dubstep song hehe
Emergent          https://openai.com/blog/

*

yotamarker

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • battle programming
Re: roomba alg
« Reply #5 on: February 23, 2020, 04:00:16 pm »
I remember seeing a very based alg at a pdf called robot builders bronze, but I cant find that book
now.

I did however find this :
FIND-PATH(x, y)
if (x,y outside maze) return false
if (x,y is goal) return true
if (x,y not open) return false
mark x,y as part of solution path
if (FIND-PATH(North of x,y) == true) return true
if (FIND-PATH(East of x,y) == true) return true
if (FIND-PATH(South of x,y) == true) return true
if (FIND-PATH(West of x,y) == true) return true
unmark x,y as part of solution path
return false

which is part of the solution. and has other implementations

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: roomba alg
« Reply #6 on: February 23, 2020, 09:13:12 pm »
Maybe HS would like Lego Mindstorms EV3 for the motor usage? It has less capability as Blockly but it is as easy to use!!! It doesn't generate Python etc code though, just runs in the bionics device. GO BIONICS!!!
Emergent          https://openai.com/blog/

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

380 Guests, 0 Users

Most Online Today: 532. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles