Commit Graph

212 Commits

Author SHA1 Message Date
Matteo Cypriani 427c88fd99 [Positioner] Autocalib.: weight angle/coverage
In Stock::generate_reference_point(), the coverage percentage is now
used along the angle to select the better APs.
2012-02-08 10:52:39 +01:00
Matteo Cypriani 5f26d7a28e [Positioner] AP::received_calibration…(): percents
AccessPoint::received_calibration_from_ap() now returns a percentage of
the received packets (instead of a boolean).
2012-02-08 10:52:39 +01:00
Matteo Cypriani a2629dd5a9 [Positioner] Fix Request::get_measurement(s)(mac)
Request::get_measurements(mac) is renamed Request::get_measurement(mac).
A Request can't store more than one measurement per AP, so it was a
mistake to return a vector. The new function returns a single pointer.
2012-02-08 10:52:39 +01:00
Matteo Cypriani 3cbe9c2df5 [Positioner] Option calibration-requests-timeout
Introduce the option positioning.calibration-requests-timeout, to avoid
keeping the old calibration requests.
2012-02-08 10:52:39 +01:00
Matteo Cypriani 7a6a85ad19 [Positioner] Add Configuration::uint_value() 2012-02-08 10:52:39 +01:00
Matteo Cypriani 35265e75c2 [Positioner] Timestamp: elapsed() & owl_timestamp()
New functions added in Timestamp:
  - elapsed()
  - elapsed(Timestamp)
  - operator owl_imestamp()
2012-02-08 10:52:39 +01:00
Matteo Cypriani 9c1fc429c9 [Positioner] Autocalibration: APs in coverage
In Stock::generate_reference_point(), we now select an AP only if it is
in coverage of the reference AP.
2012-02-08 10:52:39 +01:00
Matteo Cypriani d683c32ce5 [Positioner] Add Request::get_measurements(mac) 2012-02-08 10:52:39 +01:00
Matteo Cypriani 3b1bbb8b5c [Positioner] ReferencePoint::get_requests(mac) public
ReferencePoint::get_requests(mac_transmitter) is now public.
2012-02-08 10:52:39 +01:00
Matteo Cypriani 1533852a1f [Positioner] Handle the packet numbering
In Measurement, the SSs are now stored in a map (instead of a vector),
along with their packet IDs.
2012-02-08 10:52:39 +01:00
Matteo Cypriani ca249457be Makefiles: BSD-specific -I/-L 2012-02-07 17:50:19 +01:00
Matteo Cypriani d5e2c975ae Rename Positioning -> Positioner
To be consistent with the other modules, the positioning server must be
called OwlPS Positioner instead of Positioning, and the executable
owlps-positionerd (even if the daemon mode is not implemented yet).
That's a big commit for a tiny change.
2012-02-06 17:48:43 +01:00