Repository navigation
accuracy_check_tool
Daisuke Sato edited this page Oct 19, 2018
·
7 revisions
This is too old
| Localization Mode | Evaluation Mode | Description |
|---|---|---|
| 1D | Stateless | tool |
| 1D | Stateful | N/A |
| 1D-PDR | Stateless | no plan |
| 2D(-PDR) | Stateless | no plan |
| 1D-PDR | Stateful | beta *1 |
| 2D(-PDR) | Stateful | beta *1 |
- Stateless: No state about the previous location, pose, observation, and so on
- Stateful: Depends on the previous location, pose, observation, and so on
- outputs location (pose) per 0.1 sec for a log input and training data
| Localization Mode | Train Data | Input |
|---|---|---|
| 1D-PDR | Sampling data, beacon location, map image | NavCog log |
| 2D(-PDR) | Sampling data, beacon location, map image] | NavCog log |
- blelocpp/tools/LogReplay
- check readme.txt in that folder
Options for NavCog log play
-h show this help
-t trainingDataFile set training data file (long csv format)
-s indicates <trainingDataFile> is in short csv format
-f indicates <trainingDataFile> is in feet unit
-b beaconDataFile set beacon data file
-m mapImageFile set map image file (PNG). Map image is treated as 8 pixel per meter.
-l logFile set NavCog log file
-1 starty,endy set 1D-PDR mode and the start/end point. specify like -1 0,9
-o outputFile set output file
Example
$ LogReplay -t train.txt -b beacon.csv -m map.png -l navcog.log -o out.txt
- use "-1 starty,endy" option (see more details to specify an edge
- training data file is in format generated by this procedure
- you have to specify -sf option because this file is in short csv format and in feet.
- beacon.csv can be generated by NavCog MapEditor Beacons Tab
Example for 1D-PDR
$ LogReplay -sft train.txt -b beacons.csv -m map.png -l navcog.log -1 9,60 -o out.txt
$open ble-cpp/localization-library/localization-library.xcodeproj- ~~Run localization-library-logplay scheme on Xcode with adding the following five command line options to
Arguments Passed on Launch drop-down in Arguments tub.-t TRAINING_DATA_CSV_PATH-b BEACON_POSITION_CSV_PATH-m MAP_IMAGE_PATH-l NAVCOG_LOG_FILE_PATH-o RESULT_OUTPUT_FILE_PATH
Localization results are saved to RESULT_OUTPUT_FILE_PATH.
*Currently, the log player only supports simple map data on which a user does not need to define coordinate systems.