Matteo Cypriani
4a3fd2ac8a
[Positioner] Use Markdown in Doxygen comments
...
Fix some comments as well, and uniformise the use of @returns instead of
@return.
2013-06-03 17:46:10 -04:00
Matteo Cypriani
f352295e9d
[Positioner] Get rid of Boost's unordered_*
...
Stop using Boost for unordered_set, unordered_map and hashes.
2013-06-03 17:46:10 -04:00
Matteo Cypriani
081c559fc5
[Positioner] Fix a few small issues
...
Fix three minor performance issues signaled by cppcheck and a couple of
problems with Doxygen.
2013-06-03 17:46:10 -04:00
Matteo Cypriani
80fd5b287b
Update and centralise copyright information
2013-05-29 13:19:06 -04:00
Matteo Cypriani
6745274c94
[Positioner] Configuration::autocalibration_enabled()
...
Add Configuration::autocalibration_enabled() as a shortcut to test if
the autocalibration is enabled.
2013-05-17 16:54:57 -04:00
Matteo Cypriani
4650c229ff
[Positioner] Allow to generate a RP list
...
Change the positioning.generate-reference-points option to offer
multiple choices (false, mesh, list, both) and add the
positioning.generated-points-list to allow the user to specify a list of
reference points to generate.
2013-05-17 16:54:57 -04:00
Matteo Cypriani
8455dd0d74
Add copyright & license information
...
Add the file COPYRIGHT, the CeCILL license's text, and update the source
files' headers with the copyright and license information.
2012-11-03 14:52:33 +01:00
Matteo Cypriani
3640bcf0ba
[Positioner] replay option is boolean
...
Fixes the test of the replay option: it is a boolean, not a
configured/not configured option.
2012-06-08 19:27:49 +02:00
Matteo Cypriani
f8f6ca4660
[Positioner] CR timeout depends on replay mode
...
In Stock::delete_calibration_requests_older_than(), test if we run in
replay mode or not.
2012-06-08 14:41:50 +02:00
Matteo Cypriani
7da5196627
[Positioner] CR timeout computed with time_received
...
In Stock::delete_calibration_requests_older_than(), use
request.time_received instead of request.time_sent to compute the
timeout.
2012-06-01 18:49:39 +02:00
Matteo Cypriani
569cdefd94
[Positioner] Autocalibration & Stock: assertion
2012-05-31 19:47:02 +02:00
Matteo Cypriani
f54426c3bb
[Positioner] Fix calibration-requests-timeout
...
Fixes Stock::delete_calibration_requests_older_than(), by calling the
new function ReferencePoint::delete_request().
2012-05-31 19:46:57 +02:00
Matteo Cypriani
98085172de
[Positioner] Cosmetics (InputCSV & Stock)
2012-05-26 12:24:00 +02:00
Matteo Cypriani
7a631e3962
[Positioner] Add class Autocalibration
...
The new class Autocalibration contains the code from the former huge
function Stock::generate_reference_point(). It is refactored a bit, but
still needs work. The function Stock::generate_reference_points() stays
in the Stock class for now.
2012-05-02 17:32:00 +02:00
Matteo Cypriani
579adbee1c
[Positioner] Point3D: angle() becomes angle_2d()
2012-05-02 17:32:00 +02:00
Matteo Cypriani
1704ebc6b1
[Positioner] "similarity" instead of "distance"
...
Standardise the use of the term "similarity" instead of
"(ss_square_)distance" in the functions' and variables' names.
2012-05-02 17:32:00 +02:00
Matteo Cypriani
60626196d5
[Positioner] Option generate-single-packet-RPs
...
The new option positioning.generate-single-packet-reference-points
allows either to generate one single packet in each generated reference
point, or try to match the real requests by generating packets
independently.
2012-05-02 17:32:00 +02:00
Matteo Cypriani
4c5ad300c3
[Positioner] Stock::generate_RP(): fix update mobile
...
In generate_reference_point(), update the mobile's attributes *before*
to test if the current AP should be skipped.
2012-05-02 17:32:00 +02:00
Matteo Cypriani
fb9d2d0cef
[Positioner] Stock::generate_RP(): cosmetic changes
2012-05-02 17:32:00 +02:00
Matteo Cypriani
94b9cf281f
[Positioner] Autocalibration: handle levels
...
To generate the reference points, use only the APs at the same level as
the virtual mobile. This is very basic for now, please refer to the TODO
update for more details on what should be done.
2012-02-08 10:52:40 +01:00
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
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
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
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
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