1. A system, comprising: a plurality of devices each including a sensor and each configured to communicate with other devices; and a controller configured to provide command information to the plurality of devices, wherein in the command information specifies: a first mode of operation in which the plurality of devices transmit communication signals, and wherein a given device modifies a transmitting strength of a communication signal transmitted by the given device from an initial strength to a final strength in accordance with communication signals received by the given device from one or more other devices belonging to the plurality of devices; and a second mode of operation in which a position of an object is determined, wherein the plurality of devices transmit communication signals, and wherein the given device dynamically adjusts a transmitting strength of the communication signal transmitted by the given device in accordance with measurements performed by the sensor in the given device and communication signals received by the given device from one or more other devices belonging to the plurality of devices wherein during the second mode of operation, the position of the object is determined using a supervised learning technique selected from the group consisting of a support vector machine technique, a classification and regression tree technique, and a Bayesian classifier.