Matteo Cypriani
6160eb9c98
[UDP-HTTP] Makefile: fix static
...
Add missing -pthread.
2011-08-23 19:58:49 +02:00
Matteo Cypriani
3626a21f99
[lib-result] Add simplified CSV format functions
...
Add functions owl_result_to_csv_simple() and
owl_algorithm_result_to_csv_simple(), that convert an owl_result and an
owl_algorithm_result to a CSV string, in a simplified format.
2011-08-23 19:58:49 +02:00
Matteo Cypriani
e77ad8fb0f
Add owlps-udp-to-http
...
This new module allows to get the results sent by the positioning
server with HTTP queries.
See the heading comment in owlps-udp-to-http.c.
2011-08-23 19:58:49 +02:00
Matteo Cypriani
442c5a4601
[lib] .h all is prefixed with OWL_ or owl_
...
All the types, defines, etc. are now prefixed with "OWL_" or "owl_".
TRUE and FALSE become owl_true and owl_false.
2011-08-22 22:43:35 +02:00
Matteo Cypriani
1d6016a3ce
[lib] Move listener code to owlps-listener.h (bis)
...
Move the last piece of listener-specific code from owlps.h to
owlps-listener.h.
2011-08-22 22:43:35 +02:00
Matteo Cypriani
d566187f42
[Client] Fix "blinking" coordinates in flood mode
...
In calibration flood mode, the coordinates were "blinking" (correct
values, then 0, etc.). This is now fixed.
2011-08-22 22:43:35 +02:00
Matteo Cypriani
b68cb179a9
[Client] Handle signals
2011-08-22 22:43:35 +02:00
Matteo Cypriani
8327357290
Makefiles: allow to enable -g easily
...
Add a commented line DEBUG=-g in each Makefile.
2011-08-22 22:43:35 +02:00
Matteo Cypriani
462298d6e8
[Listener] Set the signal flags to 0
2011-08-20 20:00:39 +02:00
Matteo Cypriani
626242b5e2
[lib-result] example: handle signals
...
Handle signals in the sample program owlps-resultreader-udp.
2011-08-20 20:00:39 +02:00
Matteo Cypriani
6fa903b143
[lib-result] Add owl_fill_algorithm_result()
...
Create owl_fill_algorithm_result() from owl_fill_result().
2011-08-20 20:00:39 +02:00
Matteo Cypriani
a7ec779231
[lib-result] owl_receive_position(): return a pointer
...
Return a pointer instead of using a result argument.
2011-08-20 20:00:39 +02:00
Matteo Cypriani
8da063b597
[lib-result] Add {algorithm,}result_to_csv()
...
Add owl_result_to_csv() and owl_algorithm_result_to_csv(), that
allow to get an owl_result or owl_algorithm_result as a CSV string.
2011-08-20 20:00:39 +02:00
Matteo Cypriani
44055929b1
[lib-result] Update OWL_CSV_RESULT_STRLEN
...
Add OWL_CSV_RESULT_REQUEST_STRLEN & OWL_CSV_ALGORITHM_RESULT_STRLEN.
2011-08-20 20:00:39 +02:00
Matteo Cypriani
c7ba92cef9
[lib-result] fprint_*(): const pointers & asserts
...
owl_fprint_*():
- Mark pointer arguments as const.
- Rename main argument "src".
- Use assertion to check the source.
2011-08-20 20:00:39 +02:00
Matteo Cypriani
084daed33f
Add libowlps-resultreader-udp
...
This new library is to help external programs to receive and interpret
results sent by OwlPS Positioning through an UDP socket.
2011-08-20 20:00:39 +02:00
Matteo Cypriani
c61c4b3a22
[Positioning] UDP & TCPEvAAL: send '\0'
...
Send the final null character of the CSV string.
2011-08-18 21:36:42 +02:00
Matteo Cypriani
de74213102
[lib] Rename OWL_TIMESTAMP_STR_LEN OWL_TIMESTAMP_STRLEN
2011-08-18 14:02:17 +02:00
Matteo Cypriani
ac4dd87ef9
Use ++var instead of var++ whenever possible
2011-08-18 11:45:36 +02:00
Matteo Cypriani
3f328e0e69
[Positioning] CSV format: remove "Error" string
...
Result::to_csv() do not give a fixed "Error" string field before the
error value field any more.
Update comments to better document the CSV format.
2011-08-18 11:36:50 +02:00
Matteo Cypriani
ab8ad83e52
Add emacs mode command to each Makefile_atheros*
2011-08-18 11:05:45 +02:00
Matteo Cypriani
fb9d093d5a
[Listener] Add extract_radiotap_data()
...
Another refactoring step for read_packet().
2011-08-04 00:35:32 +02:00
Matteo Cypriani
4bae0c9b4e
[Listener] Add extract_calibration_data()
...
A first step in the long way of read_packet() refactoring.
2011-08-04 00:25:08 +02:00
Matteo Cypriani
ac3c7b4352
[lib] Move listener code to owlps-listener.h
...
Move listener-specific code (Radiotap fields' definition, etc.) from
owlps.h to owlps-listener.h.
2011-08-03 23:13:16 +02:00
Matteo Cypriani
2c887899b3
[Positioning] Fix FBCM with autocalibration
...
Regenerate Friis indexes at each call of the algorithm when
autocalibration is used (without this fix, FBCM given always the same
result autocalibration activated, because of the Friis indexes equal to
zero).
2011-08-01 20:41:14 +02:00
Matteo Cypriani
6167f664e8
[Positioning] Use AccessPoint::friis_constant_term()
...
Use AccessPoint::friis_constant_term() wherever possible.
Fix MultilaterationAlgorithm::make_constant_term() and
ReferencePoint::friis_indexes_for_ap(), where the AP's trx
power was used instead of the mobile's power.
2011-08-01 19:57:40 +02:00
Matteo Cypriani
dde917485a
[Positioning] Add AccessPoint::friis_constant_term()
2011-08-01 19:53:54 +02:00
Matteo Cypriani
d9adbc3f88
[Positioning] Fix InputMedium::fill_calibration_request_data()
...
The first test was logically wrong.
2011-08-01 18:24:39 +02:00
Matteo Cypriani
90f26261a2
[Positioning] InputMedium::fill_calibration_request_data()
...
Refactor some code of Input{CSV,UDPSocket}::fill_current_request() into
the new function InputMedium::fill_calibration_request_data().
2011-08-01 18:24:39 +02:00
Matteo Cypriani
a71dcfdcfe
[Positioning] InputMedium::get_next_request() non-virtual
...
Refactor some code of Input{CSV,UDPSocket}::get_next_request() into
InputMedium::get_next_request().
The medium-specific code must now be implemented in
fill_current_request().
2011-08-01 12:03:41 +02:00
Matteo Cypriani
2886d87ab6
Merge TODOs
...
Merge owlps-positioning/TODO into TODO.
2011-08-01 10:00:59 +02:00
Matteo Cypriani
e527b791ad
[Positioning] TODO: finish translation
2011-08-01 09:57:29 +02:00
Matteo Cypriani
bfc09fdbe6
[Positioning] Stock::in_which_area_is(): ref param
...
Fix a typo in the header of Stock::in_which_area_is() to pass the
argument as a reference.
2011-07-30 20:46:32 +02:00
Matteo Cypriani
141515b5db
[Positioning] operator=() return non-const reference
...
Change the return type of all operator=() from const reference to
non-const reference.
2011-07-30 20:46:32 +02:00
Matteo Cypriani
dcf425fce5
[Positioning] Stock::generate_reference_point()
...
Create the function Stock::generate_reference_point(Point3D) from
regenerate_reference_points().
2011-07-30 20:46:32 +02:00
Matteo Cypriani
4c9a3070ac
[Positioning] Stock::delete_non_ap_calibration_requests()
...
Create the function Stock::delete_non_ap_calibration_requests() from
regenerate_reference_points().
2011-07-30 20:46:32 +02:00
Matteo Cypriani
c0a179e34e
[Positioning] Result::to_csv(): include area
...
Add the area in which is the result's coordinate, after the error.
This changes the behaviour of OutputUDP and OutputCSV.
2011-07-30 20:46:32 +02:00
Matteo Cypriani
79ad31b351
[Positioning] .conf: UDP & TCPEvAAL output options
2011-07-30 20:46:32 +02:00
Matteo Cypriani
cd25c4ddcd
[Positioning] Add class OutputNetworkSocket
...
Factorise code of OutputUDPSocket and OutputTCPSocketEvAAL.
2011-07-30 20:46:32 +02:00
Matteo Cypriani
21c7f80345
[Positioning] Rename options minmax-* area-*
...
The options minmax-start and minmax-stop are also used by the
autocalibration process to know in which area reference points must be
generated. Therefore these options are renamed area-start and area-stop.
2011-07-30 19:53:13 +02:00
Matteo Cypriani
bf3a6eb661
[Positioning] Rename owlps-positioning.cfg -> .conf
...
Rename the sample configuration file to have the standard UNIX suffix.
Add a Vim modeline to keep the "Windows .ini" syntax.
2011-07-30 19:53:13 +02:00
Matteo Cypriani
1a5fab9b99
Update TODOs
2011-07-30 19:49:46 +02:00
Matteo Cypriani
a9f4750f34
[Positioning] Split option generated-meshing-grain
...
Split the option positioning.generated-meshing-grain in two:
positioning.generated-meshing-grain-x and
positioning.generated-meshing-grain-y.
2011-07-30 19:49:42 +02:00
Matteo Cypriani
0da98cdb05
[Positioning] Opt. radar-ignore-ap-reference-points
...
Add the option positioning.radar-ignore-ap-reference-points, to be able
to select only generated reference points.
2011-07-30 19:48:20 +02:00
Matteo Cypriani
089c8e3f8f
[Positioning] Result: operator<< displays area
...
If the result point is in a known area, the area's name is displayed
(this changes the output of OutputTerminal).
2011-07-29 23:02:26 +02:00
Matteo Cypriani
8295666178
[Positioning] Add Result::in_which_area()
2011-07-29 23:02:26 +02:00
Matteo Cypriani
4675ac9f48
[Positioning] Stock::store_CR() returns the CR
...
Stock::store_calibration_request() now returns the stored/found
calibration request.
2011-07-29 23:02:26 +02:00
Matteo Cypriani
a1dd6d90d8
[Positioning] Fix RP generation with >3 APs
...
When selecting the 2 reference APs, skip the APs that do not have (yet)
an associated reference point.
2011-07-29 23:02:26 +02:00
Matteo Cypriani
84acee629c
[Positioning] Add Stock::reference_point_exists()
2011-07-29 23:02:26 +02:00
Matteo Cypriani
c11e33fd0b
[Positioning] Add missing #include <iostream>
2011-07-29 23:02:26 +02:00