-
Notifications
You must be signed in to change notification settings - Fork 37
CustomArea
Sascha edited this page Sep 5, 2021
·
17 revisions
const boundaryCoordinates = "-3975,2280,-1930,4575"; // Example values
const numberOfCleanings = 1;
vacbot.run("CustomArea", "start", boundaryCoordinates, numberOfCleanings);
vacbot.customArea(boundaryCoordinates, numberOfCleanings); // version >= 0.6.2
-
Install the library via GitHub and prepare the example apps
-
Start the app for retrieving map related info:
node ./mapInfos.js | grep 'Last used area values'
-
Start a custom cleaning from mobile app
-
Then the coordinates are output in the log. For example:
LastUsedAreaValues: -4498.000000,-1935.000000,-2814.000000,-3412.000000
- Repeat step 3 for more custom areas
node ./mapInfos.js
If you want to retrieve all information you have to install the node-canvas library
Table of contents