Git Product home page Git Product logo

Comments (10)

jeremywillans avatar jeremywillans commented on September 15, 2024

Can you upload the first say 50ish lines of the vacuum.log file?

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on September 15, 2024

Home Assistant notifications (Log started: 2021-07-30T02:25:10.139140+00:00)

(-33, 0, 25)
(-33, 0, 178)
(-929, -519, 93)
(-929, -519, 85)
(-854, -518, 0)
(-713, -519, 0)
(-569, -518, 1)
(-614, -505, 179)
(-753, -505, 178)
(-898, -505, -179)
(-1012, -504, 145)
(-908, -490, 0)
(-764, -492, 2)
(-622, -490, 0)
(-473, -491, 0)
(-318, -490, 0)
(-167, -491, 0)
(-124, -479, 146)
(-267, -476, -179)
(-421, -476, 179)
(-518, -478, -141)
(-539, -478, -172)
(-668, -478, 179)
(-809, -478, 179)
(-962, -478, 179)
(-997, -464, 4)
(-848, -464, 0)
(-705, -464, 0)
(-574, -464, 0)
(-648, -450, 179)
(-791, -451, 179)
(-941, -450, -179)
(-988, -437, 8)
(-841, -437, 0)
(-696, -437, 0)
(-548, -437, 0)
(-399, -437, 0)
(-317, -437, 0)
(-380, -422, -179)
(-532, -423, -179)
(-676, -422, -179)
(-819, -422, -179)
(-973, -423, -179)
(-952, -409, 0)
(-800, -409, 0)
(-655, -409, 0)
(-508, -409, 0)
(-356, -410, 0)
(-398, -395, -178)
(-550, -395, 179)
(-688, -396, -179)
(-829, -398, -178)
(-976, -397, -179)
(-957, -382, 0)
(-805, -383, 0)
(-861, -369, 178)
(-993, -369, -179)
(-908, -356, 0)
(-759, -356, -2)
(-615, -355, 0)
(-522, -356, 58)
(-551, -342, 107)
(-535, -327, 164)
(-568, -334, 163)
(-571, -333, -111)
(-556, -384, -27)
(-465, -395, 0)
(-338, -395, 0)
(-427, -380, 179)
(-549, -380, 179)
(-672, -379, -178)
(-742, -380, -163)
(-737, -401, -98)
(-789, -531, -113)
(-834, -534, -179)
(-985, -534, -179)
(-1001, -534, 179)
(-936, -548, -34)
(-999, -561, -148)
(-986, -588, -175)
(-986, -594, -2)
(-962, -573, 59)
(-958, -567, 156)
(-964, -464, 76)
(-975, -346, 123)
(-904, -346, 0)
(-760, -345, 1)
(-615, -346, 0)
(-520, -346, 0)
(-528, -359, -92)
(-510, -397, -22)
(-493, -474, -143)
(-431, -474, 0)
(-282, -474, 0)
(-128, -474, 0)

from ha-rest980-roomba.

jeremywillans avatar jeremywillans commented on September 15, 2024

ok so the first two points are bogus, if you look at the actual number, its completley different from the rest.
not sure why this happens, might just be the robot "working out where it is"

I was able to get the coordinates back on screen adjusting the following

$set_first_coordinate = 3; # Ability to skip initial coordinate(s) if incorrect data logged
..
$x_offset = 800;
$y_offset = 1200;
$flip_vertical = false;

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on September 15, 2024

that gets me much closer.

image

Though i think i'll need to run it again and watch where it actually goes to see how it's mapping... it almost looks like it's 90 degrees off based on this picture.

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on September 15, 2024

Also, what method did you follow to come by a map of your home? Do you have any suggestions toward getting the correct dimensions to match the map's 1ft to the roomba's 1ft?

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on September 15, 2024

To clarify i just told it to clean the Living room, so it shouldn't have gone anywhere else but i was working and wasn't around to see where it actually went.

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on September 15, 2024

rotate angle parameter seems to just make all the roomba lines vanish altogether. I tried 90 and 270 and everything just disappeared.

from ha-rest980-roomba.

jeremywillans avatar jeremywillans commented on September 15, 2024

So with rotate lines, the "whole overlay" rotates, not just the lines if that makes sense, so you need to then adjust the offset values.

I suggest running a full clean which give you a complete vacuum.log (and then make a backup copy of this file!) and then keep adjusting the map/offset/rotate/scale options until it looks like your house

from ha-rest980-roomba.

jeremywillans avatar jeremywillans commented on September 15, 2024

bump

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on September 15, 2024

from ha-rest980-roomba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.