User Tools

Site Tools


iapi:vacuumsystem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
iapi:vacuumsystem [2013/10/20 14:12] kyrahabattoiriapi:vacuumsystem [2022/03/23 17:48] (current) – More typos kyrahabattoir
Line 1: Line 1:
-The KDC vacuum system simulate the chore activity of floor vacuuming and the progressive degradation of it's cleaning status.+The KDC vacuum system simulates the chore activity of floor vacuuming and the progressive degradation of its cleanlyness status.
 It is composed of the following objects. It is composed of the following objects.
-====== KDC Vacuum charger ====== +====== The vacuum charger ====== 
-The vacuum charger is the home of your KDC vacuum cleaner, place it wherever you wish to store your vacuum cleaner when not in use. Clicking it will either create a fresh vacuum on the charger or will indicate you where the vacuum currently is (secondlife coordinates) and tell you who is currently using itif anyone.+{{:iapi:charger.png?nolink&100 |}}The vacuum charger is the home of your KDC vacuum cleaner, place it wherever you wish to store your vacuum cleaner when not in use. Clicking it will either create a fresh vacuum on the charger or will indicate you where the vacuum is located (SecondLife coordinates) and tell you who is currently using it if anyone.
  
 If the vacuum cannot be found in the region, a new copy will automatically be rezzed on click and loaded with the last known data. If the vacuum cannot be found in the region, a new copy will automatically be rezzed on click and loaded with the last known data.
  
-====== KDC Vacuum cleaner ====== +**This is the object responsible for spawning the actual vacuum cleaner, you won't find the vacuum itself in the delivery box, simply rez the charger, place it and click it to get the vacuum cleaner spawned.**
-The vacuum cleaner can be picked up by clicking it and accepting the secondlife permission to attach. It can also be dropped on the spot by simply detaching it. To put it back on it'charger, simple detach it in close proximity of the charger.+
  
-When worn, the KDC vacuum cleaner can be turned on and off by a single clickas long as long as it has some battery charge and dust reservoir capacity left.+====== The vacuum cleaner ====== 
 +{{:iapi:vac.png?nolink&100 |}}The vacuum cleaner can be picked up by clicking it and accepting the SecondLife permission to attach. It can also be dropped on the spot by simply detaching it. To put it back on its chargersimply detach it in close proximity to the charger.
  
-If you wish to adjust it's "in hand" positionyou can do so like with any SecondLife attachment. In order to save it, you have to briefly turn on the vacuum cleaner.+When worna menu can be open by clicking the vacuum cleaner, it will allow you to toggle it on and offas well as dropping it if your client doesn't allow you to simply detach it.
  
-====== KDC Trashcan (infinite) ====== +The vacuum will turn on as long as it has some battery charge and the dust reservoir isn't full.
-This is where you can empty the KDC vacuum cleaner's dust reservoir. When wearing the vacuum cleaner, simply get into close proximity of the Trashcan and click it. After a brief animation the dust reservoir should be empty. +
-This specific trashcan model is marked as "infinite" because it doesn'have a capacity of it's own. A future product may expand domestic waste treatment and offer a compatible trashcan which may include a limited capacity and the disposal of full trashbags.+
  
-====== KDC Room manager ====== +You can check the battery capacity and dust reservoir on the bar indicators located on the handle. 
-The room manager is the heart of the Vacuum System and allow you to define a vacuum-able area of floor. It also  allow to change various cleaning parameters. Ti contains progress bar which indicates the room's current state.+ 
 +If you wish to adjust its "in hand" position, you can do so like with any SecondLife attachment. In order to save it, you have to briefly turn on the vacuum cleaner. 
 + 
 +====== The trashcan ====== 
 +{{:iapi:trashcan.png?nolink&100 |}}This is where you can empty the KDC vacuum cleaner's dust reservoir. When wearing the vacuum cleaner, simply get into close proximity of the Trashcan and click it. After a brief animation, the dust reservoir should be empty. 
 +This specific trashcan model is marked as "infinite" because it doesn't have a capacity of its own. A future product may expand domestic waste treatment and offer a compatible trashcan which may include a limited capacity and the disposal of full trash bags. 
 + 
 +====== The VacuTrack ====== 
 +{{:iapi:vacutrack.png?nolink |}}The VacuTrack is the heart of the Vacuum System and allows you to define a vacuum-able area of the floor. It also allows changing various cleaning parameters. 
 + 
 +The circular light can go through 3 distinct stages: 
 +  * Fixed color: This means that the VacuTrack is currently idle. 
 +  * Two LEDs spinning: Tracking mode, vacuum is currently in use. 
 +  * Four LEDs spinning slowly: Decay mode, when the room cleanliness is degrading. 
 + 
 +Note: You can edit the VacuTrack and change the color of the casing and the ring to your liking, it will not affect its function.
  
 ===== Quick setup instructions ===== ===== Quick setup instructions =====
-  - Pick a nice spot on the wall of the room you wish to setupnot in the way but not hard to reach either. +{{ :iapi:marker.png?200|}} 
-  - Right click/edit the manager, change the description field to your room name(room names have to be unique) +  - Pick a nice spot on the wall of the room you wish to set upAnd rez/install the VacuTrack there
-  - Left click the room manager to bring up it'owner menu and select the option "Edit room"+  - Left-click the VacuTrack to bring up its owner menu and select the option "Edit room"
-  - Once the manager is in room edit mode, click on the option "New Marker". This will create a room marker where you are standing. +  - Once the VacuTrack is in room edit mode, click on the option "New Marker". This will create a room marker where you are standing. (It looks like a red cylinder) 
-  - Change the room marker's description to match the one used by the room manager. +  - Edit your room marker to cover as much as possible of the room, from the floor to about avatar eye level. You can change the size of the marker, it's positionand height as long as it remains a perfect circle. Do not rotate it or change its shape.
-  - Edit your room marker to cover as much as possible of the room, from the floor to about eye level. You can change the size of the marker, it's position and height as long as it remains a perfect circle. Do not rotate it or change it'shape.+
   - Add more markers as needed to cover the entire room, no need to be extremely precise. (you can safely use shift drag to duplicate the markers)   - Add more markers as needed to cover the entire room, no need to be extremely precise. (you can safely use shift drag to duplicate the markers)
-  - Once you are satisfied with the room coverage, click each marker, select the "Save" option and confirm. The markers will take a few seconds to disappear and the room manager will confirm that the data was successfully received+  - Once you are satisfied with the room coverage, click each marker, select the "Save" option and confirm. The markers will take a few seconds to disappear and the VacuTrack will confirm that a new area has been added
-  - Open the room manager menu and click the option "Stop editing".+  - Open the VacuTrack menu and click the option "Stop editing"
 +  - The VacuTrack will output its unique ID in local chat, write it down somewhere as you will need it later.
   - Congratulations, you just defined your first room! It now needs to be fully vacuumed to establish the base cleaning data.   - Congratulations, you just defined your first room! It now needs to be fully vacuumed to establish the base cleaning data.
  
-===== Other parameters ===== +===== The Configuration notecard ===== 
-The room manager has a few extra settings that will allow you to further tweak the system: +The VacuTrack has a few extra settings that will allow you to further tweak the system, they can be changed by editing the configuration notecard in the VacuTrack inventory. 
-==== Node size ==== +<code> 
-When room is being vacuumed, the vacuum cleaner will attempt to insert nodes on the room surface that mark an area as "clean", two nodes cannot intersectThis option allow you to define how big a node is. The default is 1 meter across. You can increase the size of the nodes to make the room easier to clean and require less precision+//All lines starting with "//" are comments and will be ignored. 
-==== Decay time ==== + 
-This setting let you define how often a room "node" will become dirty again, the total gives you an estimation of how long it will take for the room to go from fully clean, to fully dirty. The total will only be accurate if the room was fully vacuumed at least once+//How much dirt is picked up PER node by a cleaning implement. 
-==== Dirt Volume ==== +//minimum value0.1 
-This setting will let you define how much dirt is sent to the vacuum cleaner for each cleaned node, the default is two units of dirt per node.+DIRT_PICKUP_RATE=2.0 
 + 
 +//This is how often a node becomes dirty. 
 +//minimum value: 60 
 +DIRT_REGENERATION_RATE=120.0 
 + 
 +//This is the size of each node, smaller nodes mean a more thorough vacuuming is required. 
 +//minimum value: 1.0 
 +DIRT_NODE_SIZE=1.0 
 +</code> 
 +====== (optional)The Monitoring panel ======= 
 +{{:iapi:room_manager.png?nolink&100 |}} 
 +The monitoring panel allows you to track multiple chores in single location. It can display up to 3 progress bars with their own label and can add multiple chores into a single bar to provide a "globalstatus. 
 + 
 +The progress bar will go from green to red as the values get lower. 
 + 
 +It is configured through the "monitoring.config" notecard located in its inventory: 
 +<code> 
 +//Every line starting with "//" is a comment and 
 +//will be ignored 
 + 
 +//Uncomment this line to get the monitoring panel's UUID in local chat. 
 +//SHOW_UUID 
 + 
 +//Declares that we are creating a new entry. 
 +//You can have up to 3 on this monitoring panel. 
 +PANEL_START 
 + 
 +//This is the label that will be used for the current entry, used by other devices for filtering 
 +LABEL=MY PANEL 
 +//This is the name of the texture to display for this entry on the panel. 
 +It has to be in the object's inventory
 +DISPLAY=vacuuming.texture 
 + 
 +//This allows us to filter which labels we will be gathering, ignored if it is unset or set to "*" 
 +//Any label on the tracked objects that doesn't pass the filter will be ignored. 
 +//Multiple entries, comma separated 
 +FILTER=* 
 + 
 +//One or more of these lines are the IAPI compatible objects that are tracked for this entry. 
 +//You can have as many of these lines as you want. 
 +TRACK_KEY=put_the_key_to_track_here 
 + 
 + 
 +//Example for a second entry: 
 + 
 +//PANEL_START 
 +//DISPLAY=sometexture.texture 
 +//LABEL=MY OTHER PANEL 
 +//FILTER=* 
 +//TRACK_KEY=put_the_key_to_track_here 
 +</code> 
 +====== (optional)The floor surfaces ======= 
 +A floor surface script, configuration file, and a set of textures are provided. This will allow you to make set of prims to overlay over your vacuum-able room and to make it automatically fade in and out based on the room's dustiness. 
 + 
 +Its configuration is very similar to the monitoring panel: 
 +<code> 
 +//IMPORTANT// 
 +//If you need more than this prim to represent a complex room surface, you don't have to  
 +//duplicate this script/config in each and every one of them, simply link all the extra surfaces. 
 +//to this onethe script will set the alpha of all the child prims at once. 
 + 
 +//Uncomment this line to get the monitoring panel's UUID in local chat. 
 +//SHOW_UUID 
 + 
 +//The minimum and maximum alpha values for the dust cover where 0 is fully transparent and 100 is fully visible. 
 +MIN_ALPHA=0 
 +MAX_ALPHA=100 
 + 
 +//This is the label that will be used for the current entry, used by other devices for filtering 
 +LABEL=DUST 
 + 
 +//This allows us to filter which labels we will be gathering, ignored if it is unset or set to "*" 
 +//Any label on the tracked objects that doesn't pass the filter will be ignored. 
 +//Multiple entries, comma-separated 
 +FILTER=* 
 + 
 +//One or more of these lines are the IAPI compatible objects that are tracked by the floor surface. 
 +//You can have as many of these lines as you want. 
 +TRACK_KEY=put_the_key_to_track_here 
 +</code> 
 +You can use any prims and link them with the floor surface, as long as the floor surface remains the root prim, it will set the alpha value for all child prims. Several dust textures are provided for your convenience. 
 + 
 +NOTE: floor surfaces and monitoring panels also output IAPI compatible tracking data, so you can actually chain them in a bigger system, ex: multiple floor surfaces are tracked by a monitoring panel, which is tracked by a global monitoring panel that adds up the results for every room. 
 + 
 +====== How to use the vacuum cleaner ====== 
 +  * Rez the vacuum charger where you want it to be when unused. 
 +  * Click the vacuum charger to make it create a fresh vacuum cleaner
 +  * In order to function, its batteries need to contain some charge, to charge the vacuum cleaner, leave it on its charger for a few minutes. 
 +  * Once the vacuum cleaner is turned onsimply walk around the room while making pauses every few steps. 
 +  * To fully vacuum the room you will have to pass the vacuum head on the surface of the entire room. Making stripes help. 
 +  * The vacuum cleaner's "pickup area" is actually 1 meter in front of you, where the head sits. 
 +  * You can cover more ground by vacuuming under furnitures, simply walk up to them to get the vacuum head under it. 
 +  * If the vacuum cleaner dust bucket is full, it will turn itself off, simply walk up to a compatible trashcan and click it to empty the dust bucket.
iapi/vacuumsystem.1382278323.txt.gz · Last modified: 2017/04/04 10:35 (external edit)