|
This patch adds the mobility-service-interface (RoutesMobilityModel)[1,2] module to ns-3.
The mobility-service-interface generates realistic mobility traces by querying the Google Maps APIs to request directions information between two real world locations.
The information obtained from these APIs is then parsed into ns3::Waypoints, that are then used with the ns3::WaypointMobilityModel, thus generating mobility based on real world routes.
More information on this module can be found on the wiki[2] and the module documentation.
This module features:
* Simple mobility generation for a node
* Automatic mobility generation for node containers
* Generation of mobility traces using local XML response files
One test was developed, to test for the conversion of the WSG84 coordinates to Cartesian coordinates, the time placement of the ns3::Waypoints and the polyline conversion algorithm.
Three examples illustrate typical uses for this module
* routes-mobility-example.cc
* routes-mobility-automatic-example.cc
* routes-mobility-offline-example.cc
A Google Maps API key must be created in order to use this module. Information on how to create a Google Maps API key is on the module's sphinx documentation.
The API key must be placed in the file src/mobility-service-interface/conf/api-key.txt
This module depends on three third party libraries, that need to be installed in order to use it:
* GeographicLib
* Xerces-C++
* curlpp
[1] - http://www.cister.isep.ipp.pt/docs/routesmobilitymodel__easy_realistic_mobility_simulation_using_external_information_services/1060/attach.pdf
[2] - https://www.nsnam.org/wiki/RoutesMobilityModel
[3] - https://bitbucket.org/TiagoCerqueira/routesmobilitymodel/overview
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+4546 lines, -0 lines) |
Patch |
 |
M |
doc/models/Makefile
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/doc/figures/ChooseRouteAutomaticSD.pdf
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/doc/figures/ChooseRouteBaseSD.pdf
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/doc/figures/MobilityServiceClassDiagram.pdf
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/doc/figures/MobilityServiceUC.pdf
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/doc/figures/MobilityTraceExample.pdf
|
View
|
|
Binary file |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/doc/mobility-service-interface.rst
|
View
|
|
1 chunk |
+560 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/examples/routes-mobility-automatic-example.cc
|
View
|
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/examples/routes-mobility-example.cc
|
View
|
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/examples/routes-mobility-offline-example.cc
|
View
|
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/examples/wscript
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/helper/routes-mobility-helper.h
|
View
|
|
1 chunk |
+269 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/helper/routes-mobility-helper.cc
|
View
|
|
1 chunk |
+389 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/directions-api-connect.h
|
View
|
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/google-maps-api-connect.h
|
View
|
|
1 chunk |
+150 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/google-maps-api-connect.cc
|
View
|
|
1 chunk |
+212 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/google-maps-decoder.h
|
View
|
|
1 chunk |
+129 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/google-maps-decoder.cc
|
View
|
|
1 chunk |
+277 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/google-maps-places-api-connect.h
|
View
|
|
1 chunk |
+121 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/google-maps-places-api-connect.cc
|
View
|
|
1 chunk |
+184 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/leg.h
|
View
|
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/leg.cc
|
View
|
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/place.h
|
View
|
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/place.cc
|
View
|
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/places-api-connect.h
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/point.h
|
View
|
|
1 chunk |
+136 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/point.cc
|
View
|
|
1 chunk |
+144 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/sax-handler.h
|
View
|
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/sax-handler.cc
|
View
|
|
1 chunk |
+200 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/sax-places-handler.h
|
View
|
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/sax-places-handler.cc
|
View
|
|
1 chunk |
+201 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/step.h
|
View
|
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/model/step.cc
|
View
|
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/test/routes-mobility-model-test.cc
|
View
|
|
1 chunk |
+258 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/test/routes-mobility-model-xml-test.xml
|
View
|
|
1 chunk |
+183 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/mobility-service-interface/wscript
|
View
|
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
Total messages: 1
|