Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Issue 265730044: Code review for the mobility-service-interface

Can't Edit
Can't Publish+Mail
Start Review
Created:
3 years, 10 months ago by tiago.cerqueira
Modified:
3 years, 10 months ago
Reviewers:
CC:
ns-3-reviews_googlegroups.com
Visibility:
Public.

Description

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

Patch Set 1 : #

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

Messages

Total messages: 1
tiago.cerqueira
3 years, 10 months ago (2015-08-27 23:41:41 UTC) #1
Hi,
This patch adds the mobility-service-interface (RoutesMobilityModel), discussed
at WNS3 2015.
The module was developed under the SummerMentorshipProgram 2014, mentored by Tom
Henderson and Scott Carpenter, and this issue improves on the previous code
(issue #176430044), with bug fixes and several added features.

I also made some changes to doc/models/Makefile to include the images for the
sphinx documentation

I'm open to any questions you might have on this module!

Best regards,
Tiago Cerqueira
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b