vacuum-cleaner 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #------------------------------------------------------------------------------
  2. # $File: vacuum-cleaner,v 1.1 2015/11/14 13:38:35 christos Exp $
  3. # vacuum cleaner magic by Thomas M. Ott (ThMO)
  4. #
  5. # navigation map for LG robot vacuum cleaner models VR62xx, VR64xx, VR63xx
  6. # file: MAPDATAyyyymmddhhmmss_xxxxxx_cc.blk
  7. # -> yyyymmdd: year, month, day of cleaning
  8. # -> hhmmss: hour, minute, second of cleaning
  9. # -> xxxxxx: 6 digits
  10. # -> cc: cleaning runs counter
  11. # size: 136044 bytes
  12. #
  13. # struct maphdr {
  14. # int32_t map_cnt; /* 0: single map */
  15. # int32_t min_ceil; /* 4: 100 mm == 10 cm == min. ceil */
  16. # int32_t max_ceil; /* 8: 10000 mm == 100 m == max. ceil */
  17. # int32_t max_climb; /* 12: 50 mm = 5 cm == max. height to climb */
  18. # int32_t unknown; /* 16: 50000 ??? */
  19. # int32_t cell_bytes; /* 20: # of bytes for cells per block */
  20. # int32_t block_max; /* 24: 1000 == max. # of blocks */
  21. # int32_t route_max; /* 28: 1000 == max. # of routes */
  22. # int32_t used_blocks; /* 32: 5/45/33/... == # of block entries used! */
  23. # int32_t cell_dim; /* 36: 10 == cell dimension */
  24. # int32_t clock_tick; /* 40: 100 == clock ticks */
  25. # #if 0
  26. # struct { /* 44: 1000 blocks for 10x10 cells */
  27. # int32_t yoffset;
  28. # int32_t xoffset;
  29. # int32_t posxy;
  30. # int32_t timecode;
  31. # } blocks[ 1000];
  32. # char cells[ 1000* 100]; /* 16044: 1000 10x10 cells */
  33. # int16_t routes[ 1000* 10]; /* 116044: 1000 10-routes */
  34. # #endif
  35. # };
  36. 0 lelong =1
  37. >4 lelong =100
  38. >>8 lelong =10000
  39. >>>12 lelong =50
  40. >>>>16 lelong =50000
  41. >>>>>20 lelong =100
  42. >>>>>>24 lelong =1000
  43. >>>>>>>28 lelong =1000
  44. >>>>>>>>36 lelong =10
  45. >>>>>>>>>40 lelong =100
  46. >>>>>>>>>>32 lelong x LG robot VR6[234]xx %dm^2 navigation
  47. >>>>>>>>>>136040 lelong =-1 reuse map data
  48. >>>>>>>>>>136040 lelong =0 map data
  49. >>>>>>>>>>136040 lelong >0 spurious map data
  50. >>>>>>>>>>136040 lelong <-1 spurious map data