Activities/Distance

From Sugar Labs
Jump to navigation Jump to search

Distance

Distance (formally known as Acoustic Tape Measure) determines the physical distance between two computers by measuring how long it takes sound pulses to travel between them.

The Distance activity is available for download from [1]. The source is available at [2].

Distance.png

Using the Distance activity

You need two laptops in order to use this activity.

Steps:

  1. Launch the Distance activity on one of the computers by clicking on the icon in the Home view.
  2. Share the activity from the Share icon on the activity toolbar (or send an invitation to the another computer).
  3. Launch the Distance activity on the second computer by clicking on the icon in the Neighborhood view (or Invitation icon).
  4. Click on the "Begin Measuring Distance" button found near the top of the activity view on both computers.
  5. The first computer will send an audio pulse; the second computer will respond with an audio pulse of its own; then both computers will calculate and display the distance between them (by default, the measurement is displayed in meters).
  6. This process (Step 5) will repeat until you click on the "Stop Measuring Distance" button or you exit the activity.

Notes:

  • Try not to move the laptops while they are taking measurements as it will result in a bad measurement. You can move them between measurements.
  • If the "Begin Measuring Distance" button does not activate, try relaunching the Distance activity again on the second laptop from the Neighborhood view.
Distance-adjust.png
  • Atmospheric conditions can impact the accuracy of the measurement; there are overrides to the default settings on the Atmosphere toolbar.
Distance-units.png
  • The units of measure can be changed by choosing a unit from the combo box (meters, centimeters, inches, feet, yards, or custom units) on the Customize toolbar. If you chose "custom units", the current distance between the two laptops will be used as a metric. For example, you could measure the height of a student, Pedro, and then select that distance to define a new unit of measure, the "Pedro" (See [3]).
Distance-edit.png
  • The Copy button found on the Edit toolbar can be used to copy measurements to the toolbar.
  • The Paste button found on the Edit toolbar can be used to paste a new measurement unit into the activity. The scale of the measurement units should be specified in terms of meters, e.g., 39.37 for specifying inches.


For more information about the internals, please see Measurement Algorithm

For some ideas on how to use Distance, please see Ideas for use

Reporting problems

You can file bug reports at [4].

Credits

Distance was written by Benjamin Schwartz. It is maintained by Rafael Ortiz and Walter Bender

Just for fun

When he heard about the feature in the Distance activity that allows one to define new metrics on the fly, Chris Leonard sent these units for consideration:

New measures.

  1. Ratio of an igloo's circumference to its diameter = Eskimo Pi
  2. 2000 pounds of Chinese soup = Won Ton
  3. 1 millionth of a mouthwash = 1 microscope
  4. Time between slipping on a peel and smacking the pavement = 1 bananosecond
  5. Weight an evangelist carries with God = 1 billigram
  6. Time it takes to sail 220 yards at 1 nautical mile per hour = Knotfurlong
  7. 16.5 feet in theTwilight Zone = 1 Rod Sterling
  8. Half of a large intestine = 1 semicolon
  9. 1,000,000 aches = 1 megahurtz
  10. Basic unit of laryngitis = 1 hoarsepower
  11. Shortest distance between two jokes = A straight line
  12. 453.6 graham crackers = 1 pound cake
  13. 1 million-million microphones = 1 megaphone
  14. 2 million bicycles = 2 megacycles
  15. 365.25 days = 1 unicycle
  16. 2000 mockingbirds = 2 kilomockingbirds
  17. 52 cards = 1 decacards
  18. 1 kilogram of falling figs = 1 Fig Newton
  19. 1000 milliliters of wet socks = 1 literhosen
  20. 1 millionth of a fish = 1 microfiche
  21. 1 trillion pins = 1 terrapin
  22. 10 rations = 1 decoration
  23. 100 rations = 1 C-ration
  24. 2 monograms = 1 diagram
  25. 4 nickels = 2 paradigms
  26. 2.4 statute miles of intravenous surgical tubing at Yale University Hospital = 1 IV League
  27. 100 Senators = Not 1 decision